PI tradescript code needed when meeting below condition
Buy signal :
- 13 Ema crossover 34 Ema
2. parabolic sar below 5min candle
- stochastics above 50
sell signal:
-
34 Ema cross over 13 Ema
-
parabolic sar above 5min candle
-
stochastics below 50
For the above condition use 5 minute candle time frame
Buy Script:
CROSSOVER(EMA(CLOSE,13),EMA(CLOSE,34)) AND
CROSSOVER(CLOSE, PSAR(0.02, 0.2)) = TRUE AND
SOPK(9, 3, 9, SIMPLE) > 50 OR SOPD(9, 3, 9, SIMPLE) > 50
Sell Script:
CROSSOVER(EMA(CLOSE,34),EMA(CLOSE,13)) AND
CROSSOVER(PSAR(0.02, 0.2),CLOSE) = TRUE AND
SOPK(9, 3, 9, SIMPLE) < 50 OR SOPD(9, 3, 9, SIMPLE) < 50