// Definition of code parameters DEFPARAM CumulateOrders = False // Cumulating positions deactivated // Here are the variables you can change at your own risk Buyit = 1 // Here is the source code DO NOT MODIFY ANYTHING BELOW Startprice = close // Store the entry price // Enter Long Position BL = CALL "BuyLong" If BL and COUNTOFPOSITION = 0 THEN BUY Buyit CONTRACT AT MARKET ENDIF // Exit Long Position EL = CALL "ExitLong" If EL THEN SELL Buyit CONTRACT AT MARKET ENDIF