How can I erase the older intermediate trendlines, so that my historical chart will keep only the the last trend lines that respect the condition?
Code: Select all
vars:tlup(L);
condition1=L>L[1];
if condition1 then begin
tlup=tl_new_bn(barnumber-1,L[1],barnumber+1,2*L-L[1]);
end;