![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
I need some help please, and thanks in advance.
Problem: My auto trading strategy needs to recalculate the value of Bar [0] based on information from the next five (5) bars Bar [-5] as each bar closes. The code from my indicator is as follows: (MAX(CCI(28), 7)[0-LowestBar(CCI(14), 5) ] Is there any feasible to make this happen in NT7? Again - thanks in advance for any insight. d |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello nanook77,
Thanks for your post and I am happy to assist you. Could specify what exactly you are trying to do, so that I can point to the right direction. I look forward assisting you.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Senior Member
|
Quote:
Is your real meaning that you want to recalculate the value for 5 bars ago, based on the bars that have happened since then until the CurrentBar?
|
|
|
|
|
![]() |
| Tags |
| programming, recalculate, refresh, strategy |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| More than 100 subsequent user events | cls71 | Version 7 Beta General Questions & Bug Reports | 3 | 04-26-2010 11:18 AM |
| Chart recalculation? | eDanny | Suggestions And Feedback | 2 | 08-28-2009 10:31 AM |
| More than 100 subsequent events? | heech | General Programming | 7 | 04-22-2009 12:52 PM |
| Internet dropouts prevent subsequent orders | saltminer | Strategy Development | 27 | 02-11-2009 10:32 AM |
| Subsequent User Events Error | SystemTrading | Strategy Development | 14 | 09-03-2008 09:00 AM |