NexusFi: Find Your Edge


Home Menu

 





DevStop indicator need to be fixed


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 17 posts (40 thanks)
    2. looks_two Pazan with 8 posts (2 thanks)
    3. looks_3 Zondor with 4 posts (8 thanks)
    4. looks_4 Big Mike with 3 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 2.4 thanks per post
    2. looks_two Zondor with 2 thanks per post
    3. looks_3 Tarkus11 with 1 thanks per post
    4. looks_4 Pazan with 0.3 thanks per post
    1. trending_up 21,148 views
    2. thumb_up 51 thanks given
    3. group 5 followers
    1. forum 35 posts
    2. attach_file 13 attachments




 
Search this Thread

DevStop indicator need to be fixed

  #1 (permalink)
 
Pazan's Avatar
 Pazan 
Asia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker: Mirus Futures/Zen-Fire, TransAct/Infinity
Trading: 6E
Posts: 31 since Nov 2009
Thanks Given: 14
Thanks Received: 10

Hello !

Very useful and amazing indicator "DevStop" (statware concept) definitely needs to be corrected code.
When downloading large of number of days on a chart, it causes a strong deceleration and may eventually cause a memory overflow error. Almost impossible to use it realtime (CalculateOnBaeClose must be "true").

I'm no expert in programming, but I is associated with the use cycles of the source code.
I think there need a little correction. Please do it who can !

This is on NinjaTrader Support Forum downloads section: Kase DevStop

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



Pazan View Post
Hello !

Very useful and amazing indicator "DevStop" (statware concept) definitely needs to be corrected code.
When downloading large of number of days on a chart, it causes a strong deceleration and may eventually cause a memory overflow error. Almost impossible to use it realtime (CalculateOnBaeClose must be "true").

I'm no expert in programming, but I is associated with the use cycles of the source code.
I think there need a little correction. Please do it who can !

This is on NinjaTrader Support Forum downloads section: Kase DevStop

Let us first have a look, what the indicator (DevStop) actually does.

(1) It calculates the n-period simple moving average over a 2-period range. This is a measure for volatility.

(2) It then calculates the n-period standard deviation of the 2-period ranges. This is a measure for the dispersion of volatility.

(3) It then defines a trend by using the crossover of two simple moving averages and plots volatility envelopes below price in an uptrend and above price in a downtrend.

(4) The volatility envelopes are based on the high - multiple of volatility - multiple of volatility dispersion for uptrends and on the low + multiple of volatility + multiple of volatility dispersion for downtrends.


Appreciation of the indicator

To characterize this indicator, I will compare it with the Supertrend M1 indicator because they are quite similar. Both indicators use volatility - essentially the average true range - to calculate bands that can be used to trail a stop loss or to enter a position. These are the differences:

(1) The DevStop Indicator uses the highs of the last n bars as the reference in uptrends, and the lows of the last n bars as a reference in downtrends. The Supertrend indicator uses the median of the last n bars for both uptrends and downtrends. This is not so much of a difference, but the median should be more stable.

(2) To calculate the width of the bands the DevStop indicator uses both volatility and volatility dispersion, that is the standard deviation of volatility. The Supertrend indicator only uses volatility. The volatility measure of the DevStop indicator is somewhat complicated. Instead of using a SMA of a 2-period range, a SMA of a 1-period range, or directly the average true range could have been used, if need by applying a multiplier.

(3)The DevStop indicator plots 4 envelopes, one of them only uses volatility, three others use volatility and volatility dispersion with different multipliers. This is really over-sophistication which does not lead anywhere. Better to scrap volatility dispersion and just use volatility with two different multipliers.

(4) The DevStop indicator uses an additional trendfilter via a SMA cross, the Supertrend autogenerates the trend change, when price closes below or above the stopline, which is clearly a more elegant approach.


The Supertrend Indicator is a better solution

I admit that I am biased, as I have coded a version of the Supertrend indicator, so take my judgment with precaution. But if I compare the two indicators, I find a similar concept. But nobody needs four different lines on a chart. The volatility dispersion does not add any value. Also there is no reason to replace the n-period average true range with the n-period SMA of a 2-period range. Better stay with the average true range and use different multiples to plot two bands.

However, there is one interesting difference. The DevStop calculates the lower bands from the highs of the bars (uptrend), and the upper bands from the lows of the bars (downtrend). This idea can be further explored.

This is what I read from the indicator code of DevStop. If DevStop2 is completely different I will come back with a separate post.

Reply With Quote
  #4 (permalink)
 
Pazan's Avatar
 Pazan 
Asia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker: Mirus Futures/Zen-Fire, TransAct/Infinity
Trading: 6E
Posts: 31 since Nov 2009
Thanks Given: 14
Thanks Received: 10

