duplicity in orders

Questions about MultiCharts and user contributed studies.
pablo gonzalez vidal
Posts: 36
Joined: 25 Aug 2007
Has thanked: 6 times
Been thanked: 1 time

duplicity in orders

Postby pablo gonzalez vidal » 16 Jan 2012

Hi,

When there are two exit orders at a time in a strategy, instead of closing the position is reversed as the two orders are executed. In the previous version, MC 6, when running one of the other two orders immediately nullified.

Could you fix this bug?

Thanks

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: duplicity in orders

Postby Henry MultiСharts » 17 Jan 2012

Please provide additional information on the subject:
-what is your version of MultiCharts
-who is your data feed and broker
-what symbol and resolution are you trading
-a sample script for reproducing this behaviour

pablo gonzalez vidal
Posts: 36
Joined: 25 Aug 2007
Has thanked: 6 times
Been thanked: 1 time

Re: duplicity in orders

Postby pablo gonzalez vidal » 20 Jan 2012

Hi,

It happened with the previous version of MC 7.4. Now I'm running MC 7.4 build 4953 and don't know if the bug's been fixed.

I work with two brokers (PFG and IB) and both have the same problem.

An example of duplicity in execution could be:

If openpositionprofit<x then
sell next bar at market;

if c crosses under y then
sell next bar at market;


When the two conditions happen in the same bar the long position must be closed not reversed.

It worked fine in MC 6. I don't know the reason why it doesn't work in MC 7.4. It's a simple thing.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: duplicity in orders

Postby Henry MultiСharts » 24 Jan 2012

Hello Pablo,

Please provide additional details on reproducing the issue:
1) Screenshot of MultiCharts->Format->Strategy properties->Auto trading tab
2) Screenshot of MultiCharts->File->Broker profiles->Manage->IB->Edit->Settings tab.
3) Chart screenshot demonstrating the reverse
4) Screenshot of MultiCharts->New->Order and position tracker->Orders tab (make sure Broker order ID is visible).
5) Screenshot of MultiCharts->New->Order and position tracker->Logs tab.
Please also send us the logs after reproducing the issue.

Here's how to find them:
1)You can find log files here "%USERPROFILE%\Local Settings\Application Data\TS Support\MultiCharts\".
You should paste this line in Start --> Run and in the window that will pop up make a zip-folder.
alternatively
2) please click on the Windows Start button-> Programs -> MultiCharts ->
make a right click on Logs-> then click on Properties.
Go to the Shortcut tab and click on "Open file location".
In the appeared window please compress to Zip folder called "Logs".
Send this archive to support@multicharts.com and we will analyze it.

You can also come to our live chat Monday-Friday 6:30 am - 4 pm EST to demonstrate the issue remotely.
We will do our best to help you.


Return to “MultiCharts”