
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Or use your terminal strings--- symbolinfosample
I created symbolinfosample based as https://github.com/zephyrrr/MLEA/blob/master/MQL5/Scripts/Examples/SymbolInfo/SymbolInfoSample.mq5
and imported https://github.com/zephyrrr/MLEA/blob/master/MQL5/Scripts/Examples/SymbolInfo/SymbolInfoSampleInit.mqh into include folder
When I use Strategy Tester I receive this:
I forgot to mention - if you are setting stop loss for the sell order, you must use ask price as reference.
You can't set stop loss between bid and ask.
2020.05.25 17:05:06.805 2019.06.05 11:06:20 Stop changed, at ask price: 97125.0 and last price: 97120.0 broker's stoplevel is 0
Not this problem, I think..
Compiling it first might help.
Compiling it first might help.
Of course I did it.
You should use this script on the chart
Oh.. there is the result!
Thank you!
Oh.. there is the result!
Thank you!
because of trade disabled?
because of trade disabled?
Maybe. I don't know.. Maybe its because market is closed..
In backtesting I can move the Stop loss freely until I reach the entry price..
I will try again to find a solution.. If I find it I make a new post here.
Sorry? this is info about Market at this moment, and I'm backtesting..
Do you want me to enable trade somehow?
Sorry if i misunderstand you, I'm new to programming, and MQL5.
2020.05.25 17:05:06.805 2019.06.05 11:06:20 Stop changed, at ask price: 97125.0 and last price: 97120.0 broker's stoplevel is 0
Not this problem, I think..
Did you saw this?
Maybe there is an broker's stoplevel that I can't measure with SymbolInfoInteger(_Symbol, SYMBOL_TRADE_STOPS_LEVEL)
Will have to do more tests..