![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Posts: 12
Thanks: 0
Thanked 1 time in 1 post
|
Hi,
I would like the MACD to repaint on every tick, rather than the close of each bar so i see its direction on the forming candle. I have tried adding CalculateOnBarClose = false to the Initialize method of the default MACD indicator but it aint working for me. Any help would be great. cheers Mat |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
When you add the indicator to a chart, make sure the "Calculate on bar close" parameter is set to false.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Identifying Close of Bar when CalculateOnBarClose = false | OnePutt | General Programming | 8 | 04-20-2011 11:20 AM |
| CalculateOnBarClose not working? | gluebunny | Indicator Development | 10 | 04-09-2009 10:31 AM |
| Indicator line goes to zero when CalculateOnBarClose set to True | ThePatientOne | Indicator Development | 1 | 08-30-2007 11:42 AM |
| False Open Position | momentom | Miscellaneous Support | 1 | 08-24-2007 05:25 AM |
| CalculateOnBarClose=true vs FirstTickOfBar | ceesvh | Automated Trading | 1 | 07-27-2007 08:33 AM |