Predicting a crossover or moving average for next bar - futures io
futures io futures trading

Predicting a crossover or moving average for next bar

Discussion in NinjaTrader

Updated by WoodyFox
      Top Posters
    1. looks_one Trader.Jon with 4 posts (8 thanks)
    2. looks_two Big Mike with 2 posts (1 thanks)
    3. looks_3 zikonc with 1 posts (4 thanks)
    4. looks_4 cbritton with 1 posts (0 thanks)
      Best Posters
    1. looks_one zikonc with 4.0 thanks per post
    2. looks_two Trader.Jon with 2.0 thanks per post
    3. looks_3 WoodyFox with 1.0 thanks per post
    4. looks_4 Big Mike with 0.5 thanks per post
    1. trending_up 8,972 views
    2. thumb_up 14 thanks given
    3. group 5 followers
    1. forum 11 replies
    2. attach_file 1 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

Search this Thread

Predicting a crossover or moving average for next bar

(login for full post details)
  #11 (permalink)
Near the BEuTiFULL Horse Shoe
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Trader.Jon's Avatar
Posts: 500 since Jul 2009
Thanks: 401 given, 183 received

Richard View Post
For the range bar case in particular, you can give 100% accurate minimum and maximum bounds on an event, as described here:


... which to me makes it the most interesting case. There are times when your price indicators basically have no choice but to go somewhere within n-bars, because there is a strict bound on where price itself can go within n-bars. I think this is an under-utilized phenomenon in TA .... since if you are trying to identify the explosions it won't do at all to assume price never moves
[P.S. I don't mind being called Gary as long as you keep linking to my site ]

oops ... did I mention the lack of caffein??

Thanks for your work, RICHARD !

Mike: about those different moving average types ... lol

I think I'll go play with that 'under-utilized phenomenon' ... RICHARD's 'predictive' algo is about to be downloaded ... let's see if aggressive or conservative can also be predicted

Thanks to all

Reply With Quote
The following 2 users say Thank You to Trader.Jon for this post:

Can you help answer these questions
from other members on futures io?
IB Bracker Order
Platforms and Indicators
EQIX - Digital REITs - any experiences?
Stocks and ETFs
Horizontal Line Indicator
Platforms and Indicators
is there an easy way to obtain by code the price variation percentual
(login for full post details)
  #12 (permalink)
Columbus, Ohio
Experience: Intermediate
Platform: NinjaTrader
Broker: Continuum
Trading: Futures
WoodyFox's Avatar
Posts: 200 since May 2016
Thanks: 69 given, 348 received

I can't wrap my head around this. So lets say we want the close[0] where a 200 SMA will Cross the 50 SMA one bar (Period) ahead of time. Couldn't we just set them equal to each other using:
X = Close Needed
A = SUM of prior 199 Closes
B = SUM of prior 49 Closes

(A + X) / 200 = (B + X) / 50

Solve for X or (New Close)

X = ( A - 4B ) / 3

***Or is this really bad algebra? What am I doing wrong, or is this the wrong approach?

CrossClose[0] = ( SUM(199)[0] - 4*SUM(49)[0] ) / 3

Reply With Quote
The following user says Thank You to WoodyFox for this post:

futures io Trading Community Platforms and Indicators NinjaTrader > Predicting a crossover or moving average for next bar

September 16, 2019

Upcoming Webinars and Events

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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