indicator within a indicator - NinjaTrader Programming | futures io social day trading
futures io futures trading


indicator within a indicator
Updated: Views / Replies:358 / 4
Created: by maaz1598 Attachments:5

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
 

indicator within a indicator

  #1 (permalink)
Trading Apprentice
Sydney
 
Futures Experience: Beginner
Platform: ninjaTrader
Favorite Futures: stocks
 
Posts: 2 since Oct 2015
Thanks: 0 given, 0 received

indicator within a indicator

i am trying to create a strategy that uses a indicator within a indicator but i cant seem to do that in ninjatrader strategy development wizard can someone show me how? some examples to show you what i mean

example 1:
MACD indicator itself consists of two indicates within it, the smoothing fast EMA and slow EMA how to i create a strategy that buys when there is a cross of the two

example 2 :
Aroon indicator consists of two components, the aroon up and the aroon down how do i reference a cross in the two

providing pictures will really help
thanks in advance

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)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received


Use the Plot:

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


Try these steps for an indicator in an indicator, but it seems it's not what you're looking for.

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

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

Success requires no deodorant! (Sun Tzu)
Reply With Quote
 
  #4 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,475 since Sep 2013
Thanks: 1,696 given, 3,670 received
Forum Reputation: Legendary

This is how you would do that in the source code :

 
Code
myCCI = WoodiesCCI(2, 5, 50, 34, 25, 6, 60, 100, 2);
myCCIEMA34 = EMA (myCCI,34);

The first line creates a CCI, the second line creates an average 34 (ema) on the woodies, to smoothen it.

This would go in the Initialiaze () of your strategy

 
Code
protected override void Initialize()
        {
          myCCI = WoodiesCCI(2, 5, 50, 34, 25, 6, 60, 100, 2);
          myCCIEMA34 = EMA (myCCI,34);  // added a 34 EMA on CCI
         }

You could then start using this in


 
Code
protected override void OnBarUpdate()
{
         if (myCCI[0] < myCCIEMA34[0] )
        {
           // CCI is below it's 34 average
           // do something here...
         }
}
hope this helps you..
wish you good trading

Reply With Quote
 
  #5 (permalink)
Elite Member
Prague/Czech Republic
 
Futures Experience: Beginner
Platform: Ninjatrader
Favorite Futures: M6B,MGC
 
Posts: 10 since Sep 2011
Thanks: 2 given, 0 received

modified CCI

Hello,

is there somebody who can have a look on the attached indicator. It is compiled but from strange reason it is not taking value correctly.

I am not programer so I have only limited knowledge of C++.

I managed to change calculation of the CC and use it in different indicator. Basicly some sort of smoothing. The idea is to change color when CCI is going up or down if it exceed value set.

Idealy to have same color in background until set delta will indicate change and have arrow in input series as possible entry (this will be the next programing nut )

I tried some modifications but I am running in the circules

Your help is very appreciated in advance.

Thank you

Miroslav

Attached Files
Register to download File Type: cs CCIMA.cs (6.5 KB, 1 views)
Register to download File Type: cs ccipokus2.cs (20.5 KB, 2 views)
Reply With Quote

Reply



futures io > > > > > indicator within a 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
Volmaxmultiple Indicator or Volume Multiplier Indicator? Revv NinjaTrader 1 February 15th, 2015 01:18 PM
Opening Range Indicator (w/ Indicator Input) wuileng NinjaTrader 5 January 21st, 2014 07:52 AM
How to call this indicator within the indicator/strategy zikonc NinjaTrader 2 July 26th, 2012 04:45 PM
Indicator Based Upon Other Indicator Colors ScorpioTravis NinjaTrader Programming 12 June 21st, 2012 07:29 PM
Adding Constant Line Indicator to Another Indicator ceramictilepro NinjaTrader Programming 9 September 22nd, 2011 11:43 PM


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