Interesting issue I have come across during backtesting with visual mode. The following happens when dragging an Indicator into the visual test while the test is running.
Given an indicator that plots the closing price of the current pair, I would use
Close[0] (This plots correctly, price goes up and down etc)
But if the indicator plots the closing price of a pair not in the current window using
iClose(DifferentPair, Period(), 0)
The visual tester simply returns the present day closing value (hence, a straight line visually speaking).
Is there a way to accurately obtain the closing price of a pair other than the current one in visual mode during a backtest?
Given an indicator that plots the closing price of the current pair, I would use
Close[0] (This plots correctly, price goes up and down etc)
But if the indicator plots the closing price of a pair not in the current window using
iClose(DifferentPair, Period(), 0)
The visual tester simply returns the present day closing value (hence, a straight line visually speaking).
Is there a way to accurately obtain the closing price of a pair other than the current one in visual mode during a backtest?