[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Code to plot Array that's points are bars apart



PureBytes Links

Trading Reference Links

Help.  The following code is an indicator that prints a dot on the chart at
a peak and at the trough of a move.  These points are several bars apart and
come from two arrays.  I would like to plot a line from peak to peak but
don't know how to pull the numbers from the Peaks array or trough array.
Any help appreciated.


Jimmy


If Peaks[0] <> Peaks[0][1] then Plot1(Peaks[0]);
If Trough[0] <> Trough[0][1] then Plot2(Trough[0]);