NexusFi: Find Your Edge


Home Menu

 





Drive Indicator Converted to ninja 7


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 8 posts (17 thanks)
    2. looks_two ticnau with 6 posts (2 thanks)
    3. looks_3 Poocher with 2 posts (1 thanks)
    4. looks_4 sam028 with 1 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 2.1 thanks per post
    2. looks_two flyscalper with 1 thanks per post
    3. looks_3 Poocher with 0.5 thanks per post
    4. looks_4 ticnau with 0.3 thanks per post
    1. trending_up 8,621 views
    2. thumb_up 21 thanks given
    3. group 4 followers
    1. forum 20 posts
    2. attach_file 12 attachments




 
Search this Thread

Drive Indicator Converted to ninja 7

  #1 (permalink)
 ticnau 
Buderim Queensland Australia
 
Experience: Advanced
Platform: ninja
Broker: AMP/Zenfire
Trading: 6E, 6B, YM
Posts: 89 since Jul 2009
Thanks Given: 121
Thanks Received: 25

Would/could any kind person with programming experience convert this indicator to ninja 7 please I have no programming ability at all. Thanks a million

Attached Files
Elite Membership required to download: Drive.zip
Started this thread Reply With Quote
The following user says Thank You to ticnau for this post:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Request for MACD with option to use different MAs for fa …
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 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



ticnau View Post
Would/could any kind person with programming experience convert this indicator to ninja 7 please I have no programming ability at all. Thanks a million

Had a quick look at the Drive indicator. It references another indicator called T3, which is included in the zip file as well.

The problem is that there is already a system indicator called T3 that comes with NT7, so the two different T3 indicators will be conflicting. To solve this you would need to rename the indicator T3 to something else, for example T4, and then replace T3 with T4 in the code of the Drive indicator. That is the first step. There might be a few other things to consider.

You can do this actually by editing the indicator with NT 6.5:

(a) edit indicator T3, save as T4 and then compile via F5
(b) edit Drive indicator, replace all places where "T3" is called with "T4" and compile via F5
(c) export Drive indicator with T4 indicator included in the export file
(d) post the export file right here

We can then check, whether it is running on NT7.

Reply With Quote
  #4 (permalink)
 ticnau 
Buderim Queensland Australia
 
Experience: Advanced
Platform: ninja
Broker: AMP/Zenfire
Trading: 6E, 6B, YM
Posts: 89 since Jul 2009
Thanks Given: 121
Thanks Received: 25

Thank you Fat Tails you are a gem - i am not a programmer but have followed your instructions and have attached to this. Once again thanks a million for your assistance.

Attached Files
Elite Membership required to download: Drive(2).zip
Started this thread Reply With Quote
  #5 (permalink)
 ticnau 
Buderim Queensland Australia
 
Experience: Advanced
Platform: ninja
Broker: AMP/Zenfire
Trading: 6E, 6B, YM
Posts: 89 since Jul 2009
Thanks Given: 121
Thanks Received: 25

Sorry Fat Tails forgot to tell you it wont 'compile' has errors??

Started this thread Reply With Quote
  #6 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


ticnau View Post
Sorry Fat Tails forgot to tell you it wont 'compile' has errors??

@ Fat Tails indicator is working as expected.
Did you remove the previous "Drive" indicator before importing this one ?

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter 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


ticnau View Post
Thank you Fat Tails you are a gem - i am not a programmer but have followed your instructions and have attached to this. Once again thanks a million for your assistance.

Congratulations!

The indicator you created works perfectly and can be imported by NT7 without any problems. Below is an ES chart generated with NT7 that shows the indicator.

It is a nice indicator, where did you get it? It seems to follow a logic similar to the Directional Movement, but has a volatility component, as both lines rise, when the volatility increases. Also it has some smoothing. You could trade the crosses, if volatility is high enough, so I would try to add a reference line similar to the threshold for the ADX.

If you have any problems importing it, this can be related to other files. Just let us know the error message.

Attached Thumbnails
Click image for larger version

Name:	ES 03-11 (15 Min) 07_01_2011.jpg
Views:	319
Size:	86.4 KB
ID:	28061  
Reply With Quote
  #8 (permalink)
 flyscalper 
Barcelona, Spain
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: Futures
Posts: 24 since Jul 2009
Thanks Given: 35
Thanks Received: 7

Excuse if I am wrong but it seems that drive(2) is still calling to T3 (which is NT7 "native") instead of T4...

Un saludo,

Pablo

Reply With Quote
The following user says Thank You to flyscalper for this post:
  #9 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,606 since Aug 2009
Thanks Given: 11,327
Thanks Received: 2,736


flyscalper View Post
Excuse if I am wrong but it seems that drive(2) is still calling to T3 (which is NT7 "native") instead of T4...

Un saludo,

Pablo

The variables in the NT7 version changed from INT to DOUBLE or vice-versa from NT6.5.

The conversion would be to change the indicator to read the newer NT7 version but instead they decided to create a new T3 indicator and renamed it T4. I've not check to see how they compare.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
  #10 (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



flyscalper View Post
Excuse if I am wrong but it seems that drive(2) is still calling to T3 (which is NT7 "native") instead of T4...

Un saludo,

Pablo


You are right. Drive 2 calls T3. Actually the new system indicator T3 is an updated (generalized) version of the old T3 indicator, which was not a system indicator. So it is better to use Drive with the new indicator T3.

Drive2 is a modified índicator to comply with the new system indicator T3. But then T4 is not needed anyhow. So you can simply delete it.

For all those who want to import a correct version that includes the system indicators that are referenced, here it is:

Attached Thumbnails
Click image for larger version

Name:	6E 03-11 (5 Min) 07_01_2011.jpg
Views:	259
Size:	94.1 KB
ID:	28080  
Attached Files
Elite Membership required to download: Drive.zip
Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:





Last Updated on February 26, 2013


© 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