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

MaxTradeHigh Indicator



PureBytes Links

Trading Reference Links

I am having trouble getting this indicator to work,
it is only plotting the current high not the maxlist high,
any help would be greatly appreciated.
Thanks Neville

vars: maxtradeH(0),mintradeL(0);
maxtradeH=maxlist(High,maxtradeH[1]);
mintradeL=minlist(Low,mintradeL[1]);
if I_marketposition =1 then begin
 plot1(maxtradeH,"maxtradeH");
 maxtradeH=0;
end;
if I_marketposition =-1 then begin
 plot2(mintradeL,"mintradeL");
 mintradeL=999999;
end;