VIP DETAILS
3.66K subscribers
2.6K photos
33 videos
985 links
2000+ paid courses access
Download Telegram
// Colors
color1 = #0aff68
color2 = #00752d
color3 = #ff0a5a
color4 = #990032
fcolor = filt > filt[1] ? #0aff68 : filt < filt[1] ? #ff0a5a : #cccccc
barcolor = (src > src[1]) and (src > filt) and (src < hband) ? #0aff68 : (src > src[1]) and (src >= hband) ? #0aff1b : (src <= src[1]) and (src > filt) ? #00752d :
(src < src[1]) and (src < filt) and (src > lband) ? #ff0a5a : (src < src[1]) and (src <= lband) ? #ff0a11 : (src >= src[1]) and (src < filt) ? #990032 : #cccccc

//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
//Outputs
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------

//Filter Plot
filtplot = plot(filt, title="Filter", color=fcolor, linewidth=3)

//Band Plots
hbandplot = plot(hband, title="Filtered True Range High Band", color=fcolor)
lbandplot = plot(lband, title="Filtered True Range Low Band", color=fcolor)

//Channel Fill
fill(hbandplot, lbandplot, title="Channel Fill", color=fcolor, transp=80)

//Bar Color
barcolor(barcolor)


// Define source as the closing price of a stock
source = close


fastFilter = f_filt9x(alpha, source, 1)
slowFilter = f_filt9x(alpha, source, 9)

buySignal = crossover(fastFilter, slowFilter)
sellSignal = crossunder(fastFilter, slowFilter)

plotshape(buySignal, style=shape.arrowup, color=color.green, size=size.large, location=location.belowbar, text="BUY")
plotshape(sellSignal, style=shape.arrowdown, color=color.red, size=size.large, location=location.abovebar, text="SELL")
✅Now Follow This Video
Baap Of Chart 360 Degree Strategy 👇
//@version=4
// Copyright (c) Baap of Chart
// BCTB script may be freely distributed under the terms of the GPL-3.0 license.
study("BCTB", shorttitle="BOCTB", overlay=true)

length = input(title="ATR Period", type=input.integer, defval=22)
mult = input(title="ATR Multiplier", type=input.float, step=0.1, defval=3.0)
showLabels = input(title="Show Buy/Sell Labels ?", type=input.bool, defval=true)
useClose = input(title="Use Close Price for Extremums ?", type=input.bool, defval=true)
highlightState = input(title="Highlight State ?", type=input.bool, defval=true)

atr = mult * atr(length)

longStop = (useClose ? highest(close, length) : highest(length)) - atr
longStopPrev = nz(longStop[1], longStop)
longStop := close[1] > longStopPrev ? max(longStop, longStopPrev) : longStop

shortStop = (useClose ? lowest(close, length) : lowest(length)) + atr
shortStopPrev = nz(shortStop[1], shortStop)
shortStop := close[1] &lt; shortStopPrev ? min(shortStop, shortStopPrev) : shortStop

var int dir = 1
dir := close > shortStopPrev ? 1 : close &lt; longStopPrev ? -1 : dir

var color longColor = color.green
var color shortColor = color.red

longStopPlot = plot(dir == 1 ? longStop : na, title="Long Stop", style=plot.style_linebr, linewidth=2, color=longColor)
buySignal = dir == 1 and dir[1] == -1
plotshape(buySignal ? longStop : na, title="Long Stop Start", location=location.absolute, style=shape.circle, size=size.tiny, color=longColor, transp=0)
plotshape(buySignal and showLabels ? longStop : na, title="Buy Label", text="Buy", location=location.absolute, style=shape.labelup, size=size.tiny, color=longColor, textcolor=color.white, transp=0)

shortStopPlot = plot(dir == 1 ? na : shortStop, title="Short Stop", style=plot.style_linebr, linewidth=2, color=shortColor)
sellSignal = dir == -1 and dir[1] == 1
plotshape(sellSignal ? shortStop : na, title="Short Stop Start", location=location.absolute, style=shape.circle, size=size.tiny, color=shortColor, transp=0)
plotshape(sellSignal and showLabels ? shortStop : na, title="Sell Label", text="Sell", location=location.absolute, style=shape.labeldown, size=size.tiny, color=shortColor, textcolor=color.white, transp=0)

midPricePlot = plot(ohlc4, title="", style=plot.style_circles, linewidth=0, display=display.none, editable=false)

longFillColor = highlightState ? (dir == 1 ? longColor : na) : na
shortFillColor = highlightState ? (dir == -1 ? shortColor : na) : na
fill(midPricePlot, longStopPlot, title="Long State Filling", color=longFillColor)
fill(midPricePlot, shortStopPlot, title="Short State Filling", color=shortFillColor)

changeCond = dir != dir[1]
alertcondition(changeCond, title="Alert: CE Direction Change", message="BOCTB Exit has changed direction!")
alertcondition(buySignal, title="Alert: CE Buy", message="BOCTB Exit Buy!")
alertcondition(sellSignal, title="Alert: CE Sell", message="BOCTB Exit Sell!")
✅360 Indicator Source Code 👆
Baap of chart D 30 Strategy👇
Dot to dot levels : bit.ly/43q3Abn
It will change daily automatically , you dont need to do any things
second are free search on trading view
Now Use This Indicators Only With Dot To Dot Levels ✅
✅ Baap Of Chart - Data Reading Secret Course Start From Saturday - Stay Tuned....
✅ Magic Strategy (Jadu) - Baap Of Chart 👇👇👇
✅ Baap Of Chart Hero Zero Strategy 👇👇👇
📌📌 CA Afzal Lokhandwala Course 👇👇👇
10 intraday technique ✅ total 13 👆
✅✅✅ total 46👇👇
📌📌 Smart Money Concept - Trading Operators Ayush Singh 👇👇👇
📌📌Option Trading with TOT Strategy and BTST (Hindi)👇👇👇
📌📌Option Trading with TOT Strategy and BTST (Hindi)👇👇👇
📌📌TraderLion Trading Psychology Masterclass (English)👇👇👇
📌📌TraderLion Trading Psychology Masterclass (English)👇👇👇
📌📌Trading Plus Bull Riding Course (English)👇👇👇