2020.05.25 16:52:56.995MQL5wrong type, loading
of InfoSample failed
2020.05.25 16:52:56.995Testerloading of
C:\Users\jpaca\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5\Experts\InfoSample.ex5
failed
2020.05.25 16:53:05.003TesterExperts\InfoSample.ex5 not found
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.
Print("Stop changed, at ask price: "+last_tick.ask+" and last price: "+last_tick.last+" broker's stoplevel is "+SymbolInfoInteger(_Symbol, SYMBOL_TRADE_STOPS_LEVEL));
2020.05.25 17:05:06.8052019.06.05 11:06:20 Stop changed, at ask price: 97125.0
and last price: 97120.0 broker's stoplevel is 0
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.
The article provides the results of testing a simple trading strategy in three modes: " 1 minute OHLC " using only Open, High, Low and Close prices of minute bars; detailed modeling in " Every tick " mode, as well as the most accurate " Every tick based on real ticks " mode applying actual historical data. Comparing the results allows us to...
is an instruction given to a broker to buy or sell a financial instrument. There are two main types of orders: Market and Pending. In addition, there are special Take Profit and Stop Loss levels. is the commercial exchange (buying or selling) of a financial security. Buying is executed at the demand price (Ask), and Sell is performed at the...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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..