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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    57 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X