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
Create and Test Forex Strategies
You are not logged in. Please login or register.
Forex Software → Premium Club → 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
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.
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?
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.
tomorrow
Have now December contract set we will see what happens.
Pit
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, ...
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.
This info can be confirmed by the Symbol -> Properties info box in MT4.
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.
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.
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.
Hi
Yes that's the problem I stop and take work changed.
Pit
Forex Software → Premium Club → Error Take and Stopp
Powered by PunBB, supported by Informer Technologies, Inc.