ENUM_SYMBOL_CALC_MODE is wrong? Or TradeCalcMode() is wrong? Or i'm confused?

karp wak  

I was testing the ENUM_SYMBOL_CALC_MODE enumeration with the TradeCalcMode () function of the CSymbolInfo class ...

I tried EURUSD and USDJPY.

I was expecting that (TradeCalcMode()  == SYMBOL_CALC_MODE_FOREX)

Becouse  (Leverage()==200)

But however  (TradeCalcMode()  == SYMBOL_CALC_MODE_FOREX_NO_LEVERAGE)

That is (TradeCalcMode() == 5)

So... something ir wrong here!! Or i'm confused?



I just to try this and is the same reslut

SymbolInfoInteger(Symbol(), SYMBOL_TRADE_CALC_MODE) == SYMBOL_CALC_MODE_FOREX_NO_LEVERAGE


UPDATE:

Ok, I'm sorry... Look the attach image... I'm thinking now or (Leverage()==200) is wrong or my broker server is crazy...

 

Thank you so much!!

void OnStart()
{   
   Comment( 
            "\nLeverage       =",accountInfo.Leverage(),
            "\nTradeCalcMode  =",symbolInfo.TradeCalcMode(),"==", SYMBOL_CALC_MODE_FOREX_NO_LEVERAGE          
           );
}
Files:
test.png  33 kb
Reason: