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

Help - Printing values of swings...



PureBytes Links

Trading Reference Links

What I'm trying to do is get this to the value of the swinghigh only over
the bar where it occured. Now it's printing the value for 3 bars.

Any help is much appreciated.

Thanks,

Joe

vars: val(0), txtid(0);

val = swinghigh(1,high, 2,5);

If val >= 1 then begin
txtid = Text_New(date[2], time, (high[2] +1), numtostr(val, 2));
end;