Trying to see if anyone can help with a few indicators.

#Start
#JLine_Cloud

input s1 = 72;
input h1 = 89;

input enable515 = no;

DefineGlobalColor( “EMA1+”, CreateColor(201, 255, 234));
DefineGlobalColor( “EMA1-”, CreateColor(255, 105, 105));
DefineGlobalColor( “EMA2+”, CreateColor(125, 176, 130));
DefineGlobalColor( “EMA2-”, CreateColor(194, 152, 227));
DefineGlobalColor( “EMA3+”, CreateColor(161, 217, 247));
DefineGlobalColor( “EMA3-”, CreateColor(255, 255, 112));

input res = AggregationPeriod.MIN;
input res1 = AggregationPeriod.THREE_MIN;
input res2 = AggregationPeriod.FIVE_MIN;

assert(GetAggregationPeriod() >= res, “Chart Frame Higher that input res”);
AddLabel(if (GetAggregationPeriod() > res) then yes else no, “JLine :input res is lower than Chart TimeFrame”, Color.RED);

def EMA1_S1 = ExpAverage(close(period = res),s1);
def EMA1_H1 = ExpAverage(close(period = res),h1);
def EMA2_S1 = ExpAverage(close(period = res2),s1);
def EMA2_H1 = ExpAverage(close(period = res2),h1);

def EMA3_5 = ExpAverage(close(period = res2),5);
def EMA3_15 = ExpAverage(close(period = res2),15);

plot ODaily = DailyOpen();
ODaily.SetDefaultColor(Color.ORANGE);

AddCloud(if enable515 then EMA3_5 else Double.NaN,if enable515 then EMA3_15 else Double.NaN, GlobalColor(“EMA3+”), GlobalColor(“EMA3-”));

#End

#Start

# MACDDIVERGENCE_R1V1

INPUT VFL = 12;
INPUT VSL = 26;

DEF VLB = VFL + VSL;

DEF vh34 = highest(MACDHistogram(VFL,VSL),VLB);
DEF vl34 = lowest(MACDHistogram(VFL,VSL),VLB);

input ChartBubblesON = Yes;
input LinesON = Yes;

rec top;
rec bot;

top = if
MACDHistogram(VFL,VSL) == VH34
then High else top[1];
bot = if
MACDHistogram(VFL,VSL) == VL34
then Low else bot[1];

plot topline = if !LinesOn then Double.NaN else top;
topline.SetLineWeight(1);
topline.assignValueColor(if ((top < HIGH)) then color.white else color.Gray);
topline.SetPaintingStrategy(PaintingStrategy.points);

plot bottomline = if !LinesOn then Double.NaN else bot;
bottomline.SetLineWeight(1);
bottomline.assignValueColor(if ((LOW < bot)) then color.White else color.Gray);
bottomline.SetPaintingStrategy(PaintingStrategy.dashes);

.
.
.
.
.
.
.
.
.