Spread Array vs MarketInfo(Symbol(), MODE_SPREAD)
MarkJoy:
Hello,
I saw that the below code prints 2 different values. Question is why?
Is it correct that Spread[] contains spread values at open time? and MarketInfo contains current spread value?
I think the Spread array contains an average spread for that bar/candlestick.
MarketInfo() is definitely returning the current, actual spread.
Hello,
I saw that the below code prints 2 different values. Question is why?
Is it correct that Spread[] contains spread values at open time? and MarketInfo contains current spread value?