The program I have buys and sell off a number + or - the open ... instead of buying there I just want to use it to signal the buy...but at next days open I want to test to see if I can trade leverage index funds on my 401k... note this program buys one day and can sell the next...how much to change the code ... {Counter-Trend Buy} If date=date1 and marketposition<>1 and Close < Open and Close < Close[29] and Range < 1.618 * Average(Range,80) and marketstrength>-.50 then begin Print(Date:6:0," Bear Buy Tomorrow's buy entry stop is "+numtostr(2* (Close-Low)+.05,2) + " points above tomorrow's open"); WriteMsg = "Buy" + "," + numtostr(2* (Close-Low)+.05,2) + "," + "above"; end; if marketposition<>1 and Close < Open and Close < close[29] and Range < 1.618 * Average(Range,80) and MarketStrength>-.50 then Buy("BearBuy") Next Bar at NxOpen + 2 * (close-low) + .05 stop;