Extremely detailed and qualitative research!
I have studied with great interest and agree with all except one - in my opinion there is no indicator of better or worse then any other indicator.

I have found that measuring the dispersion of volatility gives a clearer view especially in the pullback, it gives at least 3 measurement choices, which increases stability in the open position. "Supertrend" gives only one option when the price approaches the stop line, and we expect the breakdown of the stop line or bounce - usually it line 2 in devstop and is close to a 50/50 probability, without more detailed analysis. At the same time "devstop" gives us a choice as a last line of third standard deviations which in most cases is a real line of support or resistance. I think this may facilitate trade.

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Pazan View Post
Extremely detailed and qualitative research!
I have studied with great interest and agree with all except one - in my opinion there is no indicator of better or worse then any other indicator.

I have found that measuring the dispersion of volatility gives a clearer view especially in the pullback, it gives at least 3 measurement choices, which increases stability in the open position. "Supertrend" gives only one option when the price approaches the stop line, and we expect the breakdown of the stop line or bounce - usually it line 2 in devstop and is close to a 50/50 probability, without more detailed analysis. At the same time "devstop" gives us a choice as a last line of third standard deviations which in most cases is a real line of support or resistance. I think this may facilitate trade.

Calculating standard deviations for different lookback periods is what might cause the CPU load. I think you will get a similar result, if you replace the standard deviation by a fixed multiplier to get the bands. This will also take into account the dispersion of volatility, but not adapt to variations in the dispersion, which are probably minor effects. If you use bands with a fixed multiplier this is equal to a dual or triple SuperTrend indicator.

See chart attached.

Attached Thumbnails
Click image for larger version

Name:	ES 06-11 (15 Min) 13_05_2011.jpg
Views:	480
Size:	95.4 KB
ID:	38565  
Reply With Quote
Thanked by:
  #6 (permalink)
 
Pazan's Avatar
 Pazan 
Asia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker: Mirus Futures/Zen-Fire, TransAct/Infinity
Trading: 6E
Posts: 31 since Nov 2009
Thanks Given: 14
Thanks Received: 10

Thanks. It's useful.
It's like the eternal dispute between the standard deviation and average true range.

Started this thread Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Pazan View Post
Thanks. It's useful.
It's like the eternal dispute between the standard deviation and average true range.

It depends what you look for. It is true that I prefer Keltner Channels to Bollinger Bands, but that is a personal choice.

By the way the DevStop uses both of them. It uses a complication of the average true range to plot the first line, and then adds further bands by using the standard deviation of volatility.

Reply With Quote
  #8 (permalink)
 
Pazan's Avatar
 Pazan 
Asia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker: Mirus Futures/Zen-Fire, TransAct/Infinity
Trading: 6E
Posts: 31 since Nov 2009
Thanks Given: 14
Thanks Received: 10


Fat Tails View Post
It depends what you look for. It is true that I prefer Keltner Channels to Bollinger Bands, but that is a personal choice.

By the way the DevStop uses both of them. It uses a complication of the average true range to plot the first line, and then adds further bands by using the standard deviation of volatility.

Yes. I know about SD for ATR in DevStop and i like it.
Is this not the empowerment of the so well known and does not cause it synergy when combined?

Started this thread Reply With Quote
  #9 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

Just installed DevStop and tried to apply it to a chart. It crashed my whole machine by causing an out-of-memory exception.

This indicator is unusable and has serious bugs. It builds up data of several GBytes in the RAM until it explodes. This even happens when not connected.

Also the formulas are overcomplicated and do probably not reflect the original concept of Cynthia Kase.

So let us build this thing from scratch, it should not be difficult to do it. we can then compare it to the SuperTrend. I am sure that the indicator is not useless.

Attached Thumbnails
Click image for larger version

Name:	Crash.JPG
Views:	258
Size:	179.0 KB
ID:	38566  
Reply With Quote
  #10 (permalink)
 
Pazan's Avatar
 Pazan 
Asia
 
Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker: Mirus Futures/Zen-Fire, TransAct/Infinity
Trading: 6E
Posts: 31 since Nov 2009
Thanks Given: 14
Thanks Received: 10



Fat Tails View Post
Just installed DevStop and tried to apply it to a chart.

It crashed my whole machine by causing an out-of-memory exception.

This indicator is unusable and has serious bugs. It builds up data of several GBytes in the RAM until it explodes.

This even happens when not connected.

I got the same thing.
I use a minute bars and not loaded for this over than 2 days, then it works.

Started this thread Reply With Quote




Last Updated on October 28, 2011


© 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