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 Fat Tails with 1 posts (2 thanks)
    2. looks_two TimeTrade with 1 posts (2 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 forrestang with 1 posts (1 thanks)
    1. trending_up 2,444 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 1 attachments




 
Search this Thread

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

  #1 (permalink)
 
forrestang's Avatar
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
Posts: 1,329 since Jun 2010
Thanks Given: 354
Thanks Received: 1,047

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:	165
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?
Quant vue
Trading Reviews and Vendors
Cheap historycal L1 data for stocks
Stocks and ETFs
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #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, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

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: 27 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts