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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    17 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    59 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    43 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    47 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    38 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X