Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 10-20-2011, 08:02 AM   #1

Join Date: Dec 2008
Location: Rome
Posts: 4
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Ninjatrader: How to Draw a Sign on a Chart when X Bars Have Passed Since...

Hello everyone,

I would like to ask if someone could help me to create a simple indicator that draws a sign on the chart (i.e. any kind of mark or vertical line) when X bars (to be specified by user) have passed since the price last touched the 800 simple moving average (SMA) on the timeframe of the current chart.

When that condition happens, then the "counter" should be re-set to zero and start counting again.

That indicator should also be applicable to historical charts.

Thank you in advance,

Gianluca.
johnlucas is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninjatrader Chart Setup Dinerotrader Tools of the Trade 9 11-15-2011 08:16 PM
Hide Premkt Bars on Chart Resistor Open E Cry 6 10-29-2009 10:20 AM
How to Draw a Tape Tams Trading Indicators 5 07-29-2009 02:26 PM
EL : How to Count the Bar Passed Since ...? emptyvault Coding Forum 5 07-19-2009 12:45 PM
OpenTick data for Ninjatrader or any other chart package---comments requested Tasuki Brokers and Data Feeds 13 05-17-2008 09:12 AM

All times are GMT -4. The time now is 11:04 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.