Comment on Managing your Script
Buy Script:
SET MA1 = SimpleMovingAverage(CLOSE, 28)
SET MA2 = SimpleMovingAverage(CLOSE, 14)
CROSSOVER(MA1, MA2) = TRUE
I want to to test different exits
1. Stop Loss if price goes down by 1%
2. Take Profit if price goes up by 2%
3. Exit when the gap between MA1 and MA2 reduces.
please help code the exit.
Also is there a way to carry the entry price from the Buy script to the exit script.