Indicator For Area Between Two Moving Averages - Traders Hideout | futures io social day trading
futures io futures trading


Indicator For Area Between Two Moving Averages
Updated: Views / Replies:6,269 / 14
Created: by adrian 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
 5  
 
Thread Tools Search this Thread
 

Indicator For Area Between Two Moving Averages

  #1 (permalink)
Elite Member
Houston, TX
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: MBT
Favorite Futures: EUR/USD
 
Posts: 88 since Jun 2009
Thanks: 169 given, 70 received

Indicator For Area Between Two Moving Averages

Anyone know where I can find an nt indicator that shades the area between two moving averages?

Thanks,
Adrian

Reply With Quote
 
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,229 received

You can look at an indicator I wrote some time ago called VMA Zones to get you a code sample. It shades (drawregion) based on a moving average.

https://futures.io/free_downloads/ninjatrader/indicators/24-download.html?view

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #3 (permalink)
 Vendor: www.tradingstudies.com 
Denver, CO
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: TF, ES, CL
 
roonius's Avatar
 
Posts: 132 since Jun 2009
Thanks: 20 given, 272 received



adrian View Post
Anyone know where I can find an nt indicator that shades the area between two moving averages?

Thanks,
Adrian


Or here:
TradingStudies.com - SlingShot

Reply With Quote
The following user says Thank You to roonius for this post:
 
  #4 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

hi roonius,
any ideas for this problem :

when i import your SlingShot-zip i get an error -- remove your bad scripts -- but i have no bad errors-scripts in my ninja i can open + compile any scriopts -- there are no errors left.

then, when i try it with the pure SlingShot.cs-file i get this error : global namespace>' already contains a definition for 'maType'.

Thanks

max-td
Reply With Quote
 
  #5 (permalink)
 Vendor: www.tradingstudies.com 
Denver, CO
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: TF, ES, CL
 
roonius's Avatar
 
Posts: 132 since Jun 2009
Thanks: 20 given, 272 received


max-td View Post
hi roonius,
any ideas for this problem :

when i import your SlingShot-zip i get an error -- remove your bad scripts -- but i have no bad errors-scripts in my ninja i can open + compile any scriopts -- there are no errors left.

then, when i try it with the pure SlingShot.cs-file i get this error : global namespace>' already contains a definition for 'maType'.

Thanks

Here is the newer version - will allow to select inputs for MAs

Attached Files
Register to download File Type: zip SlingShot.zip (14.2 KB, 180 views)
Reply With Quote
 
  #6 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

Thanks for that!

max-td
Reply With Quote
 
  #7 (permalink)
Elite Member
Arizona
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
 
Posts: 154 since Jun 2009
Thanks: 708 given, 168 received

Adding T3 Average

Roonius,

How do I add the T3Average to your slingshot indicator? I tried just to follow your format, but I think the problem is that the T3Average actually has 2 inputs - overshoot and period. I would be fine to have the overshoot a constant at .7 and be able to change the period.


case maType.VWMA:
f = VWMA(Input, FastAverage)[
0];
break;
case maType.T3Average:
f = T3Average(Input, FastAverage)[
0];
break;
default:
f = HMA(Input, FastAverage)[
0];
break;
}

Thanks for your consideration,

Mahlon

Reply With Quote
 
  #8 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


mahlonhersh View Post
Roonius,

How do I add the T3Average to your slingshot indicator? I tried just to follow your format, but I think the problem is that the T3Average actually has 2 inputs - overshoot and period. I would be fine to have the overshoot a constant at .7 and be able to change the period.


case maType.VWMA:
f = VWMA(Input, FastAverage)[
0];
break;
case maType.T3Average:
f = T3Average(Input, FastAverage)[
0];
break;
default:
f = HMA(Input, FastAverage)[
0];
break;
}

Thanks for your consideration,

Mahlon


Mahlon,

Try this,

case maType.T3Average:
f = T3Average(Input, .7, FastAverage)[
0];
break;

RJay

Reply With Quote
 
  #9 (permalink)
Elite Member
Arizona
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
 
Posts: 154 since Jun 2009
Thanks: 708 given, 168 received

RJay,

Thanks for your help. Your suggestion did allow my changes to compile.

...but it's not quite right.

Here is the indicator file and a screenshot:

The CYAN line is a 40 period T3Average, the BLUE line is a 120 period T3Average. I want to color the area between them. The skinny RED line is the T3. It kind of works, but there is a "jigger" in the middle.

This is way above me at this point!

Mahlon

Attached Thumbnails
Indicator For Area Between Two Moving Averages-es-09-09-8_21_2009-377-tick-.jpg  
Attached Files
Register to download File Type: zip MySlingShot.zip (16.2 KB, 434 views)
Reply With Quote
The following 2 users say Thank You to mahlonhersh for this post:
 
  #10 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


Mahlon,

I usually use code something like this from Big Mike's VMAZone indicator.

You may need to define two DrawRegions for when the MA's cross.

Upper.Set(VMA(High, Length, Volatility)[0]);
Lower.Set(VMA(Low, Length, Volatility)[
0]);


DrawRegion("Region", CurrentBar, 0, Upper, Lower, Color.Empty, Color.Gray, Opacity);


RJay

Reply With Quote

Reply



futures io > > > Indicator For Area Between Two Moving Averages

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help please - moving spreadsheet values into constant lines indicator aquarian1 NinjaTrader Programming 34 November 30th, 2016 10:51 AM
Moving Averages - How do you use them? Fat Tails The Elite Circle 152 October 1st, 2012 05:23 PM
Moving Avg of Indicator ceramictilepro NinjaTrader Programming 6 February 1st, 2011 10:09 PM
The Big Money's Moving Averages RODLM The Elite Circle 1 June 6th, 2010 04:29 PM
Moving averages yiman Traders Hideout 9 January 28th, 2010 11:19 AM


All times are GMT -4. The time now is 08:47 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-13 in 0.14 seconds with 20 queries on phoenix via your IP 54.160.245.121