NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-05-2009, 04:09 AM   #1
Sakkers
Junior Member
 
Join Date: Feb 2009
Location: Melbourne, Australia
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default Not working on 4m chart

Hi,

i created this indicator to plot an uparrow and sound an alarm after bar is printed. I use it on FX, i have it on 4 charts over the same currency pair just different timeframes. 10m 5m 4m and 3m

Worked on all charts up until today, for some reason it won't work on the 4m timeframe??? Can't figure it out.
Attached Files
File Type: zip Hammer.zip (3.7 KB, 5 views)
Sakkers is offline  
Reply With Quote
Old 06-05-2009, 05:12 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 977 times in 960 posts
Default

Most likely you see an error in the log tab of the Control Center with this indicator applied, please check the content of this tip to fix it - http://www.ninjatrader-support2.com/...ead.php?t=3170
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 06-05-2009, 05:52 AM   #3
Sakkers
Junior Member
 
Join Date: Feb 2009
Location: Melbourne, Australia
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default

Thank you very much. That fixed it.

Cheers
Sakkers is offline  
Reply With Quote
Old 06-05-2009, 06:39 AM   #4
Sakkers
Junior Member
 
Join Date: Feb 2009
Location: Melbourne, Australia
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default

Is it possible to enact the indicator 10 seconds before the bar is printed?

i.e if I'm looking at a 5m chart the indicator turns on when the bar timer has 10 seconds remaining?

Thanks
Sakkers is offline  
Reply With Quote
Old 06-05-2009, 07:02 AM   #5
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 977 times in 960 posts
Default

This can be done with further custom programming - you can take a look at the BarTimer indicator for ideas.
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
tick chart not working jboxford Miscellaneous Support 11 04-17-2009 03:47 PM
Chart is not working tbtrades Charting 6 10-20-2008 10:01 AM
using 2 ninja script and working together in same chart MoreYummy Automated Trading 3 09-09-2008 04:54 PM
tp and sl not working in chart trader justme ATM Strategies (Discretionary Trading) 6 08-27-2008 10:29 AM
Market replay/chart not working funk101 Miscellaneous Support 1 07-26-2008 12:00 PM


All times are GMT -6. The time now is 01:13 PM.