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 > 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-08-2010, 04:02 PM   #1
zooinek
Member
 
Join Date: Mar 2009
Posts: 99
Thanks: 0
Thanked 0 times in 0 posts
Default how can strategy EnterLong on another market?

Hello
I would like to ask you something..
in MetaTrader when you want to enter new possition on another market, you will just write something like
OrderSend("this another market", another market's timeframe ...);

is there something like this also in NinjaTrader?

Because I have few Indicators which has to run on $EURUSD and I need to run the backtest on $EURUSD..
but all EnterLong/EnterShort I need to realize on $GBPUSD.
How could I do that?

Thank you for your response
zooinek is offline  
Reply With Quote
Old 05-08-2010, 04:53 PM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

You can place an order like any other order but place it on the correct instrument/bar type. These two links will help:
http://www.ninjatrader-support.com/H...EnterLong.html

http://www.ninjatrader-support.com/H...struments.html

Key on on the BarInProgress stuff at first to get the hang of it and post your questions.
NinjaTrader_Ben is offline  
Reply With Quote
Old 05-14-2010, 11:19 PM   #3
suresh
Junior Member
 
Join Date: May 2010
Posts: 7
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi,

You can do this using Multi instrument features in ninjatrader
suresh 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
EnterLong(100000) vs. EnterLong() problem nicknamed Automated Trading 2 03-22-2010 08:41 AM
EnterLong() and EnterShort d.allen101 Strategy Development 2 06-24-2009 07:31 AM
Enterlong quanity 0 gg80108 Strategy Development 3 06-10-2009 08:48 AM
In EnterLong() want to add strategyname anothertoy General Programming 2 05-25-2009 02:14 PM
calling EnterLong() billitin General Programming 2 06-28-2008 11:10 PM


All times are GMT -6. The time now is 07:17 AM.