Topic: Error Take and Stopp

Hi
Have problems with Take and stop

Broker ActivTrades with Ger30.

Have the EA running on VPS and today tested with Bridge the same error.

Thank Pit

Post's attachments

Take Stopp Error.PNG 242.24 kb, 1 downloads since 2015-09-14 

You don't have the permssions to download the attachments of this post.

Re: Error Take and Stopp

I don't see anything wrong with the SL and TP order.

Probably you have to ask your broker.

I tested the Expert Advisors on DAX for any case. It works fine.

http://s28.postimg.org/jqmnekg5l/screenshot_1200.jpg

Re: Error Take and Stopp

I have the same problem with the same broker.
However: Only one strategy shows this strange behaviour. The other 2 strategies accept SL and TP without problems!
Please see the attached log: In the beginning MT4 several times refuses to set the required SL and TP. In the end it allows to set at least the SL - but this is most probably because I still have set the emergency SL in the Bridge.

Post's attachments

DAX_ActivTrades_invalid sl and tp.gif 34.56 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Error Take and Stopp

Is it possible the broker to accept only rounded SL / TP for DAX (digit = 0)?

Can you check if you can set SL / TP manually to a rounded and not rounded value?

Re: Error Take and Stopp

I am afraid I do not exactly understand what you mean.
Therefore here just some additional facts:
- During past 2 years I have traded many DAX based strategies at ActivTrades, but have never noticed a problem like this one.
- My Symbol settings in FSB are: Digits: 1, Point value: 0.1, Lot size: 25, Min lots: 0.01, Lot step: 0.01, Spread: 15.
- TP=1350 in ActivTrades MT4 corresponds to 135 DAX Index points, etc.
- The 1st currently traded strategy with wrong behaviour has SL=351, TP=1350 and emergency SL (in Bridge)=400.
- The 2nd currently traded strategy with correct behaviour has TP=590 and TP=340.
- The 3rd currently traded strategy with correct behaviour has TP=1090 and TP=410.
- Until June 2015 I traded 4th strategy with correct behaviour, with SL=400 and TP=600.
etc.

Re: Error Take and Stopp

tomorrow

Have now December contract set we will see what happens.

Pit

Re: Error Take and Stopp

Can you tray changing the SL from 351 to 350 or to 360?
It is possible the rounding of the SL to be a problem.

What I see in my terminal is that the DAX quotation has a step of 0.5 (example: (10095.5 , 10096.0, 10096.5...).
If it is true for your account, the SL also has to be rounded to 5 points, which means it must be 350, 355, 360, ...

Re: Error Take and Stopp

Further to my previous post, I'm now confident that the rounding of the SL is the problem for the order failure.

If you use the bridge, you can see that the "Tick size" for DAX = 0.5. It confirms that SL of 351 points is wrong.

http://s28.postimg.org/wr2zoqs3t/screenshot_1201.jpg

This info can be confirmed by the Symbol -> Properties info box in MT4.

http://s28.postimg.org/xhvpuiuh5/screenshot_1202.jpg

What I can do is to redesign the SL / TP code in order to round properly according to the "Tick size" value.

I can also add Tick size option in the Symbol settings in the FSB Control Panel.

Re: Error Take and Stopp

I can just confirm your anticipation was correct.
I changed the SL to 350. The following trade set both SL and TP correctly.
Thank you for the help.

Re: Error Take and Stopp

bold wrote:

I can just confirm your anticipation was correct.
I changed the SL to 350. The following trade set both SL and TP correctly.
Thank you for the help.

It is my pleasure!

I worked today on the EAs in order to fix the problem. I'll include the improved code in next release.

11

Re: Error Take and Stopp

Hi
Yes that's the problem I stop and take work changed.

Pit