I know how to Plot multiple Time Frames on a Single Chart using dataseries, as in the aSMAmultitime Example posted in the Indicator Development forum under
How do you plot two time frames of an indicator?.
I perform "True" or "False" tests on Many different indicators within an Indicator (that I created) and does Not Plot on the Chart. It Only Draws the Signal Arrows on the chart when the "True" condition is satisfied. I would like to know how to Format the test code to compare an indicator from two different time frames?
Example:
// Compare SMA(20) from a 4 Range Time Frame to SMA(20) from a 8 Range Time Frame
if ( SMA(Close, 20)[0] > SMA(Close, 20)[0] ) <--- How to FORMAT this Correctly?
{ Then.............................................. ....}
I would like to have the capability to test both the Current Bar [0] from both time frames and also Previous Bars [3] from both time frames.
Thanks in advance for your support!
Joe
Comment