Marshall, Here is the code after the changes. Nothing special. //Buy Signals
Condition1 = C > Dropline AND Ref(C,-1) < Ref(Dropline,-1); Cond1=StochK() - Ref(StochK(),-1) >1; Cond2=MACD() > Ref(MACD(),-1); Cond6=StochD()<25; Cond7=BarsSince(Cond6) <=7; //Sell Signals Condition10 = C < Increase AND Ref(C,-1) > Ref(Increase,-1); Cond11=StochK() - Ref(StochK(),-1) < 1; Cond12=MACD() < Ref(MACD(),-1); Cond16=StochD()>75; Cond17=BarsSince(Cond16) <=7; //Buy and Sell orders Buy = BarsSince(Condition1) <=5 AND Cond1 AND Cond7; Sell = BarsSince(Condition10) <=5 AND cond11 AND Cond17; //Short and Cover conditions Short = Sell; Cover = Buy; I hope that this helps. Thanks, Tom
