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

Retracement Indicator



PureBytes Links

Trading Reference Links

Does anyone have any simple retracement code. Also is it easier and
possible to take the following Swinghi/Swinglo code and amend it to
include  retracements ?

inputs:stren(9), lkbk(20);
if swinghigh(1,h,stren,lkbk) > 0 then begin
value1 = swinghigh(1,h,stren,lkbk);
end;
if value1 > 0 then plot1(value1,"swinghi");

inputs:stren(9), lkbk(20);
if swinglow(1,L,stren,lkbk) > 0 then begin
value1 = swinglow(1,L,stren,lkbk);
end;
if value1 >0 then plot1(value1,"swinglo");

Thank you for your help in advance.