Want to create an indicator and have no idea where to start? - NinjaTrader Programming | futures io social day trading
futures io futures trading


Want to create an indicator and have no idea where to start?
Updated: Views / Replies:10,992 / 93
Created: by forrestang Attachments:30

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

Want to create an indicator and have no idea where to start?

  #11 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received


ThatManFromTexas View Post
Which one caused the error?

It was this one:
https://futures.io/free_downloads/vip_elite_circle/429-download.html?view

Reply With Quote
 
  #12 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received




Ok, skip that one. It was exported in NT 6.5.

If the others worked, they should give you a basis to build from.

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
 
  #13 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received



TMFT View Post
Ok, skip that one. It was exported in NT 6.5.

If the others worked, they should give you a basis to build from.

Do you, or anyone for that matter know where any good BASIC tutorials are that explain syntax, and the basic structure of how the files are created?

I think trying to sort through most of these files at the beginning trying to understand them is a bit of trouble for me.

I kind of want to create something from scratch so that I understand what is going on.

Reply With Quote
 
  #14 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received


forrestang View Post
Do you, or anyone for that matter know where any good BASIC tutorials are that explain syntax, and the basic structure of how the files are created?

I think trying to sort through most of these files at the beginning trying to understand them is a bit of trouble for me.

I kind of want to create something from scratch so that I understand what is going on.

Not the way you want.

If you go to NT Support forum they will refer you to their sample code and suggest you read them and copy and paste.

Try this

http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?VideoLibrary

NinjaTrader Version 7

Reference Samples - NinjaTrader Support Forum

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
 
  #15 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received


ThatManFromTexas View Post
Not the way you want.

If you go to NT Support forum they will refer you to their sample code and suggest you read them and copy and paste.

Try this

http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?VideoLibrary

NinjaTrader Version 7

Reference Samples - NinjaTrader Support Forum

Thanks. Ya, I've been there. I'm going to just have to start from the beginning and hope I can get something workable. Reading the manual now.

Reply With Quote
 
  #16 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received

Woot! "Phase 1" of my hopeless journey complete!

As mentioned, I am working with 3 oscilators( 2 histograms and 1 regular oscilator). I have FINALLY figured out how to get access to them, and have successfully painted an arrow based on the vertical position of these oscilators on the chart. I.e. if >10, draw an arrow. This is just so I can see what is going on.

Now I need to continue, and get access to the colors of these histograms.

After that, it will be getting access to some color bars that one of the oscilators paints which might be a bit more complicated as it is based on the swings.

Then it will simply be all the various conditional statements to create my logic.

Reply With Quote
 
  #17 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received


forrestang View Post
Woot! "Phase 1" of my hopeless journey complete!

As mentioned, I am working with 3 oscilators( 2 histograms and 1 regular oscilator). I have FINALLY figured out how to get access to them, and have successfully painted an arrow based on the vertical position of these oscilators on the chart. I.e. if >10, draw an arrow. This is just so I can see what is going on.

Now I need to continue, and get access to the colors of these histograms.

After that, it will be getting access to some color bars that one of the oscilators paints which might be a bit more complicated as it is based on the swings.

Then it will simply be all the various conditional statements to create my logic.


Post what you have written so far so others can give you pointers.

Either add the indicator as an attachment (paper clip) or copy the code and paste it here with the Code symbol "#" .

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
The following user says Thank You to ThatManFromTexas for this post:
 
  #18 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received


ThatManFromTexas View Post
Post what you have written so far so others can give you pointers.

Either add the indicator as an attachment (paper clip) or copy the code and paste it here with the Code symbol "#" .

Ok, here is it is. These are ProfLogic's indicators that he gives to anyone who requests them.

I have attached the NT7 file itself along with the template I use. Also is my .cs file that I created. And a picture of how I have mine set up. Let me know if there is something that is unclear, or if I have mis attached the files.

Two separate indicators are on the chart.

Attached Thumbnails
Want to create an indicator and have no idea where to start?-prime2011-05-27_171601.jpg  
Attached Files
Register to download File Type: cs ProfTest.cs (6.4 KB, 39 views)
Register to download File Type: xml ERG_PL5_Alert_Smooth.xml (26.0 KB, 36 views)
Register to download File Type: zip ERG_NT7 2011-05-12.zip (52.3 KB, 46 views)

Last edited by forrestang; May 28th, 2011 at 03:01 PM.
Reply With Quote
The following 2 users say Thank You to forrestang for this post:
 
  #19 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received


forrestang View Post

...........Now I need to continue, and get access to the colors of these histograms.



Ok, looks like NT does NOT allow direct reference of the color bars, or colors of the oscillators. It seems you can set it, but you can't reference it later. So, i'll have to figure out how to recreate the conditions that make the colors within the studies.

Reply With Quote
 
  #20 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received



forrestang View Post
Ok, looks like NT does NOT allow direct reference of the color bars, or colors of the oscillators. It seems you can set it, but you can't reference it later. So, i'll have to figure out how to recreate the conditions that make the colors within the studies.

Ok, color is based on the slope. But also there is a buffer factor added into the color change of the histogram.

Example, If Hist[0] > Hist[1], then slope is up and color is green. BUT... for it to change back to black, it has to change by a greater amount than the buffer(default is 0.1).

Reply With Quote

Reply



futures io > > > > > Want to create an indicator and have no idea where to start?

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
Is there a Programmer that can create this Congestion Indicator nillz123 NinjaTrader 9 December 28th, 2013 01:19 PM
Simple Divergence and Stop Box Indicator Idea! tdaman Platforms and Indicators 5 May 16th, 2011 09:44 AM
want to create a new indicator. joyginy NinjaTrader Programming 5 January 18th, 2010 06:52 PM
Create this indicator Zoethecus NinjaTrader Programming 16 November 16th, 2009 07:56 PM
trying to create a Trend Line Rejection Indicator Eric NinjaTrader Programming 5 October 27th, 2009 03:45 PM


All times are GMT -4. The time now is 03:18 PM.

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.172.30