 # PULLBACK CANDLESTICK STRATEGY BY SIMPLE TRADING TECHNIQUES Circle represent triggering of the trade
--------------------------------------------------------------------
1. Where to place stop loss?
2. Where to exit the trade?
4. How to apply money management rule?
5. How to trade gap opening?

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

Want to use this script on a chart?
```//  By SIMPLE TRADING TECHNIQUES

//   	Arrow represent trade setup
//   	Circle represent triggering of the trade
//--------------------------------------------------------------------

study(title="STT PULLBACK CANDLESTICK STRATEGY",overlay = true, shorttitle="STT PCS")
src = close, len = input(8, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))

//coloring method below

src1 = close, len1 = input(50, minval=1, title="UpLevel")
src2 = close, len2 = input(50, minval=1, title="DownLevel")
isup() => rsi > len1
isdown() => rsi < len2
barcolor(isup() ? green : isdown() ? red : na )

lowest = lowest(low,(5))
highest = highest(high,(5))
pullbackB = (low == lowest) or (low == lowest) ? 1 : 0
pullbackS = (high == highest) or (high == highest) ? 1 : 0

value = (high - low) / 4
value1 = high - value
value2 = low + value

out = sma(close, 50)

data = (high > out ?  rsi > len1 ? pullbackB ? close >= value1 : na : na : na)
data1 = (low < out ? rsi < len2 ? pullbackS ? close <= value2 : na : na : na)

plotchar(data, char='↑', location=location.belowbar, color=lime, text="PCS Buy")
plotchar(data1, char='↓', location=location.abovebar, color=red, text="PCS Sell")