Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Adaptive SuperTrend
Collapse
X
-
Originally posted by price777999 View Postno i dont think so, this is with a 0.0001 setting
http://www.screencast.com/users/pric...2-04cdc1092704
Comment
-
Originally posted by lgarcia3 View PostHi price, I was wondering what stock/contract is that with those settings?
Thanks!
hi again lg:
I went into the code.
The original supertrend code uses a PRICE +/- multiplier*ATR(period). Where period is fixed and ATR is a measure of volatility (amplitude).
Your code uses a PRICE +/- multiplier*period...where period is the output from the homodyne and where volatility (amplitude) has dissapeared.
Wouldn't it make more sense if your code calculated the lines as:
PRICE +/- multiplier*ATR(period) ????
Not saying your stuff is incorrect, only that it doesn't make sense to me, after reading the book.
It looks as if your coded indicator mixes up price amplitude with period (time). I'm very confused.
Thanks and take care.
JCLast edited by jcook; 05-06-2009, 11:14 AM.
Comment
-
Hi JC,
don't worry, I don't take it personally! Well, the only way to know that is trying it. So, just give it a go and see what you get. Just change the code a little. What I think you will get at the end is the ATR calculated every time with different time spams. It may have less trades as well.
To answer the other question, the period in this case is a meassure of volatility as well. Not a number of time periods to create the spam where you do the calculation. It is the cycle period and it meassures volatility a little different that Wilder did in his ATR, which meassures the distance travel by the price if I remember well. In this case, say that you draw a circle. You put a dot in the center of that circle, then you draw lines from the center of the circle to the border of it at the same angle all the time. The number of slices you get would be the period of that cycle or circle. In this case, those slices represent a bar of price movement. If you have only 4 slices, it is a fast cycle, if you have 20, it is slow.
Hope that helps.Last edited by lgarcia3; 05-06-2009, 11:43 AM.
Comment
-
**
I posted a modified version, using Jcooks suggestion but it plotted almost exactly like the original SuperTrend and I didn't find it very useful so I've removed it and created a different version.
**
Basically its the original SuperTrend algorithm but the ATR period and multiplier adapt using the Homodyne Discriminator.
The reason people were getting weird plotting and using such different multiplier values is because the Homodyne Discriminator is returning a "period" which isn't necessarily related to the price. For example if you are trading forex and the price is 1.38 and the HD returns 20 and you multiply that by 0.5, SuperTrend will plot at 11.38 which is obviously way out of the price scale.
I always found the multiplier had a much larger impact on the indicator than the ATR period so in this version both the period and the multiplier adapt.
I haven't tested this, aside from making sure it plots, so let me know if its useful.
(*As this is my 666th post this indicator may be evil and blow up the internet, use with caution )Attached Files
Comment
-
-
That's because the multiplier is adaptable. The only reason its in the parameters is so you can see what the current value is.
It wouldn't be hard to make a multiplier for the multiplier that can be adjusted, maybe that's something I'll look into when I have time.
Comment
-
-
Originally posted by lgarcia3 View PostHello,
I saw a long discussion about SuperTrend. I thought the indicator was good, but still had a few whipsaw trades. So, I think this should clean it up a little. The concept of SuperTrend is based on checking how volatile the price is at some point. What I did was to check how large the period of the trend is and get a nice indicator with less whipsaw trades. In the shot you can see ES, 15-minute, with SuperTrend in its default settings and the adaptive version. The regular supertrend signals 7 different trades, while the adaptive version only one trade.
Hope that improves it a little.
Have fun!
Comment
-
I tried this tool and I have an issue with it . . .
On live trading the signals seem to come often and then after refresh it is much different . . . .
Attached is an example of what I mean . . .
Anything I can do?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
4 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
45 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
6 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
9 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
Comment