anaSuperTrendU11 used in separate indicator - NinjaTrader Programming | futures io social day trading
futures io futures trading


anaSuperTrendU11 used in separate indicator
Updated: Views / Replies:796 / 6
Created: by KrazyTrader Attachments:0

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

anaSuperTrendU11 used in separate indicator

  #1 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, CL
 
Posts: 46 since Aug 2013
Thanks: 52 given, 6 received

anaSuperTrendU11 used in separate indicator

Hello All,

I'm referencing @Fat Tails anaSuperTrendU11 in a separate indicator and looking for some kinda short cut or a simpler way. My current coding ability has me writing anaSuperTrendU11(1,1,1,false, anaSuperTrendU11BaseType.Median, etc, etc, UpTrend== true/false or StopLine. Is there a better way?? Something like ST1 = anaSuperTrendU11(1,1,1,false, anaSuperTrendU11BaseType.Median, etc, etc, UpTrend== true/false or StopLine. Or ST1.UpTrend or ST1.StopLine = anaSuperTrendU11(1,1,1,false, anaSuperTrendU11BaseType.Median, etc, etc, UpTrend== true/false or StopLine. Then i can code ST1. ??


Thanks in advance.

Difference between discomfort and pain = 1 tick
Reply With Quote
 
  #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


You can basically declare a new instance of the SuperTrend in the variables section and then once set the parameters for this instance in OnStartUp().

In that case you do not need to list all the parameters more than once.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, CL
 
Posts: 46 since Aug 2013
Thanks: 52 given, 6 received


Fat Tails View Post
You can basically declare a new instance of the SuperTrend in the variables section and then once set the parameters for this instance in OnStartUp().

In that case you do not need to list all the parameters more than once.

I think i understand the variables part. How do i set parameters in OnStartUp()?

Thanks so much.

Difference between discomfort and pain = 1 tick
Reply With Quote
 
  #5 (permalink)
Elite Member
NewDelhi ,India
 
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: crudeoil
 
DELTA007's Avatar
 
Posts: 156 since Oct 2014
Thanks: 384 given, 169 received

How about adding adaptive supertrend option to it?

Keep It Simple
Reply With Quote
 
  #6 (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


KrazyTrader View Post
I think i understand the variables part. How do i set parameters in OnStartUp()?

Thanks so much.


Variables:
 
Code
private  anaSuperTrendU11  STU;

OnStartUp:
 
Code
protected override void OnStartUp()
{
     STU = anaSuperTrendU11(basePeriod, multiplier, rangePeriod, false, thisBaseType, thisOffsetType, thisVolaType);
}

If you want to display the SuperTrendU11 via your indicator, you will need to add a plot for this purpose.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #7 (permalink)
Elite Member
Dallas, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, CL
 
Posts: 46 since Aug 2013
Thanks: 52 given, 6 received


Fat Tails View Post
Variables:
 
Code
private  anaSuperTrendU11  STU;

OnStartUp:
 
Code
protected override void OnStartUp()
{
     STU = anaSuperTrendU11(basePeriod, multiplier, rangePeriod, false, thisBaseType, thisOffsetType, thisVolaType);
}

If you want to display the SuperTrendU11 via your indicator, you will need to add a plot for this purpose.

@ Fat Tails that's a breakthrough for me. Thanks so much!!!!

Difference between discomfort and pain = 1 tick
Reply With Quote

Reply



futures io > > > > > anaSuperTrendU11 used in separate indicator

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
How to Reveal anaSuperTrendU11 Trend Direction? aventeren NinjaTrader Programming 31 August 26th, 2016 02:15 PM
separate area for OEC programming abdunbar EasyLanguage Programming 3 July 16th, 2015 11:28 AM
Separate Rig For Internet ? tderrick Tech Support 6 January 9th, 2014 07:32 AM
Separate orders at the same price DarkPoolTrading NinjaTrader 2 April 7th, 2013 06:24 AM
Range chart separate minute elsevillano NinjaTrader Programming 10 March 22nd, 2011 03:01 PM


All times are GMT -4. The time now is 07:43 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.11 seconds with 19 queries on phoenix via your IP 54.226.132.197