![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2012
Posts: 13
Thanks: 2
Thanked 1 time in 1 post
|
Hi,
This is my first post on this forum and I'm relatively new so this might be a stupid question.... I want to find the Highest bar in a certain period, say in the period from bar[5] to bar[20]. How can I get this value in the best way. Because standard I get the Highest bar from "bars ago" (from the newest bar [0]) and that is not what I want. Thanks in advance. Anne |
|
|
|
|
|
#2 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
The following 2 users say thank you to koganam for this post: |
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2012
Posts: 13
Thanks: 2
Thanked 1 time in 1 post
|
Thanks for your quick answer, koganam. I will try to work it out with the MAX class.
Should I use a BarsArray in it? (To be clear: I don't need bars of another timeframe.) I hoped there would be a more simple way to do this. (For instance, just like in MS Excel when using formula's you can specify the place in a string.) |
|
|
|
![]() |
| Tags |
| frombar, highest, period, tobar |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Highest Bar in an earlier range of bars | Light | General Programming | 6 | 01-26-2010 01:28 PM |
| Highest Bar of e.g. ADX | Tobias1985 | Strategy Development | 4 | 02-26-2009 02:04 PM |
| Retrieving Highest Highs from any period | TAJTrades | Indicator Development | 7 | 08-26-2008 11:07 PM |
| Highest High in a LookBack Period | daven | Indicator Development | 2 | 09-28-2007 12:39 PM |
| Chart's highest is different to dome highest | MrBaffalo | Charting | 16 | 03-08-2007 04:21 AM |