Questions on building an indicator/strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading

Questions on building an indicator/strategy
Updated: Views / Replies:1,337 / 4
Created: by GridKing Attachments:1

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 100,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

Thread Tools Search this Thread

Questions on building an indicator/strategy

  #1 (permalink)
Elite Member
San Diego, CA USA
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
GridKing's Avatar
Posts: 3,650 since May 2011
Thanks: 588 given, 877 received

Questions on building an indicator/strategy

Hey all, thanks in advance

I am very new to programming so not really sure about what needs to be considered in the process of building a strategy/system/indicator from scratch so I'll just throw out some of the things I would like to consider including and would really appreciate advice on how to go about it and some technical assistance as well.

I have a basic starting point using $Tick and a MacD signal based on 30 second period , using CME U.S. index futures RTH , i manually selected these , the only code is the macd and signals , I would like to add some things to it but not sure where to draw the line at creating a separate indicator or if they can work together etc.. I also don't know how to work from a different data series too combine data, I did read up on add data series to add an instrament behind the scenes and have been able to plot the second dataseries , but don't really know how to work from one to the other -
I would like for example to have a signal generated on the ES data series with the price at time of $Tick signal/Macd is generated and place a marker for a 2 point stop marking both points -- (using line on close for $Tick)

I would also like to try to create a more detailed signal that when first signal is generated that it would look for a combination of a higher price and lower $Tick in the bars moving forward from the signal if possible - and reverse

Further I would like to find a way to include a 3 day sma of daily pivot and weekly pivot to use as a trend signal for minor and major as shown in Trend Trader's page The Pattern Trapper - Weintraub Trend Trader Explained

The short term trend is a three day moving average of the Daily Pivot = 3x1
The long term trend is the Weekly Pivot = 7x5

Price > than 3x1 and 7x5...Buy
Price < than 3x1and 7x5... Sell
Price > above 3x1 but < 7x5...minor buy
Price < below 3x1 but > 7x5...minor sell.

and finally I would like to call on prior day ohlc (of ES not primary data source $Tick)and today's ohl to establish rules that would define to use high or low of previous , to high or low of current and draw a fib retrace auto

I would like to know what is the best way to tie all of these things together and what are some of the considerations that need to be thought of as I run into different time.periods etc.. and I am having trouble understanding how to reference pivot and how to create a moving average of pivot or should I just be able to input those numbers manually or ??

And I don't know how to go about producing a signal on ES that is in ES data price and not based on the $Tick value

thanks for any help and advice

The signals in middle panel are only coded - the signals in bottom panel I would like to code

Attached Thumbnails
Questions on building an indicator/strategy-tick.rawsystem.png  

Last edited by GridKing; July 13th, 2011 at 08:48 PM.
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
San Diego, CA USA
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
GridKing's Avatar
Posts: 3,650 since May 2011
Thanks: 588 given, 877 received

Can this be moved to Elite

thanks, not sure where to put

Reply With Quote
  #4 (permalink)
Fortitudo et Honor
Austin, TX
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
Posts: 882 since Mar 2011
Thanks: 128 given, 710 received

The fastest way to learn to code is 2 fold.

Obviously you can buy or find free training courses and reference material, and I would recommend that.

The second part, is to learn to do like the Chinese do and simply reverse engineer code that's already been done for you.

I highly recommend spending a couple of hundred dollars and having a professional code out EXACTLY what it is that you're wanting to achieve. THEN, you can see exactly the approach, simple methods, syntax, etc that professionals use.

If you have specific questions and what not, there's several people in (formerly BMT) that will help you. OR if you're patient, you can work through the code and progressively ask questions.

However, as I stated, the quickest way is to learn from other people's considerable work/effort and see their craft already laid out.

I can now do in a few minutes what took me hours to do before. Much of that was simply learning not from textbooks or courses, but from a growing list of "tricks" and "methods" for various parts of a strategy or indicator.

"A dumb man never learns. A smart man learns from his own failure and success. But a wise man learns from the failure and success of others."
Reply With Quote
The following user says Thank You to RM99 for this post:
  #5 (permalink)
Elite Member
San Diego, CA USA
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
GridKing's Avatar
Posts: 3,650 since May 2011
Thanks: 588 given, 877 received

Thanks , I can learn it , I just was hoping for some hints if there is anything in there that is not worth the effort of figuring out , or if there is anything mentioned that should be seperated and not tied together , if coding or otherwise is possible for a moving average using pivot data as i was unable to produce this manually through indicator panel but maybe just wasn't enough data available

hopefully come up with more specific questions as time moves forward , thanks

Reply With Quote


futures io > > > > > Questions on building an indicator/strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

July Journal Challenge - $500 in Amazon Gift Cards!


AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a PC for Discretionary/Automated Trading and Strategy Development nlhaines Tech Support 50 January 13th, 2017 05:18 PM
Building a Trading Strategy with Market Profile - Robin Mesch BCNTrader Traders Hideout 6 February 20th, 2012 04:09 PM
Strategy Questions doseone NinjaTrader Programming 13 July 7th, 2010 10:50 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 06:24 PM

All times are GMT -4. The time now is 01:29 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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 2018-07-15 in 0.11 seconds with 15 queries on phoenix