♥ 0 |
Hello Pete, I use a lower study called the Waddah study. Would it be possibe to have a watch list column for this study. I would like the WL column to be green if the bar is above both lines on chart and red if below.
declare lower; #————- “Waddah Attar Explosion ” ————# input sensitivity = 150; #”Sensitivity” script calc_macd{ input source = close; def fastMA = movAvgExponential(source, fastLength); plot out = fastMA – slowMA; } script calc_BBUpper{ input source = close; def basis = simpleMovingAvg(source, length); plot out = basis + dev; } script calc_BBLower{ input source = close; def basis = simpleMovingAvg(source, length); plot out = basis – dev; } def t1 = (calc_macd(close, fastLength, slowLength) – calc_macd(close[1], def t2 = (calc_macd(close[2], fastLength, slowLength) – def e1 = (calc_BBUpper(close, channelLength, mult) – calc_BBLower(close, #// def trendUp = if t1 >= 0 then t1 else 0; plot tUp = trendUp; #”UpTrend” plot tDn = trendDown; #”DownTrend” plot ex = e1; #”ExplosionLine” plot xLine = deadZone; #”DeadZoneLine” #————- “Waddah Attar Explosion ” ————#
Marked as spam
|