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

ELA Show-Me



PureBytes Links

Trading Reference Links

I thought I could write a simple showme, but TS4 keep plotting Plot1 on the
bar one bar past the low point bar I am trying to plot.  Can someone please
help me correct my error in the code?

Thanks in advance for your help.

HTP



Inputs: Factor(0.1250);

    IF Low[1] <= Low[2] - Factor then begin
        Mode = 1;
    End;

    IF Mode = 1 and Low >= Low[1] + Factor then begin
        Plot1(Low[1],"LoPt");
        IF CheckAlert Then Alert = TRUE;
    End;