bgcolor(sbh7 and aboveLine7 ? red : na, transp=70)
bgcolor(sbh7 and belowLine7 ? green : na, transp=70)
bgcolor(sch7 and crossUp7 ? lime : na, transp=40)
bgcolor(sch7 and crossDn7 ? red : na, transp=40)
capablePlayer
⋅
@pratikgundaraniya, Did you get the reply for the this, could you please pass me the answer please.. confused when to take the entry and exit
invest_shares
⋅
I am not seeing the buy and sell character getting plotted over bars. If you can explain that would be helpful.
up = change(high)
down = -change(low)
trur = rma(tr, lenadx)
plus = fixnan(100 * rma(up > down and up > 0 ? up : 0, lenadx) / trur)
minus = fixnan(100 * rma(down > up and down > 0 ? down : 0, lenadx) / trur)
sum = plus + minus
adx = 100 * rma(abs(plus - minus) / (sum == 0 ? 1 : sum), lensig)
macol = adx > limadx and plus > minus ? lime : adx > limadx and plus < minus ? red :black
len = input(233, minval=1, title="Length")
src = input(close, title="Source")
out = sma(src, len)
plot(out, color=macol, title="233&DMİ", linewidth= 4)
len1 = input(14, minval=1, title="Length for Stochastic")
smoothK = input(3, minval=1, title="SmoothK for Stochastic")
smoothD = input(3, minval=1, title="SmoothD for Stochastic")
upLine = input(80, minval=50, maxval=90, title="Upper Line Value?")
lowLine = input(20, minval=10, maxval=50, title="Lower Line Value?")
sbc = input(false, title="Show Price Bar highlight When Stoch is Above/Below High/Low Lines?")
sbh = input(true, title="Show Background highlight When Stoch is Above/Below High/Low Lines?")
sch = input(false, title="Show Back Ground Highlights When Stoch Cross - Strict Criteria - K Greater/LesThan High/Low Line - Crosses D ?")
sl = input(false, title="Show 'B' and 'S' Letters When Stoch Crosses High/Low Line & D?")
sac = input(false, title="Show Back Ground Highlights When Stoch Cross - Any Cross?")
sacl = input(false, title="Show 'B' and 'S' Letters When Stoch Crosses - Any Cross?")
k = sma(stoch(close, high, low, len1), smoothK)
d = sma(k, smoothD)
aboveLine = k > upLine ? 1 : 0
belowLine = k < lowLine ? 1 : 0
crossUp = (k[1] < d[1] and k[1] < lowLine[1]) and (k > d) ? 1 : 0
crossDn = (k[1] > d[1] and k[1] > upLine[1]) and (k < d) ? 1 : 0
crossUpAll = (k[1] < d[1] and k > d) ? 1 : 0
crossDownAll = (k[1] > d[1] and k < d) ? 1 : 0
bgcolor(sbh and aboveLine ? #00FFFF : na, transp=70)
bgcolor(sbh and belowLine ? black : na, transp=70)
bgcolor(sch and crossUp ? lime : na, transp=40)
bgcolor(sch and crossDn ? red : na, transp=40)
bgcolor(sac and crossUpAll ? lime : na, transp=40)
bgcolor(sac and crossDownAll ? red : na, transp=40)
overBought() => sbc and aboveLine
overSold() => sbc and belowLine
bgcolor(sbh7 and aboveLine7 ? red : na, transp=70)
bgcolor(sbh7 and belowLine7 ? green : na, transp=70)
bgcolor(sch7 and crossUp7 ? lime : na, transp=40)
jsnr9677
⋅
I think this indicator working well but some how that background colours and different colours of candles are bit confusing if possible please clarify that
Thank you
raja74sekhar
⋅
Wonderful indicator. What is supertrend values for this indicator. Kindly let me know. So that I can filter stocks based on your supertrend values. Thank you in advance
Where i enter the trade ?
Buy after green background ?
I don't understand