PureBytes Links
Trading Reference Links
|
To keep this example simple, lets say I have a moving average
crossover. When there is a crossover,
I'd like to plot a line that extends to the right BUT ONLY on the last
crossover.
Vars:
MA1(0), MA2(0);
MA1 = AVERAGE(C,8);
MA2 = AVERAGE(C,4);
IF MA1 CROSSES OVER MA2 AND (its the last crossover only) THEN
Plot1(line, extend right, "");
Thanks
|