NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

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




 
Search this Thread
  #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?
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #3 (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,059


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
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,059

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


© 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