UDAY_C_Santhakumar

UCS_S_Steve Primo - Strategy #5 (FOREX Only)

Here we have another Steve Primo Strategy ( #5)

This is a short term, trend continuation strategy, Recommend using this on 30 Mins + time frames.

I have added few things.
1. PET-D filter, to identify the trend along with the SMA 50. ----> Setup in line with PET-D (EMA,15) trend confirmation.
2. Option for Harami Candle identification (may not be Steve Primo Setup), There is no evidence on any of the videos listed below for Harami or other candlesticks pattern.

Future - Planned to add other candle patterns.

Videos from Youtube
1. www.youtube.com/watch?v=C4o2OyqV... -
2. www.youtube.com/watch?v=3ZzOcVOc... - Hints disclosed on this video.
3. www.youtube.com/watch?v=pId1mTno... - Claims this is his GO TO strategy for FOREX.
4. www.youtube.com/watch?v=NlwG0xpc... - Complete Free Lesson.

Note - I did not buy this Strategy, I do not own in any way shape or form of this strategy as presented in the videos, The Strategy I am posting is my interpretation based on Steve Primo's videos listed above and few more on youtube.

Good Luck folks.

Uday C Santhakumar
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
// Created By UCSgears
// Here is another Steve Primo Strategy. He calls it Strategy #5, and only use it on FOREX. Not in Stocks or Futures. 

study("Steve Primo - Strategy # 5", overlay = true)

// Trend SMA
scolor = input(true, title = "Show Bar Colors")
sh = input(false, title = "Show Harami Candle Setup")
se = input(true, title = "Show Engulfing Candle Setup")
//sp = input(false, title = "Show Pinbar Candle Setup")

trend = sma(close,50)
trendup = close > trend ? 1 : 0
trenddn = close < trend ? 1 : 0

// PET-D
petd = ema(close,15)
petdup = close > petd ? 1 : 0 
petddn = close < petd ? 1 : 0

// Bullish Engulfing
BuE = trendup == 1  and petdup == 1 ? (close > open) and (close[1] <= open[1]) and (close >= open[1]) and (open <= close[1]) and (abs(close - open) > abs(open[1] - close[1])) : na
BuEC = scolor == 1 and BuE == 1 ? green : na
barcolor(BuEC)

// Bearish Engulfing
BrE = trenddn == 1  and petddn == 1 ? (close < open) and (close[1] >= open[1]) and (close <= open[1]) and (open >= close[1]) and (abs(close - open) > abs(open[1] - close[1])) : na
BrEC = scolor == 1 and BrE == 1 ? red : na
barcolor(BrEC)

// Harami Candle addition is not part of his strategy

// Bullish Harami
BuH =  trendup == 1  and petdup == 1 ? (close > open) and (close[1] <= open[1]) and (close <= open[1]) and (open >= close[1]) and (abs(close - open) < abs(open[1] - close[1])) : na
BuHC = scolor == 1 and BuH == 1 ? lime : na
barcolor(BuHC)

// Bearish Harami
BrH =  trenddn == 1  and petddn == 1 ? (close < open) and (close[1] >= open[1]) and (close >= open[1]) and (open <= close[1]) and (abs(close - open) < abs(open[1] - close[1])) : na
BrHC = scolor == 1 and BrH == 1 ? orange : na
barcolor(BrHC)

// ALL PLOTS

plotchar(sh ? BuH : na, title="Long Setup Bar", char='⇑', location=location.belowbar, color=green, transp=0, text="S #5 Harami Long")
plotchar(sh ? BrH : na, title="Short Setup Bar", char='⇓', location=location.abovebar, color=red, transp=0, text="S #5 Harami Short")

plotchar(se ? BuE : na, title="Long Setup Bar", char='⇑', location=location.belowbar, color=green, transp=0, text="S #5 Engulf Long")
plotchar(se ? BrE : na, title="Short Setup Bar", char='⇓', location=location.abovebar, color=red, transp=0, text="S #5 Engulf Short")