NexusFi: Find Your Edge


Home Menu

 





Ninjatrader: plot a marker after x bar have passed since...


Discussion in NinjaTrader

Updated
    1. trending_up 1,636 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Ninjatrader: plot a marker after x bar have passed since...

  #1 (permalink)
johnlucas
rome Italy
 
Posts: 2 since Sep 2011
Thanks Given: 1
Thanks Received: 0

Hi everyone, has anyone an indicator that draws a sign on the chart (i.e. any kind of mark or vertical line) when x bars (to be specified) have passed since the price last touched the 800 simple moving average (SMA) on the timeframe of the current chart? thank you in advance, John.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - May 2024
Feedback and Announcements
How to apply profiles
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
Quant vue
Trading Reviews and Vendors
 
  #3 (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


What should happen if say you have it set to display at 200 bars, but price touches BEFORE you get to your 200 bars?

If price touches BEFORE you get your count, should the count be restarted again?

Reply With Quote
  #4 (permalink)
johnlucas
rome Italy
 
Posts: 2 since Sep 2011
Thanks Given: 1
Thanks Received: 0

Exactly!

if price touches the 800 SMA before it gets to, lets say, 200, it should restart: start counting from zero again.

thank you,

John.

Reply With Quote
  #5 (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

Didn't see your latest post.

I started messing with this, but stopped as that question popped up. If nobody gets to it before I do, I'll see if I can come up with something quickly when I get a chance.

Reply With Quote
Thanked by:




Last Updated on October 20, 2011


© 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