![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2009
Location: Princeton NJ
Posts: 83
Thanks: 10
Thanked 0 times in 0 posts
|
I have an indicator that runs on each tick (on bar close = false) that does several calculations based on the current price which I have coded as Close[0]. If I run the indicator I get a set of values based on Close[0] (the current price) but if I remove the indicator from the chart and re-add it, the calculations are now different because presumably Close[0] is the single closing price for the bar, not the current price at each tick. Is that true and is there a way around that?
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can strategy enter/exit at current day's close price | rnhoo | ATM Strategies (Discretionary Trading) | 13 | 02-11-2011 03:41 AM |
| Making Close[0] == current price | dsraider | Strategy Development | 9 | 06-19-2010 07:08 AM |
| Possible Bug - trace execution price does not equal trade log price? | Bluepoint | Strategy Analyzer | 3 | 02-13-2010 10:37 AM |
| Startegy involving previous day close price and current open price | kirankksimon | General Programming | 3 | 03-11-2009 08:59 AM |
| how to sendmail() with current symbol and close price | tbtrades | Miscellaneous Support | 3 | 10-17-2008 12:28 PM |