Is it a bug?

Why both "TickValue() and SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE)" always return "0"?!
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.

alexvd:

What is TickValue()?


See CSymbolInfo
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

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

Tick_value in metatrader 4 was already bugged, right ?
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.
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