{For example only and not for production.} Inputs: nLB(5), xLB(15), Size(1000); Buy Size/l[1] shares next bar lowest(l,nLB)[1] limit; Sell next bar highest (h,xLB)[1] limit;
{For example only and not for production.} Inputs: nLB(5), xLB(15), Size(1000); Buy Size/l[1] shares next bar lowest(l,nLB)[1] limit; Sell next bar highest (h,xLB)[1] limit;