NexusFi: Find Your Edge


Home Menu

 





Moving Average


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Kush with 2 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 bluemele with 1 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (0 thanks)
    1. trending_up 4,289 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Kush
San Sebastian/Spain
 
Posts: 12 since Sep 2011
Thanks Given: 0
Thanks Received: 1

Hi, when I have a system like a cross moving average of two EMAS of 14 and 60 periods. The classic system when the EMA of 14 Periods cross above the EMA of 60 periods go long and viceversa. But I also want to put this filter:

Determined by measuring the amount the price has penetrated the moving averages. How can I program this filter?
Some help please.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
 
  #3 (permalink)
 
bluemele's Avatar
 bluemele 
Honolulu, Hawaii
 
Experience: Intermediate
Platform: NinjaTrader
Broker: ATC/TT, AMP/Zen-Fire, AMP/CQG
Trading: TF
Posts: 2,543 since Jun 2010
Thanks Given: 3,803
Thanks Received: 2,842



Kush View Post

Determined by measuring the amount the price has penetrated the moving averages. How can I program this filter?
Some help please.

What do you mean by the previous statement?


Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
Lornz's Avatar
 Lornz 
Oslo, Norway
 
Experience: Advanced
Platform: CQG, Excel
Trading: CL
Posts: 1,193 since Apr 2010


bluemele View Post
What do you mean by the previous statement?

I assume he is entering at the close of the first bar > MA crossover point and want to avoid entering if the price is too far away from it.


Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 R.I.P. 1977-2026 
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,599

Using the standard deviation probably makes sense to equate the 'distance' portion.

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
Kush
San Sebastian/Spain
 
Posts: 12 since Sep 2011
Thanks Given: 0
Thanks Received: 1

It's just a Chuck Lebeaus idea.It's in the page 98 of the book The Computer Analysys of the Futures Market.
He tells this talking about filters for moving averages:

Filtering signals by price normally means waiting for the price to meet some additional criteria before entering the market. This might be by measuring the distance the price has penetrated the moving average or by measuring the distance that one moving average has crossed over another.

How can I program these filters?


Reply With Quote




Last Updated on November 6, 2011


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts