Complete noob programming MTF and nested indicator - Traders Hideout | futures io social day trading
futures io futures trading


Complete noob programming MTF and nested indicator
Updated: Views / Replies:1,303 / 2
Created: by nirajkrishna 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
 

Complete noob programming MTF and nested indicator

  #1 (permalink)
Elite Member
McKinney, TX
 
Futures Experience: Intermediate
Platform: Ninjatrader, ThinkorSwim
Broker/Data: IB
Favorite Futures: Equities
 
Posts: 58 since Nov 2009
Thanks: 5 given, 88 received

Complete noob programming MTF and nested indicator

I am trying to program a multi time frame strategy, and I just figured out how to do it. I know it is child's play to many of you. But then I thought I might show off a little and try a random indicator within an indicator with the MTF. And keep in mind I have no clue what I am doing.... My little random example is not paying attention to all of my criteria. I dont know why? I may have a misplaced curly brace or my syntax is just wrong. I am not sure. I know this is a stupid calculation, but I am just trying to make sure I can do it if I needed to. Here is what I was trying. Any help would be great!

 
Code
                            
 protected override void OnBarUpdate()
        {
            
// OnBarUpdate() will be called on incoming tick events on all Bars objects added to the strategy
            // We only want to process events on our primary Bars object (index = 0) which is set when adding
            // the strategy to a chart
            
if (BarsInProgress != 0)
                return;
            
// Condition set 1
            
            // Checks  if the 6 ADXVMA of the Stochastic RSI 50 is greater than the 21 ADXVMA of the Stochastic RSI 50 on the second and third series of Charts
            
if (ADXVMA(StochRSI(BarsArray[1],50),6).ADXVMAPlot[0] > ADXVMA(StochRSI(BarsArray[1],500),21).ADXVMAPlot[0]&&
                
ADXVMA(StochRSI(BarsArray[2],50),6).ADXVMAPlot[0] > ADXVMA(StochRSI(BarsArray[2],50),21).ADXVMAPlot[0]);
            
           
            {     
                if (
CrossAbove(StochasticMomentumIndex(3412010).SMIStochasticMomentumIndex(3412010).SMIEMA1)&&
                    
ADXVMA(StochRSI(50),6).ADXVMAPlot[0] > ADXVMA(StochRSI(50),21).ADXVMAPlot[0]);
                
EnterLong(300000"SMILong");
            }
        } 


Last edited by sam028; March 26th, 2011 at 09:40 AM. Reason: add php tag
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
McKinney, TX
 
Futures Experience: Intermediate
Platform: Ninjatrader, ThinkorSwim
Broker/Data: IB
Favorite Futures: Equities
 
Posts: 58 since Nov 2009
Thanks: 5 given, 88 received

Answer
This post has been selected as an answer to the original posters question Answer


Sorry I guess it is working. It just didnt look like it on my charts. Sorry to anyone who wasted their time looking at this.

Reply With Quote

Reply



futures io > > > Complete noob programming MTF and nested 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
Indicator programming Mondrakete NinjaTrader Programming 3 April 3rd, 2011 02:02 PM
Noob OnBarUpdate() question SetFreeByTruth NinjaTrader Programming 5 March 30th, 2011 08:17 PM
Complete List of Indicator Downloads daveste99 NinjaTrader 2 January 27th, 2011 09:01 AM
Programming help for making an Indicator into a strategy. How do I ask? Mojokix NinjaTrader Programming 6 January 7th, 2011 04:19 AM
indicator programming help needed GoldStandard The Elite Circle 3 August 29th, 2010 04:42 PM


All times are GMT -4. The time now is 12:44 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.08 seconds with 23 queries on phoenix via your IP 107.20.115.174