![]() |
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Hello everyone....I'm tinkering around with custom indicators, and I've been working in forex on 1 second charts....using the Level 1 tutorial concerning "Using Price Variables" the formula is shown:
Plot0.Set(Open[0] == Close[0] ? 1 : 0); I want to set up something like this: Plot0.Set(Open[120] >= Close[55] ? 1 : 0) Plot1.Set(Open[120] < Close[55] ? 1 : 0) Works well, but when I change "Open[0]" to anything more than "Open[1]" it just doesn't work...The little popup mentions that the number in the brackets represents "bars ago", so why won't it work ![]() Thanks, Jeff |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
You are running into the issue outlined in this tip: http://www.ninjatrader-support.com/v...ead.php?t=3170
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
Thanks...NT is great! ![]() Jeff |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| One Minute Bars / Ten Minutes of Data Per Bar | RJay | Indicator Development | 3 | 06-09-2008 03:27 PM |
| Incomplete data/price bars | Wi!s0n | Miscellaneous Support | 8 | 04-07-2008 08:00 AM |
| Best way to get priorclose from days previous to the previous | scriabinop23 | General Programming | 3 | 02-02-2008 12:41 AM |
| Range Bars from Hist data... | pgabriel | General Programming | 2 | 11-28-2007 05:27 PM |
| Getting Bars/Time Data to Line Up? | crazyhorse2393 | Charting | 10 | 09-07-2007 08:22 AM |