Inputs: Lookback(0); If Lookback > 0 then beginIf C > xaverage(c,Lookback) then
buy 1 share next bar market;
If C < xaverage(c,Lookback) then
sell next bar market;
end;
Inputs: Lookback(0); If Lookback > 0 then beginIf C > xaverage(c,Lookback) then
buy 1 share next bar market;
If C < xaverage(c,Lookback) then
sell next bar market;
end;