Download MetaTrader 5

Is it a bug?

To add comments, please log in or register
Cym Act
192
Cym Act  
Why both "TickValue() and SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE)" always return "0"?!
Alexey Da
Moderator
6687
Alexey Da  
cymact:
Why both "TickValue() and SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE)" always return "0"?!

What is TickValue()?

We will check SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE) behaving.

Thanks.

Jimmy
490
Jimmy  
alexvd:

What is TickValue()?


See CSymbolInfo
Alexey Da
Moderator
6687
Alexey Da  
fireflies:
See CSymbolInfo

TickValue() and SymbolInfoDouble(...,SYMBOL_TRADE_TICK_VALUE) returns the same value.

double TickValue() const { return(m_tick_value); }

........ 

m_tick_value =SymbolInfoDouble(m_name,SYMBOL_TRADE_TICK_VALUE);


So you should wait for correcting SymbolInfoDouble

Cym Act
192
Cym Act  
Thanks alexvd and fireflies, and let's hope to get it soon.

squallmat
57
squallmat  
Tick_value in metatrader 4 was already bugged, right ?
Cym Act
192
Cym Act  
squallmat:
Tick_value in metatrader 4 was already bugged, right ?
No, MT4 was fine and even MT5 was just fixed with the last update. Thanks MQL/MT team.
squallmat
57
squallmat  
cymact:
No, MT4 was fine and even MT5 was just fixed with the last update. Thanks MQL/MT team.

MODE_TICKVALUE in MT4 should give "Tick value in the deposit currency."

But it always give it in dollar, if your deposit currency is not dollar, this doesn't work

To add comments, please log in or register