double tickValue = MarketInfo(NULL, MODE_TICKVALUE);
EA strategy tester gives tickValue = 1 , instead of tickvalue in the deposit currecy
So this instruction wont work while in strategy tester ?
Did you try any other instrument other then NULL ?
When these instructions are used in Indicators
double tickValue1 = MarketInfo(Symbol(), MODE_TICKVALUE);
double tickValue2 = MarketInfo(_Symbol, MODE_TICKVALUE);
double tickValue3 = MarketInfo(NULL, MODE_TICKVALUE);
they all work perfectly but when in EA strategy tester, they all give value '1' Can we get around this pb
Even when :
double tickValue = MarketInfo("EURUSD", MODE_TICKVALUE);
tickValue = 1
Does the pb come from AdmiralMarket demo a/c
Is the account currency $?
If so, 1 is correct.
a/c currency is €
Used in indicator, the instruction
double tickValue = MarketInfo("EURUSD", MODE_TICKVALUE)
gives tickValue = 0.82194....