Hi anybody help me for coding below strategy:
- 5EMA crossing over 20EMA and
- MACD line crossing over MACD Signal line and
- Stochastic oscillator in oversold region (below 30) turning positive and
- Price increase along with increase in volume in comparison with previous candle when 5EMA crosses over 20EMA.
For the above condition
CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,20)) AND MACDSignal(13, 26, 9, SIMPLE) < MACD(13, 26, 9, SIMPLE) AND SOPK(14, 7, 3, SIMPLE) < SOPD(14, 7, 3, SIMPLE) AND VOLUME > REF(VOLUME,1)
Dear @AlgoGeek Thanks for the codes…
Can you assist with set of codes for a sell call with same above strategy…
Also, if you can advice any exit strategy for both buy and sell.
Dear @AlgoGeek Plz help me for coding required for scripted alert in Pi :
- Buy when candel close above 13EMA
- Exit with Target .6% and SL .3%