Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Br_Squeeze for ninja?
Collapse
X
-
Hi tazmaan,
You can search the File Sharing indicator section. If you can't find it there then someone has not released it.
You may also try one of the 3rd party NinjaScript Consultants here: http://www.ninjatrader.com/webnew/pa...injaScript.htmJosh P.NinjaTrader Customer Service
-
Thanks Josh,
I tried to search but will try a few more times I guess. If you happen to have a minute or so and can help me search to make sure I don't miss it would be great.
If noone responds about having it or knowing where it is, i'll give one of the consultants a try.
Comment
-
-
Here it is. Please let me know if you can get anywhere with converting it to NT?
Thanks!
Originally posted by anachronist View PostCan you post the Tradestation code?Attached Files
Comment
-
No, I mean, post the source code, in plain text. Or, point to a description of the general algorithm.
What you posted was an .eld file. It can't be read in any text editor, and TradeStation 2000i (what I have) won't read it. I think .eld is for TS8, not TS2000i.
-Alex
Comment
-
Sorry, that's all I have. Is why I was hoping someone knew more about it and if there was one for NT. If I knew how it exactly worked and what algorithm it used I'd be in alot better position with it
Originally posted by anachronist View PostNo, I mean, post the source code, in plain text. Or, point to a description of the general algorithm.
What you posted was an .eld file. It can't be read in any text editor, and TradeStation 2000i (what I have) won't read it. I think .eld is for TS8, not TS2000i.
-Alex
Comment
-
Is this the BB-Squeeze that is being referred to?
Is this the bb-squeeze indicator that is being referred to in this thread. I see it is being called the br_squeeze of which I am not familiiar. J. Carter and H. Senters use a bb-squeeze that they obtained freely from the forums on TradeStation.
Comment
-
Okay. After researching these 'squeeze' indicators, I have concluded the following, which should be sufficient for anyone to reproduce and improve such an indicator.
1. They all compare two channels. One channel measures trading range over the past N bars (such as Keltner channel), and the other channel measures volatility over the past N bars (such as standard deviation).
2. After picking the channel algorithms, they plot pretty bar charts to indicate when one channel is inside or outside of the other, and whether the difference between them is increasing or decreasing.
That's it.
The generic squeeze indicator uses a Keltner channel and a standard deviation channel centered around a moving average. Actually you don't even need the moving average; all you need are the channel widths.
"Improvements" generally focus on smoothing the channels or making them generate earlier triggers, or refining the calculations.
For example, one could modify the Keltner channel to use average true range, rather than just bar range. You could also substitute a regression channel for standard deviation. In either case, a non-lagging smoother like Hull Moving Average could be applied to it to make it better behaved.
Another improvement is to avoid using mathematical constructs that emit two signals. Standard deviation is one of these. When a large value enters the lookback interval it rightly affects the standard deviation, but it fires again when this large value leaves the interval because all values are equally weighted. In other words, it signals twice, and the second one is false. To fix this, you might use an exponential standard deviation and exponential averages. Or use indicators based on weighted averages.
And for all that, the creators lock down the code and ask for payment. Nothing wrong with that -- they should be compensated for all their time in research and experimentation. However, once you have the framework of such an indicator written, you should do your own experiments to find something that works to your satisfaction. In the end you'll have something that you fully understand, not some canned black box.
-Alex
Comment
-
Originally posted by anachronist View PostOkay. After researching these 'squeeze' indicators, I have concluded the following, which should be sufficient for anyone to reproduce and improve such an indicator.
1. They all compare two channels. One channel measures trading range over the past N bars (such as Keltner channel), and the other channel measures volatility over the past N bars (such as standard deviation).
2. After picking the channel algorithms, they plot pretty bar charts to indicate when one channel is inside or outside of the other, and whether the difference between them is increasing or decreasing.
That's it.
The generic squeeze indicator uses a Keltner channel and a standard deviation channel centered around a moving average. Actually you don't even need the moving average; all you need are the channel widths.
"Improvements" generally focus on smoothing the channels or making them generate earlier triggers, or refining the calculations.
For example, one could modify the Keltner channel to use average true range, rather than just bar range. You could also substitute a regression channel for standard deviation. In either case, a non-lagging smoother like Hull Moving Average could be applied to it to make it better behaved.
Another improvement is to avoid using mathematical constructs that emit two signals. Standard deviation is one of these. When a large value enters the lookback interval it rightly affects the standard deviation, but it fires again when this large value leaves the interval because all values are equally weighted. In other words, it signals twice, and the second one is false. To fix this, you might use an exponential standard deviation and exponential averages. Or use indicators based on weighted averages.
And for all that, the creators lock down the code and ask for payment. Nothing wrong with that -- they should be compensated for all their time in research and experimentation. However, once you have the framework of such an indicator written, you should do your own experiments to find something that works to your satisfaction. In the end you'll have something that you fully understand, not some canned black box.
-Alex
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by zstheorist, Today, 07:52 PM
|
0 responses
5 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
150 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
6 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
Comment