Support/Resistance Zones for ThinkorSwim

S

San

Member
VIP
@San - Like @BenTen said you need to test what works best for you and your style. I like n @ 21 for 8 tick range bars. Someone else more than likely would use something else. I do not trade minute charts but 21 seems to paint a lot of lines, too many for my taste. I like a clean chart with only key points marked. More is not better from my experience. The best to you.
Thanks for sharing your experience.... :) (y)
 
A

ArrOne

New member
VIP
I appreciate your answer.. I don't know the script and i am new to this concept.. That's why i ask the request. If you don't want to help my concern that's fine instead of saying " No one can do it for you " .
if you're on the 1min chart put the N around 30, I just played around with it on ROKU
 
markos

markos

Well-known member
VIP
Warehouse
Thanks, As per our member advice i will play N value.....
Good morning @San Sorry for the bad attitude. I have edited those remarks.
You will probably find that each timeframe will give a totally different look.
There are a number of these in the Onenote that you could compare to. Here's an example:
https://onedrive.live.com/redir?resid=2FF733D1BA1E1E79!404&authkey=!ABOXXFyQg1iUqFk&page=View&wd=target(03. Technical Analysis/SupportResistance.one|a590eb2c-551b-4f01-a7d2-baa4f7d9a71d/BalanceZones V02|e3eb4a86-970e-40b3-8fee-20112d8324f1/)
 
markos

markos

Well-known member
VIP
Warehouse
I have looked in there and didn't find a supply/demand zone indicator. I'll go look at it again. Also, from what I've read supply and demand zones are different than supply and resistance lines. Regardless, I will not pay for an indicator...
@shizah There must be 50 iterations here:
 
H

horserider

Well-known member
VIP
Warehouse
@shizah My belief is you are falling for marketing jargon. Some one decided support/resistance is a common concept and I will call it supply/demand and act as if I have created something new and different. Then I can sell it as a new product. If you can explain the difference between supply/demand and support/resistance maybe someone can code it for you.
 
H

hanimusa

New member
Hi All
can someone send it as code
it is not working with me as file
 
MBF

MBF

Active member
VIP
Warehouse
Hi All
can someone send it as code
it is not working with me as file
here ya go :)

Code:
def loc = isNaN(close[3]) and !isNaN(close[4]);
plot Highest_All = HighestAll(if high == HighestAll(high)
                              then high
                              else double.nan);
Highest_ALL.SetStyle(Curve.LONG_DASH);
Highest_All.SetDefaultColor(Color.gray);
Highest_All.HideBubble();
Highest_All.HideTitle();
addChartBubble(loc, Highest_ALL, "ATH", color.gray, no);
#plot OnePercent = HighestAll(if close crosses HighestAll(high) * #.99
#                           then HighestAll(high) * .99
#                           else double.nan);
#OnePercent.SetStyle(Curve.LONG_DASH);
#OnePercent.SetDefaultColor(Color.gray);
#OnePercent.HideBubble();
#OnePercent.HideTitle();
#addChartBubble(loc, OnePercent, "1%", color.gray, no);
#plot TwoPercent = HighestAll(if close crosses HighestALl(high) * #.98
#                             then HighestAll(high) * .98
#                             else double.nan);
#TwoPercent.SetStyle(Curve.LONG_DASH);
#TwoPercent.SetDefaultColor(Color.gray);
#TwoPercent.HideBubble();
#TwoPercent.HideTitle();
#addChartBubble(loc, TwoPercent, "2%", color.gray, no);
plot FivePercent = HighestAll(if close crosses HighestALl(high) * .95
                             then HighestAll(high) * .95
                             else double.nan);
FivePercent.SetStyle(Curve.LONG_DASH);
FivePercent.SetDefaultColor(Color.liME);
FivePercent.HideBubble();
FivePercent.HideTitle();
addChartBubble(loc, FivePercent, "5%", color.lime, no);
plot TenPercent =  HighestAll(if close crosses HighestALl(high) * .9
                             then HighestAll(high) * .9
                             else double.nan);
TenPercent.SetStyle(Curve.LONG_DASH);
TenPercent.SetDefaultColor(Color.lighT_ORANGE);
TenPercent.HideBubble();
TenPercent.HideTitle();
addChartBubble(loc, TenPercent, "10%", color.lighT_ORANGE, no);
plot TwentyPercent =  HighestAll(if close crosses HighestALl(high) * .8
                             then HighestAll(high) * .8
                             else double.nan);
TwentyPercent.SetStyle(Curve.LONG_DASH);
TwentyPercent.SetDefaultColor(Color.lighT_RED);
TwentyPercent.HideBubble();
TwentyPercent.HideTitle();
addChartBubble(loc, TwentyPercent, "20%", color.lIGHT_RED, no);
 
Last edited by a moderator:
markos

markos

Well-known member
VIP
Warehouse
@MBF where is the header info on that code? Please add it, or Rat out the person that didn't include it. 🧐 ;):)
 
MBF

MBF

Active member
VIP
Warehouse
@MBF where is the header info on that code? Please add it, or Rat out the person that didn't include it. 🧐 ;):)
Well there you are.
I just copied it off of @horserider 's code there. Opened it on Tos and copied off the scroll.:oops:
 
markos

markos

Well-known member
VIP
Warehouse
To All: Here is where that indicator came from. Please place the 2 commented notes into the top of the script.
Nobody's fault but mine, it was attached to a chart I shared...


#Percent from ATH
#Mobius 4-2019 in TSL

def loc = isNaN(close[3]) and !isNaN(close[4]);
plot Highest_All = HighestAll(if high == HighestAll(high)
then high
else double.nan);
............
 
Last edited by a moderator:
S

San

Member
VIP
@horserider and Team, Is it possible to created MTF for Support and Resistance.
 
W

WhiteWindows2

New member
Greetings. I'm new to this forum but not to trading and TOS. I just wanted to say "thanks" for automating the Support and Resistance lines. I do have some questions, naturally.
1) Is there a way to remove the red and green boxes? I would be very happy with just the bubbles showing S1 and R1.
2) If I were to set my charts to Daily 1 year and Daily 10 years, what should the "n" factor be? And the same for 5 minutes charts?
 

Top