DevStop indicator need to be fixed - NinjaTrader Programming | futures io social day trading
futures io futures trading


DevStop indicator need to be fixed
Updated: Views / Replies:11,656 / 35
Created: by Pazan Attachments:13

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 13  
 
Thread Tools Search this Thread
 

DevStop indicator need to be fixed

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

DevStop indicator need to be fixed

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

Reply With Quote
The following user says Thank You to Pazan for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary



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
The following 6 users say Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
Asia
 
Futures Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker/Data: Mirus Futures/Zen-Fire, TransAct/Infinity
Favorite Futures: 6E
 
Pazan's Avatar
 
Posts: 31 since Nov 2009
Thanks: 14 given, 10 received

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.

Reply With Quote
The following user says Thank You to Pazan for this post:
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary


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
DevStop indicator need to be fixed-es-06-11-15-min-13_05_2011.jpg  
Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #6 (permalink)
Elite Member
Asia
 
Futures Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker/Data: Mirus Futures/Zen-Fire, TransAct/Infinity
Favorite Futures: 6E
 
Pazan's Avatar
 
Posts: 31 since Nov 2009
Thanks: 14 given, 10 received

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

Reply With Quote
 
  #7 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary


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)
Elite Member
Asia
 
Futures Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker/Data: Mirus Futures/Zen-Fire, TransAct/Infinity
Favorite Futures: 6E
 
Pazan's Avatar
 
Posts: 31 since Nov 2009
Thanks: 14 given, 10 received


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?

Reply With Quote
 
  #9 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary

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
DevStop indicator need to be fixed-crash.jpg  
Reply With Quote
 
  #10 (permalink)
Elite Member
Asia
 
Futures Experience: Intermediate
Platform: NinjaTrader, MarketDelta
Broker/Data: Mirus Futures/Zen-Fire, TransAct/Infinity
Favorite Futures: 6E
 
Pazan's Avatar
 
Posts: 31 since Nov 2009
Thanks: 14 given, 10 received



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.

Reply With Quote

Reply



futures io > > > > > DevStop indicator need to be fixed

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rithmic data service down ? Is it fixed ? MetalTrade Reviews of Brokers and Data Feeds 3 September 22nd, 2011 12:38 PM
Fixed Fractional Money Management geezer NinjaTrader Programming 3 July 17th, 2011 11:50 AM
Placing a floor using fixed trailing stop RM99 EasyLanguage Programming 2 July 13th, 2011 01:13 AM
Pyratool or Fixed Angle Trendline for NinjaTrader Bengaltiger Traders Hideout 5 December 23rd, 2010 09:39 AM
Fixed position for text on a chart Henrik EasyLanguage Programming 6 August 8th, 2010 03:19 PM


All times are GMT -4. The time now is 07:31 AM.

Copyright © 2017 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
Page generated 2017-12-11 in 0.15 seconds with 20 queries on phoenix via your IP 54.226.132.197