NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 05-31-2012, 07:52 AM   #1
Pcomm69
Member
 
Join Date: Nov 2010
Posts: 62
Thanks: 4
Thanked 2 times in 2 posts
Default MTF BarsArray and RSqueeze()

In a Multi Time Frame Strategy

I use RSqueeze Indicator

like if (RSqueeze().EntsignalUp[0] == XX) then{}
to obtain the value of the courbe EntsignalUp at current Bar [0] inside RSqueeze

my question is how can I obtain
EntsignalUp at current Bar [0] inside RSqueeze
for the first serie add

What can i do use BarsArray[1],
or ...[1],[0]


thanks of your help

Pierre
Pcomm69 is offline  
Reply With Quote
Old 05-31-2012, 08:12 AM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
Default

Hello,

Yes, you can use BarsArray[1] to assign to another IDataSeries input:

if (RSqueeze(BarsArray[1]).EntsignalUp[0] == XX)
NinjaTrader_Matthew is offline  
Reply With Quote
Old 05-31-2012, 08:20 AM   #3
Pcomm69
Member
 
Join Date: Nov 2010
Posts: 62
Thanks: 4
Thanked 2 times in 2 posts
Default

Thanks !!!!!!!!!
Pcomm69 is offline  
Reply With Quote
Reply

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
Rsqueeze(BBSqueeze) indicator in the MA MLTDINO Market Analyzer 10 10-08-2012 08:14 PM
MTF BarsArray and Open [0] / Close [0] Pcomm69 Strategy Development 2 05-31-2012 06:17 AM
BarsArray finnbjurvoll General Programming 4 02-11-2011 01:35 PM
RSqueeze and Strategy Wizard 123r34 Automated Trading 0 06-10-2009 01:25 PM
BarsArray mballagan Miscellaneous Support 7 06-01-2009 04:20 PM


All times are GMT -6. The time now is 09:26 AM.