price type code for indicatos - NinjaTrader Programming | futures io social day trading
futures io futures trading


price type code for indicatos
Updated: Views / Replies:1,557 / 7
Created: by traderTX Attachments:2

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
 

price type code for indicatos

  #1 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

price type code for indicatos

hi,
most of my programming experience was back in engineering school doing fortran.
so i have heard programming got alot easier since those days.

so is it possibel to explain step by step in detail to a newbie like me how to put the price type parameter in an indicator like the stochastics that comes with ninja or the stochastics_with smoothing which is available for download on the ninja_support site?

is it as simple as going to the editor in the ninja control center and opening the indicator and sticking some code in there OR could it be done with the ninja indicator wizard?

thanks

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)
 Vendor: www.integrity-traders.com 
East Rochester, NY
 
Futures Experience: Intermediate
Platform: NT
 
eDanny's Avatar
 
Posts: 327 since Jul 2009
Thanks: 17 given, 419 received


Try this. Open the Stochastics indicator for editing. Right click and Save As a different name. Add this in the Initialize section:

PriceTypeSupported = true;

Then look for this line:

nom.Set(Close[0] - MIN(Low, PeriodK)[0]);

and change the Close[0] to Input[0] so it looks like this:

nom.Set(Input[0] - MIN(Low, PeriodK)[0]);

Then right click, select compile, click OK and close the editor. Load the indicator on your chart and test it. Dan

Reply With Quote
The following 2 users say Thank You to eDanny for this post:
 
  #4 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

Thank you eDanny, worked on the Stochastics and Stochastics with Smoothing indicators.

i have been trying duplicate the stochastics on another charting software, Ensign, that i use. Ensign has a little different terminology for the stochastics. but i think i have all the parameters set correct. i have them close now but still something is not quite the same...

Reply With Quote
 
  #5 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

is that code for ninja 7 or just 6.5

hi eDanny,
does the code you mention in your post to me work for both Ninja 7 and 6.5 ?
i will give it a try..

ok, it seems to have worked ok with the "stochastics" indicator , that is compiled ok on ninja 7.
but the stochasticswithsmoothing indicator gives an error on compiling. even though i saved the indicator as stochasticswithsmoothing2, and only changed lines in the copy i saved.
neither stochasticswithsmoothing indicator will now compile.
perhaps because it wasnt converted to ninja7?

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"

Last edited by traderTX; August 19th, 2013 at 05:51 PM.
Reply With Quote
 
  #6 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).




here is what the error looks like after compiled.
do you know how to fix it ?

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"
Reply With Quote
 
  #7 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

here is a snapshot of the indicator with the error message.
i didnt realize the original didnt have an error message.

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"
Attached Thumbnails
price type code for indicatos-stochasticssmoothing2.jpg  
Reply With Quote
 
  #8 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 146 since Mar 2010
Thanks: 50 given, 37 received

Success !

on the line 150, i had to change the MA_Type to MA_Type2
Thanks to Ninja support CAL.
then it compiled,
and i was able to add the two lines so that types of price type , hi, lo, close, open, median could be used to calc the indicator.

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"
Reply With Quote

Reply



futures io > > > > > price type code for indicatos

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
Reversal Bar Type monolisa NinjaTrader 18 August 2nd, 2012 11:02 AM
Chart type import ? Breakout Traders Hideout 5 August 11th, 2010 10:01 PM
price action channel type indicator emini_Holy_Grail Traders Hideout 4 August 5th, 2010 09:07 AM
Using different type charts together essiar Trading Journals 6 December 14th, 2009 07:53 PM
Code to draw a hash on the main price window cunparis NinjaTrader Programming 10 November 17th, 2009 09:59 AM


All times are GMT -4. The time now is 02:24 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-12 in 0.10 seconds with 20 queries on phoenix via your IP 54.90.207.75