NexusFi: Find Your Edge


Home Menu

 





Method of scripting to project price series IN FRONT of current bar?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two forrestang with 1 posts (1 thanks)
    3. looks_3 anachronist with 1 posts (0 thanks)
    4. looks_4 Fat Tails with 1 posts (2 thanks)
    1. trending_up 2,914 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
Legendary Urban Samurai
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,345 since Jun 2010
Thanks Given: 357
Thanks Received: 1,060

I am wanting to try to plot a price projection forward of the current bar. See the attached picture for an example.

It could just be lines, or it could be a fake bar series. So I'm looking for either an example this being done, or something similar.

Any ideas would be appreciated.

Forrest


Attached Thumbnails
Click image for larger version

Name:	2012-04-23_173927.png
Views:	227
Size:	31.0 KB
ID:	71028  
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
The Confluence Meter: A Multi-Layered Signal Framework B …
The Elite Circle
Orban Crashes to 21pct on Record Turnout -- McIlroy Drop …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 TimeTrade 
Erfurt Germany
 
Experience: Master
Platform: rtMagic, NinjaTrader
Broker: AMP/CQG, IAB
Trading: ES, 6E, FDAX, FGBL
Posts: 338 since Aug 2011
Thanks Given: 54
Thanks Received: 461



forrestang View Post
I am wanting to try to plot a price projection forward of the current bar. See the attached picture for an example.

It could just be lines, or it could be a fake bar series. So I'm looking for either an example this being done, or something similar.

Any ideas would be appreciated.

Forrest

over "displacement" you can paint a indicator forward, or with a own plot function inside a indiactor and add any x values to xPos of CurrentBar[0] you can do any more


Reply With Quote
Thanked by:
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114

There is another thread where we have discussed how to project a moving average forward, and there are some code examples as well.


Reply With Quote
Thanked by:
  #5 (permalink)
 
anachronist's Avatar
 anachronist 
San Jose, CA
 
Experience: Advanced
Platform: NinjaTrader
Trading: all
Posts: 26 since Apr 2012
Thanks Given: 0
Thanks Received: 16


forrestang View Post
I am wanting to try to plot a price projection forward of the current bar.

You can draw objects such as lines into the future by using a negative BarsAgo offset.

You can also plot an indicator with a displacement, although NinjaTrader currently has a bug where it shows plots displaced into the future only if you scroll your chart to the left a bit. Future displaced plots won't show up in the right margin.

-A


Reply With Quote




Last Updated on May 2, 2012


© 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