Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator from NQ trigger YM

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

    Indicator from NQ trigger YM

    Hello Team,

    I am looking for some guidance to enter/exit trade of YM based on the trigger generated from NQ. Ie, when NQ reached a specific value (sma 20), initiate a trade at YM.

    Thanks in advance.


    #2
    Hello jenishij,

    Thank you for your post.

    I suggest starting with the following page about multi-time frame & instrument scripts:
    You could use YM as the primary series, then call AddDataSeries() to add an NQ series to the strategy:


    Then, you would set up whichever conditions, such as a specific value of the SMA 20 using the NQ as input. When the desired conditions are met, you would submit trades on the primary YM series. The platform comes with a strategy called "Sample Multi Instrument" that you may also review the source code for in the NinjaScript Editor as an example.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X