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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X