Hi,
When I apply an indicator to a tick chart, what is its source, is it Bid or Ask? Is it an average between both? Does it depend on which source I am visualizing on chart (Bid or Ask buttons)?
Thanks,
Moderator: admin
if canCalculate( t1_ask , getClosedPeriod(t1_ask, t1_ask:size() - 1) ) and canCalculate( t1_bid , getClosedPeriod(t1_bid, t1_bid:size() - 1) ) then
mid_tick = (t1_ask[getClosedPeriod(t1_ask, t1_ask:size() - 1) ] + t1_bid[getClosedPeriod(t1_bid, t1_bid:size() - 1)]) / 2;
end
Users browsing this forum: No registered users and 10 guests