Roman Sharanov: How do I get MODE_TICKVALUE in MQL5?
F1 Help -Standard constants, enumerations and structures-Environment state -Environment state -Tool information
voidOnStart()
{
Alert("TICK_VALUE = ",SymbolInfoDouble(Symbol(),SYMBOL_TRADE_TICK_VALUE)); //Значение SYMBOL_TRADE_TICK_VALUE_PROFIT Alert("TICK_VALUE_PROFIT = ",SymbolInfoDouble(Symbol(),SYMBOL_TRADE_TICK_VALUE_PROFIT)); //Рассчитанная стоимость тика для прибыльной позицииAlert("TICK_VALUE_LOSS = ",SymbolInfoDouble(Symbol(),SYMBOL_TRADE_TICK_VALUE_LOSS)); //Рассчитанная стоимость тика для убыточной позиции
}
// Как то так
Thinking like this, let's take a MA with a period of 1 on the closing price and it will show us the closing price of the day? But then it should be like this on the real as well... Let's rejoice and get rich!!! Or is it different in real life, and the tester is stupid? There is a small error in your reasoning - at any time and for any period Close[0] = Bid
Sergey: Hello all! I can't find oil in the list of charts. There are only currencies. Help me find it or tell a newbie where to load it. Thanks in advance.
Try right-clicking on the symbols, symbol set, ... Or call your broker - maybe he has, maybe not
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.
How do I get MODE_TICKVALUE in MQL5?
How do I get MODE_TICKVALUE in MQL5?
Thinking like this, let's take a MA with a period of 1 on the closing price and it will show us the closing price of the day? But then it should be like this on the real as well... Let's rejoice and get rich!!! Or is it different in real life, and the tester is stupid?
There is a small error in your reasoning - at any time and for any period Close[0] = Bid
Good afternoon, there is such an indicator"$hah+"(without open code), buffers defined correctly, please advise why the function does not work?
Good afternoon, there is such an indicator"$hah+"(without open code), buffers defined correctly, please advise why the function does not work?
If the data window is empty, it is an empty value, which can be 0 or EMPTY_VALUE, which ... Try it like this
Is the indicator this one?
Hello all! I can't find oil in the list of charts. There are only currencies. Help me find it or tell a newbie where to load it. Thanks in advance.
Try right-clicking on the symbols, symbol set, ... Or call your broker - maybe he has, maybe not
If the data window is empty, it is an empty value, which can be 0 or EMPTY_VALUE, which ... Try it like this
Is the indicator this one?