Hi GCTrader1, Thank you for replying!! This is the code: ---------------------------- REM Buy indicator1 = RSI[14](close) c1 = (indicator1 < 35.0) IF c1 THEN BUY 20 %CAPITAL AT MARKET THISBARONCLOSE ENDIF REM Sell indicator2 = RSI[14](close) c2 = ...