Logic that creates the SuperTrend Indicator - futures io
futures io futures trading



Logic that creates the SuperTrend Indicator


Discussion in Traders Hideout

Updated by kareem40
      Top Posters
    1. looks_one Jerryflyguy with 6 posts (6 thanks)
    2. looks_two Dynamitetrader with 5 posts (5 thanks)
    3. looks_3 cmacdon with 4 posts (3 thanks)
    4. looks_4 kareem40 with 2 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 7.0 thanks per post
    2. looks_two Jerryflyguy with 1.0 thanks per post
    3. looks_3 Dynamitetrader with 1.0 thanks per post
    4. looks_4 cmacdon with 0.8 thanks per post
    1. trending_up 1,957 views
    2. thumb_up 24 thanks given
    3. group 115 followers
    1. forum 22 replies
    2. attach_file 4 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Logic that creates the SuperTrend Indicator

(login for full post details)
  #11 (permalink)
Moose Jaw Saskatchewan Canada
 
Experience: Advanced
Platform: Qtrader - CQG
Trading: Ag's
 
Posts: 8 since Oct 2018
Thanks: 1 given, 7 received


Dynamitetrader View Post
It's all so simple really, first set your chart to colour volume and price bars the same, red for lower close than previous close and green for higher close than previous close! Overlay HVOL on your volume chart. I never trade tops or bottoms of day trends or higher, but wait for impetus - volume to confirm a desire to move in a direction, up or down, volatility should increase with any volume increase with market moves up or down, any decrease generally does not confirm the move and actually belies makret manipultion potential.

Volume increase and lack of volume shows where the interest in market direction lies. Block buying and block selling in larger numbers than usual will help you see where the institutions are trading. This is my Dynamite!

Good luck, let me know which markets you trade! I trade futures only!



Thanks for taking the time to add details! So do you trade intraday or use this indicator combination in a daily chart?

Iím a futures guy almost exclusively, crude, cattle and grains.. with dabbles elsewhere

J

Reply With Quote
The following 2 users say Thank You to Jerryflyguy for this post:

Can you help answer these questions
from other members on futures io?
OPEN_CLOSE_DOTS
ThinkOrSwim
What Is the Source of Your Edge??
Psychology and Money Management
help to convert from thinkscript to ninjascript
NinjaTrader
GBP/ARS Pair
Traders Hideout
Want to Go With Futures
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Fundamental question on index trading
20 thanks
Excited and scared at the same time
13 thanks
https://ivytrusts.com/ SCAM ALERT
11 thanks
Advice for best # of Ticks to set charts to for MES or MNQ ?
11 thanks
Is Orderflow An Outdated Concept?
9 thanks
 
(login for full post details)
  #12 (permalink)
Moose Jaw Saskatchewan Canada
 
Experience: Advanced
Platform: Qtrader - CQG
Trading: Ag's
 
Posts: 8 since Oct 2018
Thanks: 1 given, 7 received


Fat Tails View Post
There are several volatility based trailing stops that you may use. All of them use the ATR such that there will be a wide stop when volatility is high, but a narrower stop when the market calms down.



Here are some example for a long stop. The short stop would be defined the opposite way.





ATR Trailing Stop: A multiple of the ATR is deducted from the current close.



Chandelier Stop A: A multiple of the ATR is deducted from a Donchian high



Chandelier Stop B: A multiple of the ATR is deducted from the highest high since in position



SuperTrend: A multiple of the ATR is deducted from a moving average





Coding these indicator is fairly simple. The starting point would be the current close, the highest high over a selected lookback period of a moving average. In a second step you simply deduct a multliple of the ATR over a selected lookback period.



Below are screenshots attached showing the different trailing stops.







ATR Trailing Stop:









Chandelier Stop A:









Chandelier Stop B:









SuperTrend (Median):






Wow! Thanks for going to the work to send all this. I was familiar with the basic ATR stop, itís interesting to see the various adaptations!

Thanks!

J

Reply With Quote
The following user says Thank You to Jerryflyguy for this post:
 
(login for full post details)
  #13 (permalink)
