When creating a custom symbol from scratch (via CTRL+U for example) the maximum volume is prescribed such that the tester is unable to calculate its profit.
#include <MT4Orders.mqh> // https://www.mql5.com/ru/code/16006#define Ask SymbolInfoDouble(_Symbol, SYMBOL_ASK)
voidOnInit()
{
// Именно такой макс. объем автоматом прописывается при создании кастомного символа с нуля.constdouble Lot = 1 e11; // SymbolInfoDouble(symbol,SYMBOL_VOLUME_MAX)OrderSend(_Symbol, OP_BUY, Lot, Ask, 0, 0, 0); // После закрытия этой позиции ее профит будет нулевым.
}
Tester forms bars by Last for exchange custom symbols with Bid price of bar building.
Therefore, the bar history in the Terminal and the Strategy Tester completely diverges. And if someone uses bars in TS (indicators, for example), the result of backtest is random for him/her.
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.
Poured 2009 and 2025 into the former location.
Thanks. Tried builds 1970+ - all have this bug until you hard recreate the custom characters, staying within the same tore account.
2009:
2033:
Bug 10.
The symbol cannot be deleted.
Bug 11.
CustomTicksAdd does not form bars.
Bars will not be formed on the open chart. In Market Watch, the ticks are updated.
Bug 12.
When creating a custom symbol from scratch (via CTRL+U for example) the maximum volume is prescribed such that the tester is unable to calculate its profit.
For some reason the developers don't get their hands on reproducible bugs in this thread.
invited Slava Stringo.
i enter a custom instrument in this field (attachment 1). it opens without quotes. if i open it through the menu, everything is ok.
attachment 2 is just a word.
attachment 3: sick of this button, no one needs it. make an option to hide it. there is a help. let's do a poll.
cpsb
invited Slava Stringo.
i enter a custom instrument in this field (attachment 1). it opens without quotes. if i open it through the menu, everything is ok.
attachment 2 is just a word.
That's not how they invite.
So: @Slava
Bug 07.
Tester forms bars by Last for exchange custom symbols with Bid price of bar building.
Therefore, the bar history in the Terminal and the Strategy Tester completely diverges. And if someone uses bars in TS (indicators, for example), the result of backtest is random for him/her.
Show the specification of the custom symbol.
And give the custom ticks.
To fix something, you have to reproduce it first