Drive Indicator Converted to ninja 7 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Drive Indicator Converted to ninja 7
Updated: Views / Replies:4,342 / 20
Created: by ticnau Attachments:9

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
 9  
 
Thread Tools Search this Thread
 

Drive Indicator Converted to ninja 7

  #11 (permalink)
Elite Member
Buderim Queensland Australia
 
Futures Experience: Advanced
Platform: ninja
Broker/Data: AMP/Zenfire
Favorite Futures: 6E, 6B, YM
 
Posts: 79 since Jul 2009
Thanks: 120 given, 24 received

Drive

Still doesn't work for me all i get is a flat straight line??? Any suggestions??

Reply With Quote
The following user says Thank You to ticnau for this post:
 
  #12 (permalink)
Elite Member
Los Angeles
 
Futures Experience: Beginner
Platform: SC, MT,
Broker/Data: Forex
Favorite Futures: Forex
 
Poocher's Avatar
 
Posts: 303 since Jun 2009
Thanks: 360 given, 106 received

Same here. It imports to NT7 but there's just a flat line at zero.

Ticnau you and I should become programmers so we can fix things like this!

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



ticnau View Post
Still doesn't work for me all i get is a flat straight line??? Any suggestions??

The original indicator had quite a number of coding bugs, which I had not addressed, when I fixed the other problems. I have now tried to remove them all. Also I have normalized the indicator to work with FOREX.

Problem is that the indicator was poorly translated from MetaTrader to NinjaTrader. I do not know, whether the new version is still comparable to the original MetaTrader indicator.

Just found the source for the MetaTrader indicator:

http://codebase.mql4.com/639

I have replaced the indicator file in post #10, so you need to download it again.

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

Trendfilter & Measuring Volatiity

This indicator is not so bad. If you slightly reduce the period you get a nice trendfilter & volatilitymeter.

I did not like the histogram, so I played around a little and have further modified the indicator. It is now normalized and shaded. The color of the shading gives you a bullish or bearish indication. The absolute value of the indicator is an indicator of volatility.

You want to enter a long position, when volatility is rising and the trendfilter is green. You want to enter a short position when volatiltiy is rising and the trendfilter is red.

The concept can be improved by measuring the relative momentum of the up and down drives.

I called this indicator SuperDrive, as it is now quite different from the original indicator.

Guess I will make some more changes, suggestions welcome.

Attached Thumbnails
Drive Indicator Converted to ninja 7-superdrive.jpg  
Attached Files
Register to download File Type: zip SuperDrive.zip (6.6 KB, 41 views)
Reply With Quote
The following 10 users say Thank You to Fat Tails for this post:
 
  #15 (permalink)
Elite Member
Los Angeles
 
Futures Experience: Beginner
Platform: SC, MT,
Broker/Data: Forex
Favorite Futures: Forex
 
Poocher's Avatar
 
Posts: 303 since Jun 2009
Thanks: 360 given, 106 received

Many thanks Fat Tails for your generosity.

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


Poocher View Post
Many thanks Fat Tails for your generosity.

I am stealing ideas from everybody and then transform them into workable trading strategies and indicators.

This is not generosity, but coproduction and I am one of the beneficiaries.

Reply With Quote
 
  #17 (permalink)
Elite Member
Buderim Queensland Australia
 
Futures Experience: Advanced
Platform: ninja
Broker/Data: AMP/Zenfire
Favorite Futures: 6E, 6B, YM
 
Posts: 79 since Jul 2009
Thanks: 120 given, 24 received

Fix Things

Poocher i have often thought exactly the same thing, however when i read the code listed on some of these indicators i would have to undergo a new learning curve and at my age probably not high on my list of priorities. good thought though.

Fat tails thank you for your support it is much appreicated and if it works i owe you one, i will check the indicator when i get home from work probably close to US market open and let you know if works ok. thanks a million for your assistance.

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

This indicator is simply based on the average range and the momentum over a lookback period. The two lines stand for the average range + a 1-bar momentum component and the average range - a 1-bar momentum component. Then it is smoothed with the T3 indicator.

I have recoded it now based on

- an arithmetic average of the true range (instead of the range)
- an enhanced momentum indicator
- the HMA, which replaces the T3

This is not so much different from the original concept, but just a slight improvement. Next step would be the normalization of the indicator. This allows to introduce a volatility threshold. If volatility is below - no trading.

Attached Thumbnails
Drive Indicator Converted to ninja 7-fdax-03-11-15-min-10_01_2011.jpg  
Attached Files
Register to download File Type: zip SuperDrive.zip (11.6 KB, 55 views)

Last edited by Fat Tails; January 10th, 2011 at 07:21 AM.
Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #19 (permalink)
Elite Member
Buderim Queensland Australia
 
Futures Experience: Advanced
Platform: ninja
Broker/Data: AMP/Zenfire
Favorite Futures: 6E, 6B, YM
 
Posts: 79 since Jul 2009
Thanks: 120 given, 24 received

Super Drive

Seems to be working fine for me now

THANKS a million Fat Tails

Reply With Quote
 
  #20 (permalink)
Elite Member
Helsinki/Finland
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ETF
 
Posts: 1 since Oct 2012
Thanks: 4 given, 0 received



Fat Tails View Post
This indicator is not so bad. If you slightly reduce the period you get a nice trendfilter & volatilitymeter.

Hello,
Thank you for coding this. It looks interesting indeed.
Am I able to pull the values into another indicator?

I would like to pull out the basic numeric values of both curves to be use in a formula.

If I try something like this
 
Code
else if
				(
				anaSuperDrive.DriveUp (10,3)[0]-anaSuperDrive.DriveDown (10,3)[0]>0
				)
			{
				points = 500;
			}
I get the error: 'NinjaTrader.Indicator.Indicator.anaSuperDrive(int, int)' is a 'method', which is not valid in the given context when compiling the script.

Reply With Quote

Reply



futures io > > > > > Drive Indicator Converted to ninja 7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninja Indicator to Ninja Strategy emini_Holy_Grail NinjaTrader Programming 10 March 10th, 2013 12:23 AM
What a hard drive looked like in 1956 kbit Off-Topic 1 July 20th, 2011 08:05 PM
NinjaTrader Market Analyzer converted to MetaTrader c12345 MetaQuotes MetaTrader MQL Programming 1 October 12th, 2010 09:07 AM
Drive cory Off-Topic 3 October 1st, 2010 04:17 PM
Can this be TOS indicator be converted? suchen The Elite Circle 0 October 23rd, 2009 12:04 AM


All times are GMT -4. The time now is 02:41 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-14 in 0.12 seconds with 20 queries on phoenix via your IP 54.221.76.68