Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Analyzing different instruments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Analyzing different instruments

    Hello!
    I'm pretty new to Ninjatrader and would like to develop my own strategy. Unfortunately I don't understand how I can analyse two different stocks at at time.

    Basically I want do the following:

    - if the RSI of stockA is bigger than of stockB then close the position of stockB (when I was long) and buy stockA

    - if the RSI of stockB is bigger than of stockA then close the position of stockA (when I was long) and buy stockA

    Can somebody help out? I have especially a problem with the term "if the RSI of stockB is bigger than of stockA" ...

    Thank you very much in advance
    Kejo
    Last edited by kejo84; 05-04-2013, 04:26 AM.

    #2
    Hello Kejo,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    I recommend reviewing the information at the following link for details on how to use multiple time-frame and instruments in your strategy: http://www.ninjatrader.com/support/h...nstruments.htm

    For the RSI greater then and RSI of another instrument you willneed to use BarsArray: http://www.ninjatrader.com/support/h.../barsarray.htm

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    50 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X