Moose Jaw Saskatchewan Canada
 
Experience: Advanced
Platform: Qtrader - CQG
Trading: Ag's
 
Posts: 8 since Oct 2018
Thanks: 1 given, 7 received



joker542 View Post
BASIC UPPERBAND = (HIGH + LOW) / 2 + Multiplier * ATR

BASIC LOWERBAND = (HIGH + LOW) / 2 - Multiplier * ATR



FINAL UPPERBAND = IF( (Current BASICUPPERBAND < Previous FINAL UPPERBAND) and (Previous Close > Previous FINAL UPPERBAND)) THEN (Current BASIC UPPERBAND) ELSE Previous FINALUPPERBAND)



FINAL LOWERBAND = IF( (Current BASIC LOWERBAND > Previous FINAL LOWERBAND) and (Previous Close < Previous FINAL LOWERBAND)) THEN (Current BASIC LOWERBAND) ELSE Previous FINAL LOWERBAND)



SUPERTREND = IF(Current Close <= Current FINAL UPPERBAND ) THEN Current FINAL UPPERBAND ELSE Current FINAL LOWERBAND



Joker thanks for the long-hand logic here. Itís exactly what I was looking for! I can code it out from this !!

J

Reply With Quote
The following user says Thank You to Jerryflyguy for this post:
 
(login for full post details)
  #14 (permalink)
Dallas, TX
 
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
 
kareem40's Avatar
 
Posts: 653 since May 2010
Thanks: 1,864 given, 870 received

Interesting discussion @Dynamitetrader
@Jerryflyguy

I also trade using VSA and market structure. I look forward to seeing more. Do you guys have a journal?

K

Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #15 (permalink)
Seka, Thailand
 
 
Posts: 7 since Aug 2019
Thanks: 0 given, 7 received


Jerryflyguy View Post
Thanks for taking the time to add details! So do you trade intraday or use this indicator combination in a daily chart?

Iím a futures guy almost exclusively, crude, cattle and grains.. with dabbles elsewhere

J

Yes, futures currency and grains, nat gas, bonds, metals, oil.

When I get to 10 posts, then I'm allowed to post charts!

DT

Reply With Quote
The following user says Thank You to Dynamitetrader for this post:
 
(login for full post details)
  #16 (permalink)
Brisbane Queensland Australia
 
Experience: Advanced
Platform: Ninja Bullcharts
Trading: Stocks
 
Posts: 13 since Dec 2014
Thanks: 0 given, 17 received


Jerryflyguy View Post
Thanks for taking the time to add details! So do you trade intraday or use this indicator combination in a daily chart?

Iím a futures guy almost exclusively, crude, cattle and grains.. with dabbles elsewhere

J


Dynamite trader,

What is your difference from using Granville's "On balance Volume" indicator which is based on identifying higher or lower closes over time and accumulating volume based thereon?

If you wish to finesse Granville generalised approach, then I suggest, a study Gann's 'Rule ofThree' method or his "How to Balance a Stock method" to identify the basis for his reversal signals for fast moving stocks.

Reply With Quote
 
(login for full post details)
  #17 (permalink)
Brisbane Queensland Australia
 
Experience: Advanced
Platform: Ninja Bullcharts
Trading: Stocks
 
Posts: 13 since Dec 2014
Thanks: 0 given, 17 received


Dynamitetrader View Post
Indeed the volume does not show you the balance between buying and selling, supply or no supply, demand or no demand, but that buying and selling has taken place and thus the quantity of trade exchanges. The volatility shows the rapidity, not of price effect, but the willingness of the traders to get involved in the exchange of contracts, it's the emergency with which the desire to exchange is portrayed creating volatility based on what the crowd of traders percieve and thus create volatility or not! A lack of volatility then, is quite the opposite and shows receding interest, just as receding volume and is therefore very often an indication of an undesired directional movement!

I would add to your analogy with, it's not just how fierce the soldiers fought, but the quality of their weapons! 95% or greater get this wrong, so size is not the issue here!

