Moving averages - Traders Hideout | futures io social day trading
futures io futures trading


Moving averages
Updated: Views / Replies:1,818 / 9
Created: by yiman 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
 

Moving averages

  #1 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker/Data: IB, PFG Best
Favorite Futures: 6E, EMD, TF
 
Posts: 256 since Jul 2009
Thanks: 109 given, 145 received

Moving averages

Does anyone know if there is anything anywhere that will measure the difference betwwen two moving averages . then give an indication when its above a value say >8 tics/pips or whatever

Reply With Quote
 
  #2 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 88 since Jun 2009
Thanks: 35 given, 84 received

The standard MACD indicator measures the difference between two moving averages.

So MACD(12,26,9) shows the difference between the 12 MA and the 26 MA

The histogram that is often plotted as part of the MAC indicator represents the actual difference between the two averages, which is why when the averages cross, the difference is 0.

David

Reply With Quote
The following user says Thank You to David for this post:
 
  #3 (permalink)
Trade with the flow
Paris, France
 
Futures Experience: Advanced
Platform: Market Delta & Ninjatrader
Favorite Futures: ES
 
cunparis's Avatar
 
Posts: 2,563 since Jun 2009
Thanks: 1,157 given, 2,032 received



David View Post
The standard MACD indicator measures the difference between two moving averages.

So MACD(12,26,9) shows the difference between the 12 MA and the 26 MA

The histogram that is often plotted as part of the MAC indicator represents the actual difference between the two averages, which is why when the averages cross, the difference is 0.

David

Just a slight correction, the MACD uses Exponential moving averages.

I use a difference between two MA's a lot in my custom indicators. I just write up my own and take the difference. In tradestation it looks like

 
Code
Value1 = Average(C, 3) - Average(C, 10);

Reply With Quote
 
  #4 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker/Data: IB, PFG Best
Favorite Futures: 6E, EMD, TF
 
Posts: 256 since Jul 2009
Thanks: 109 given, 145 received

Thanks for the response,

I have 2 exponential MA , EMA 10 and 26 what im trying to do is get ninja trader to give me a warning when the seperation between the two reaches 8 on the most recent closed candle. This will be a trigger for a possible entry .

Reply With Quote
 
  #5 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker/Data: IB, PFG Best
Favorite Futures: 6E, EMD, TF
 
Posts: 256 since Jul 2009
Thanks: 109 given, 145 received

does this look ok
value= ExponentialAverage[10](close)-ExponentialAverage[26](close)
RETURN value

Its my first go at programing

Reply With Quote
 
  #6 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 88 since Jun 2009
Thanks: 35 given, 84 received

No, it should be this:

double value = EMA(Close,10)[0] - EMA(Close,26)[0];

David

Reply With Quote
The following user says Thank You to David for this post:
 
  #7 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker/Data: IB, PFG Best
Favorite Futures: 6E, EMD, TF
 
Posts: 256 since Jul 2009
Thanks: 109 given, 145 received

Thanks David

Reply With Quote
 
  #8 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker/Data: IB, PFG Best
Favorite Futures: 6E, EMD, TF
 
Posts: 256 since Jul 2009
Thanks: 109 given, 145 received

I havent got a clue how to use ninjascript and i keep getting errors when i tried to use the code

Reply With Quote
 
  #9 (permalink)
Trade with the flow
Paris, France
 
Futures Experience: Advanced
Platform: Market Delta & Ninjatrader
Favorite Futures: ES
 
cunparis's Avatar
 
Posts: 2,563 since Jun 2009
Thanks: 1,157 given, 2,032 received


yiman View Post
I havent got a clue how to use ninjascript and i keep getting errors when i tried to use the code

Not to be harsh but it's not possible for you to develop with Ninjatrader without knowing C# and their API (Ninjascript is just their API which is built with C#). There are a number of C# books to teach you the basics. If you want to do something really simple you can use the wizard. If you think C# is too complicated for you then you can take a look at EasyLanguage. EL is 1000x simpler than C#. I'm a professional software developer and I much prefer EL for the simple stuff (see my EL example posted above).

If you've never done any programming before you should count on several months to learn the basics of C#. It's not easy.

Finally, if programming is not your forté then I would also suggest the possibility that you don't program at all. Choose your indicators carefully (fewer is better, price & volume are 90% of what you need) and then do your backtesting by hand. I use an indicator on multiple timeframes and I couldn't test it in an automated strategy (limitation of how it was made with Tradestation). So I backtested it by hand. Took me weeks. But I learned a lot so it was well worth it and I now trade this strategy every day.

Many of the strategies I see in this forum are based on having multiple indicators and you enter a trade when the colors all line up. I'm still not convinced that this is possible but I'm trying them out to see if I can make them work but so far I'm not successful.

Reply With Quote
 
  #10 (permalink)
Just starting out...
Prague, CZ
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Zen-File
Favorite Futures: TF
 
Posts: 10 since Dec 2009
Thanks: 1 given, 0 received


Yes, learning NINJA API is difficult, my approach to any new language and API is take some examples and simply rewrite it. If is is indicator and I need new definition, I download other indicator, copypaste entire code, change name and change only one line with computation of the indicator.

To make it more simple, Try to download some complex indicator that uses more advanced techniques you need to use in your indicator (e.g. if you need to look values in history, simply look at indicator that uses these values - not to reinvent the wheel).

Reply With Quote

Reply



futures io > > > 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
Moving Averages - How do you use them? Fat Tails The Elite Circle 152 October 1st, 2012 05:23 PM
Best Moving Average sharmas Elite Automated Trading 62 April 9th, 2012 07:44 PM
Moving average Help yiman NinjaTrader Programming 4 July 29th, 2011 09:03 AM
The Big Money's Moving Averages RODLM The Elite Circle 1 June 6th, 2010 04:29 PM
Indicator For Area Between Two Moving Averages adrian Traders Hideout 14 October 6th, 2009 05:49 PM


All times are GMT -4. The time now is 05:08 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-14 in 0.13 seconds with 19 queries on phoenix via your IP 54.221.73.186