Here is the #SPYLS1 code (if you find hard to understand it drop me a message).
Code:
SetTradeDelays(1,1,1,1);
SetOption ("allowsamebarexit",false);
BuyPrice = Open;
SellPrice = Open;
ShortPrice = Open;
CoverPrice = Open;
S1_PricePattern1 = (REF(C,-1) < REF(O,-1) and REF(C,-2) > REF(O,-2))...