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 Quick Summary 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,935 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

  #21 (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,103


MikaK View Post
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.

@MikaK: The syntax is false. Please call it this way:

 
Code
if (anaSuperDrive(10,3).DriveUp[0] - anaSuperDrive(10,3).DriveDn[0] > 0)

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
About a successful futures trader who didnt know anythin …
Psychology and Money Management
MC PL editor upgrade
MultiCharts
Quantum physics & Trading dynamics
The Elite Circle
 




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