NexusFi: Find Your Edge


Home Menu

 





Help with Supply and Demand ZONE Indicator


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one dehurlock with 3 posts (1 thanks)
    2. looks_two Charles7a with 2 posts (0 thanks)
    3. looks_3 txsroper with 2 posts (0 thanks)
    4. looks_4 drm7 with 1 posts (0 thanks)
    1. trending_up 20,766 views
    2. thumb_up 4 thanks given
    3. group 14 followers
    1. forum 16 posts
    2. attach_file 3 attachments




 
Search this Thread

Help with Supply and Demand ZONE Indicator

  #1 (permalink)
dehurlock
tampa florida
 
Posts: 3 since May 2017
Thanks Given: 0
Thanks Received: 1

Hi, I have searched the internet for a thinkorswim indicator that will draw supply and demand zones on a chart. I can't find one so I am here to ask for help on making one. Here is what I'm looking for:


//Supply Levels-
Fractal High (defined as highest high of any 5 candles)
Average Low of those 5 candles

Draw a line from that Fractal High to right edge of chart
Draw another line from that Average Low to right edge of chart

End those lines when price hits those levels

//Demand Levels-Lowest Low of any 5 candles)
Average High of those 5 candles

Draw a line from that Fractal Low to right edge of chart
Draw another line from that Average High to right edge of chart

End those lines when price hits those levels

could look something like attached image


thank you

Daniel

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
45 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #2 (permalink)
drm7
Virginia
 
Posts: 49 since Oct 2010
Thanks Given: 192
Thanks Received: 47

Did you manually draw those, or are they from another platform?

Reply With Quote
  #3 (permalink)
dehurlock
tampa florida
 
Posts: 3 since May 2017
Thanks Given: 0
Thanks Received: 1



drm7 View Post
Did you manually draw those, or are they from another platform?

I drew them

Reply With Quote
Thanked by:
  #4 (permalink)
dehurlock
tampa florida
 
Posts: 3 since May 2017
Thanks Given: 0
Thanks Received: 1

Here is some of the code I started with:


Def swinghigh = if high >= high[1] and high >= high[2] and high >= high[3] and high >= high[4] and high >= high[5] and high >= high[6] and high >= high[7] and high >= high[8] and high >= high[9] and high >= high[10] and high >= high[-1] and high >= high[-2] and high >= high[-3] and high >= high[-4] and high >= high[-5] and high >= high[-6] and high >= high[-7] and high >= high[-8] and high >= high[-9] and high >= high[-10] then 1 else 0;

Plot sh = if swinghigh then high else double.nan;
sh.setstyle(curve.points);

Def swinghighlows = if low >= low[1] and low >= low[2] and low >= low[3] and low >= low[4] and low >= low[5] and low >= low[6] and low >= low[7] and low >= low[8] and low >= low[9] and low >= low[10] and low >= low[-1] and low >= low[-2] and low >= low[-3] and low >= low[-4] and low >= low[-5] and low >= low[-6] and low >= low[-7] and low >= low[-8] and low >= low[-9] and low >= low[-10] then 1 else 0;

Plot shl = if swinghighlows then low else double.nan;
shl.setstyle(curve.points);



Def swinglow = if low <= low[1] and low <= low[2] and low <= low[3] and low <= low[4] and low <= low[5] and low <= low[6] and low <= low[7] and low <= low[8] and low <= low[9] and low <= low[10] and low <= low[-1] and low <= low[-2] and low <= low[-3] and low <= low[-4] and low <= low[-5] and low <= low[-6] and low <= low[-7] and low <= low[-8] and low <= low[-9] and low <= low[-10] then 1 else 0;

Plot sl = if swinglow then low else double.nan;
sl.setstyle(curve.points);

Def swinglowhighs = if high <= high[1] and high <= high[2] and high <= high[3] and high <= high[4] and high <= high[5] and high <= high[6] and high <= high[7] and high <= high[8] and high <= high[9] and high <= high[10] and high <= high[-1] and high <= high[-2] and high <= high[-3] and high <= high[-4] and high <= high[-5] and high <= high[-6] and high <= high[-7] and high <= high[-8] and high <= high[-9] and high <= high[-10] then 1 else 0;

Plot slh = if swinglowhighs then high else double.nan;
slh.setstyle(curve.points);




I went a little over board with the strength of the Fractal highs and lows

Reply With Quote
  #5 (permalink)
devildriver6
Dallas, Texas
 
Posts: 43 since Jun 2015
Thanks Given: 2
Thanks Received: 32

I have something like this.... Records the last 50 swing highs and lows.
Took over 2500 lines of brute force coding to get this accomplished in TOS though.
It took A LOT of work to get this done, and it's not currently available to the public, but I'm showing that it CAN be done.


Here's what it looks like on an hourly /ES chart.....



Reply With Quote
Thanked by:
  #6 (permalink)
Charles7a
Colorado Springs
 
Posts: 2 since Feb 2011
Thanks Given: 0
Thanks Received: 0

I do not know any free TOS Supply & Demand Zones indicators. I only know of ONE TOS Supply & Demand Zones indicator and it costs money. I bought the indicator and it works well. The indicator creator has good customer service skills and has made improvements to it based on my input.

I have looked for a few years for both free and paid TOS Supply & Demand Zones indicators. This is the only one I have ever found. I don't want this to appear as an advertisement. I just know that finding a TOS Supply & Demand Zones indicator is difficult!

-Charles

Reply With Quote
  #7 (permalink)
Charles7a
Colorado Springs
 
Posts: 2 since Feb 2011
Thanks Given: 0
Thanks Received: 0

I noticed I cannot reply to private messages yet because my post count needs to be 5 or greater. Sorry JT! I bought the indicator at customtos dot com.

-Charles

Reply With Quote
  #8 (permalink)
omer411
FORT WALTON BEACH
 
Posts: 1 since May 2018
Thanks Given: 0
Thanks Received: 0

What is the link to purchase the demand and supply zone for TOS?? thanks.

Reply With Quote
  #9 (permalink)
33dtrader
Austin Texas
 
Posts: 2 since Aug 2018
Thanks Given: 3
Thanks Received: 1


omer411 View Post
What is the link to purchase the demand and supply zone for TOS?? thanks.

I cant post the link either because I dont have 5 posts But simply google customtos .com and supply and demand and you will find the one they have for sale. I too have been looking for an indicator for TOS... and yeah.. had hoped to come across a free one

Reply With Quote
  #10 (permalink)
 theelderwand 
Redmond WA
 
Experience: Master
Platform: ThinkOrSwim
Trading: ES CL GC
Posts: 4 since Apr 2019
Thanks Given: 0
Thanks Received: 2



devildriver6 View Post
I have something like this.... Records the last 50 swing highs and lows.
Took over 2500 lines of brute force coding to get this accomplished in TOS though.
It took A LOT of work to get this done, and it's not currently available to the public, but I'm showing that it CAN be done.


Here's what it looks like on an hourly /ES chart.....



I'm trying to replicate something like this and this is what I came up with.

The problem I'm facing is an indicator can have only one value, so my zones get cut off. Could you provide a pointer on how you got around this please ??

Attached Thumbnails
Click image for larger version

Name:	image.png
Views:	1147
Size:	389.6 KB
ID:	297907  
Reply With Quote




Last Updated on October 21, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts