NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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
Prev Previous Post   Next Post Next
Old 06-17-2010, 03:52 PM   #1
tonynt
Senior Member
 
Join Date: Jun 2009
Posts: 740
Thanks: 19
Thanked 14 times in 9 posts
Default Access to low in BarsArray

Hello,

for coding strategies including different timeframes (Add(PeriodType.Range, 15) I have one problem as I can not access the Low of a Bar in this timeframe (BarsArray[1]). How can I code correctly eg (as now I get error messages)

If Lows[BarsArray[1] [0] < EMA((BarsArray[1],15 [0])

I can compare different Bars within this BarsArray or code "Rising, CrossAbove"... but I couldnīt do "If Low of Bar < EMA(15)".

Thanks
Tony
tonynt is offline  
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for the low on an indicator from entry bigfatdrunk Indicator Development 6 11-02-2010 03:23 PM
Using a simulated stop on low priced stocks dr0832 ATM Strategies (Discretionary Trading) 1 06-11-2010 12:18 PM
Copy high low data to the clipboard guy Charting 3 06-11-2010 09:06 AM
HIGH, LOW, dot on CLOSE Pricebars are Needed JimMM Version 7 Beta General Questions & Bug Reports 2 06-02-2010 07:05 AM
Low of last 7 days no111 Strategy Development 3 05-30-2010 07:44 AM


All times are GMT -6. The time now is 12:13 AM.