How to overlay a line chart onto my candle chart...

johnwood34

Member
VIP
Anyone know how to overlay a line chart onto a candle chart? I have two screens pulled up. One for a line chart and the other for a candle chart, but was wondering if anyone knows how to slap a line chart onto a candle chart. Or is there an indicator available?
 
Solution
This comparison study has more functionality/user-controlled settings available:

1754571315971.png

Code:
def NVDA = close("NVDA");
def symbol = NVDA;

plot s = symbol;
s.DefineColor("Up", GetColor(6));
s.DefineColor("Down", GetColor(5));
s.AssignValueColor(if s > s[1] then s.Color("Up") else s.Color("Down"));
s.SetLineWeight(1);
s.SetStyle(1);
s.HideBubble();
s.HideTitle();
This comparison study has more functionality/user-controlled settings available:

1754571315971.png

Code:
def NVDA = close("NVDA");
def symbol = NVDA;

plot s = symbol;
s.DefineColor("Up", GetColor(6));
s.DefineColor("Down", GetColor(5));
s.AssignValueColor(if s > s[1] then s.Color("Up") else s.Color("Down"));
s.SetLineWeight(1);
s.SetStyle(1);
s.HideBubble();
s.HideTitle();
 
Solution
This comparison study has more functionality/user-controlled settings available:

View attachment 25396
Code:
def NVDA = close("NVDA");
def symbol = NVDA;

plot s = symbol;
s.DefineColor("Up", GetColor(6));
s.DefineColor("Down", GetColor(5));
s.AssignValueColor(if s > s[1] then s.Color("Up") else s.Color("Down"));
s.SetLineWeight(1);
s.SetStyle(1);
s.HideBubble();
s.HideTitle();
Thank you for both of those responses! Exactly what i needed. Maybe it's OnDemand but i tried the comparison study twice last night but nothing would plot...
 
This comparison study has more functionality/user-controlled settings available:

View attachment 25396
Code:
def NVDA = close("NVDA");
def symbol = NVDA;

plot s = symbol;
s.DefineColor("Up", GetColor(6));
s.DefineColor("Down", GetColor(5));
s.AssignValueColor(if s > s[1] then s.Color("Up") else s.Color("Down"));
s.SetLineWeight(1);
s.SetStyle(1);
s.HideBubble();
s.HideTitle();
o

This comparison study has more functionality/user-controlled settings available:

View attachment 25396
Code:
def NVDA = close("NVDA");
def symbol = NVDA;

plot s = symbol;
s.DefineColor("Up", GetColor(6));
s.DefineColor("Down", GetColor(5));
s.AssignValueColor(if s > s[1] then s.Color("Up") else s.Color("Down"));
s.SetLineWeight(1);
s.SetStyle(1);
s.HideBubble();
s.HideTitle();
Curious as to whether or not this script can be adjusted to, rather than the closes of each candle being attached to the previous, tie each high and low to the previous...
 
Anyone know how to overlay a line chart onto a candle chart? I have two screens pulled up. One for a line chart and the other for a candle chart, but was wondering if anyone knows how to slap a line chart onto a candle chart. Or is there an indicator available?

vague questions like this is why i rewrite rules, and sometimes ask a person to rethink and rewrite.
when you say line chart, what are you really asking for? a line connecting the close price on each bar.

this is a programming site, so my 1st thought is a study.
and what study does this?
the default one that shows up when you create a study.

plot Data = close;
 

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

Thread starter Similar threads Forum Replies Date
E Heiken Ashi Overlay Displaced Questions 2
T Heikin Ashi overlay Questions 1
R MACD + TTM SQUEEZE OVERLAY Questions 11
Darth Tradicus Overlay Alignment Question Questions 4
J Compare Symbols Overlay Questions 2

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
175 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