Hey guys anyway you could make the same thing as this guy has in his youtube video?
would really appreciate it, its called jlines rejection or something.
I believe this is the indicator but wanting it as label?
thanks in advance
#JLine_Cloud
#Converted by @SuryaKiranC
#Requested by
@us3r001
#
https://usethinkscript.com/threads/jlines-for-thinkorswim.9521
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( EMA1_S1, EMA1_H1, GlobalColor("EMA1+"), GlobalColor("EMA1-"));
AddCloud( EMA2_S1, EMA2_H1, GlobalColor("EMA2+"), GlobalColor("EMA2-"));
AddCloud(if enable515 then EMA3_5 else Double.NaN,if enable515 then EMA3_15 else Double.NaN, GlobalColor("EMA3+"), GlobalColor("EMA3-"));
#End