HI, I am new to proreal code forum but I been trading for almost a year. I have made the simple strategy that will work on Daily Pivot point break out (Long) with taking profit when price is crossing Daily R1. Any comments will be highly appreciated. Code below: // Definition of code parameters DEFPARAM CumulateOrders = False // Cumulating positions deactivated // Conditions to enter long positions c1 = (close >= close[1]) indicator1 = (DHigh(1) + DLow(1) + DClose(1))/3 c2 = (close CROSSES OVER indicator1) IF c1 AND c2 THEN BUY 2 CONTRACT AT MARKET ENDIF // Conditions to exit long positions indicator2 = 2*((DHigh(1) + DLow(1) + DClose(1))/3) - DLow(1) c3 = (close CROSSES OVER indicator2) IF c3 THEN SELL AT MARKET ENDIF