I think there is some commonly held illogic in the above reply. If you always think buying and selling is evenly balanced because one buyer is always matched up to one seller then the above logic may work, for you. But if you think higher prices suggest higher demand, and lower prices suggest more supply, then that suggests there are always imbalances shown through the bid/ask prices,and what is the next accepted buying or selling price.
Technical analysis indicators, need to measure and show over a specified time period, a fair allocation basis for determining the buying pressure and the selling pressure, as that shows the force being exerted by the buyers or the sellers from time to time. I believe you can then end up with fair estimates of changes in buyer and seller behaviors based on measurements, not intuitions. I have many new indicators that reflects this paradigm works in practice.

Reply With Quote
The following user says Thank You to cmacdon for this post:
 
(login for full post details)
  #18 (permalink)
Seka, Thailand
 
 
Posts: 7 since Aug 2019
Thanks: 0 given, 7 received


cmacdon View Post
I think there is some commonly held illogic in the above reply. If you always think buying and selling is evenly balanced because one buyer is always matched up to one seller then the above logic may work, for you. But if you think higher prices suggest higher demand, and lower prices suggest more supply, then that suggests there are always imbalances shown through the bid/ask prices,and what is the next accepted buying or selling price.
Technical analysis indicators, need to measure and show over a specified time period, a fair allocation basis for determining the buying pressure and the selling pressure, as that shows the force being exerted by the buyers or the sellers from time to time. I believe you can then end up with fair estimates of changes in buyer and seller behaviors based on measurements, not intuitions. I have many new indicators that reflects this paradigm works in practice.

You may consider anything you like to be illogical, that is your prerogative, but the evidence is clear that volume and volatility are leading indicators, they are logical, no matter what other indicators have been constructed to show market pressure! The raw volume and voliatility always cut the mis information out of the market. The Elephants footprint shows about 80% of the time and that's enough for me no matter who wishes to deny the evidence. It's in the charts!

The best indication in trading would show the correlation between volume, volatility and price action and I am currently engaged in a programming exercise with an undisclosed organisation who wish to explore my methods, for which I know no other trader who uses what I use! I am simply responding to help others here, not wishing to criticise or be criticised!

If you accept what I say or not, it is of no concern to me!

Reply With Quote
 
(login for full post details)
  #19 (permalink)
Raleigh/NC
 
Experience: Intermediate
Platform: TOS/Sierra Charts
Broker: TDA/Infinity Futures
Trading: /ES
 
Posts: 5 since Jul 2013
Thanks: 17 given, 1 received


cmacdon View Post
I think there is some commonly held illogic in the above reply. If you always think buying and selling is evenly balanced because one buyer is always matched up to one seller then the above logic may work, for you. But if you think higher prices suggest higher demand, and lower prices suggest more supply, then that suggests there are always imbalances shown through the bid/ask prices,and what is the next accepted buying or selling price.
Technical analysis indicators, need to measure and show over a specified time period, a fair allocation basis for determining the buying pressure and the selling pressure, as that shows the force being exerted by the buyers or the sellers from time to time. I believe you can then end up with fair estimates of changes in buyer and seller behaviors based on measurements, not intuitions. I have many new indicators that reflects this paradigm works in practice.

Is there any chance of you providing some details as to the specific indicators you use to support this strategy?

Thanks

Reply With Quote
 
(login for full post details)
  #20 (permalink)
Brisbane Queensland Australia
 
Experience: Advanced
Platform: Ninja Bullcharts
Trading: Stocks
 
Posts: 13 since Dec 2014
Thanks: 0 given, 17 received



swschultz View Post
Is there any chance of you providing some details as to the specific indicators you use to support this strategy?

Thanks

Swschultz
I could as I have been writing a book setting them all out. It has taken 6-years to write, 50% longer than writing my Ph.D. but when I last mentioned a solution to a previous post by someone else, I was chastised by Futures.IO as attempting to market the book on their website.
cmacdon

Reply With Quote


futures io Trading Community Traders Hideout > Logic that creates the SuperTrend Indicator


August 28, 2019


Upcoming Webinars and Events
 

Dealing with burnout w/Linda Bradford Raschke

Elite only
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts