Script Niranam Ram2
Script Niranam Ram2
Script Niranam Ram2
input_group {
"MACD",
input_group {
"front.platform.signal-line",
input_group {
"front.newind.emaperiod",
input_group {
"front.newind.barcolors",
function prev(s,i)
y=abs(round(i))
return s[y]
end
local bar_color
varp = round(length/5)
vhigh = (high-mba)/lrange
vlow = (low-mba)/lrange
vclose = (close-mba)/lrange
plot_candle {
open = vopen,
high = vhigh,
low = vlow,
close = vclose,
candle_color = colorr
hline(extTop,"","red")
hline(extBot,"","green")
hline(sigTop,"","red")
hline(sigBot,"","green")
hline(fairTop,"","red")
hline(fairBot,"","green")
if ema13 > ema13 [1] and hist > hist [1] then
bar_color = positive
elseif ema13 < ema13 [1] and hist < hist [1] then
bar_color = negative
put_color, shape_location.abovebar, 0)
else
bar_color = neutral
end