Download MetaTrader 5

MT4: Different result from MODE_STOPLEVEL in Live-Trading and StrategyTester

To add comments, please log in or register
Examine the Top MetaTrader 5 signals. Choose the best one and subscribe to it!
gogcam
12
gogcam 2015.07.14 21:01 

Hello

I'm having the following problem on twovdifferent brokers with demo account (don't know about real account):

When I attach my EA to a Live-Trading-Chart, the following function returns 0 (what is correct and I can do orders with 1 Point Entry/SL difference).

MarketInfo(Symbol(), MODE_STOPLEVEL)

When I run my EA in the StrategyTester, I get 30 and when EA executes OrderSend(), it really has this limitation.

Can you tell me why there is this difference between Live-Trading und StrategyTester and how I can change it to 0 also in StrategyTester?

Best Regards

gogcam
12
gogcam 2015.07.16 16:21  
If another one has this problem, it's because of Tickstory. There is an export setting where you can set stop level. By default it's 30.
To add comments, please log in or register