JLINES For ThinkOrSwim

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

@us3r001 try this

Ruby:
#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
 
Last edited:
is there a way to scan on 1 minute to see the crossover of the 1 min cloud over the 3 min or combination of 1 min cloud over 3 and 5 or 3 over 5 etc.... image
 
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
 
Last edited by a moderator:
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.

thanks in advance
As you saw, he is using price action with volume to decide his trades.
He is not using an indicator, he is looking at candle pattern along with volume.

The patterns in the 1st minute of the video:
2 inside bars and volume
Followed by a flag / pendant with volume.

Really you could just look for the flag / pendant and associated volume.
For more information about the flag / pendant candle pattern:
https://usethinkscript.com/search/872901/?q=flag&t=post&c[title_only]=1&o=replies&g=1
He might have some sort of label, I didn't watch past the 1st minute of the video.
If you describe the label, a member may be able to help you further.
 
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
This is his exact setup :


Previous Day Close To Pre Market High With Fibonacci retracement levels:= 78% - 88% (Golden Zone)


J-Lines Chart set up:

1-minute Chart:
• 1min J-Line 72 and 89EMA
• 3min J-Line 216 and 267EMA
• 5min J-Line 360 and 445EMA


5-minute Chart:
• 1min J-Line 14 and 17EMA
• 3min J-Line 41 and 51EMA
• 5min J-Line 72 and 89EMA


60-minute/daily Chart:
• 72 and 89 EMA


Additional Indicators:
• VWAP
• 9 EMA
• 1000 EMA (200EMA on 5min chart)


Label Box Stats:
•PM VOL
•DAY VOL
•PM HIGH TO OPEN %
•DAY (1) the stock is on.
 
This is his exact setup :


Previous Day Close To Pre Market High With Fibonacci retracement levels:= 78% - 88% (Golden Zone)


J-Lines Chart set up:

1-minute Chart:
• 1min J-Line 72 and 89EMA
• 3min J-Line 216 and 267EMA
• 5min J-Line 360 and 445EMA


5-minute Chart:
• 1min J-Line 14 and 17EMA
• 3min J-Line 41 and 51EMA
• 5min J-Line 72 and 89EMA


60-minute/daily Chart:
• 72 and 89 EMA


Additional Indicators:
• VWAP
• 9 EMA
• 1000 EMA (200EMA on 5min chart)


Label Box Stats:
•PM VOL
•DAY VOL
•PM HIGH TO OPEN %
•DAY (1) the stock is on.
Would you say his method works?
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
397 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top