Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

ADDING ADDITIONAL DATA SERIES ie 5 and 15 min TO CONFIRM TRADE EXECUTION ENTRY/EXIT

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

    ADDING ADDITIONAL DATA SERIES ie 5 and 15 min TO CONFIRM TRADE EXECUTION ENTRY/EXIT

    SCENARIO- I'm using 2 indicators T3 and SMA to execute trades upon crossing over ie
    - T3 above SMA go long
    -T3 below SMA go short
    The cross over closes the previous position and enters a new trade.
    The script built in the Script Editor works but the buying and selling occurs too many times.

    The data series I'm using EURNZD 1min.

    However, I want to confirm the entry using 2 other time frames 5 min and 15 to confirm the long or short position to entry.

    I require help to nest the 2 other data series to confirm the trade.

    Please note I'm new to NT.

    Cheers
    Sean

    #2
    Hello Seanm,

    Thanks for your post.

    If you are using the Strategy Builder, then you can add the two data series in the window "additional data" by clicking the "add" text at the bottom right of the window. As you are using higher time frames of the chart bars (these are the "primary instrument") you would first check the 'Use primary instrument" checkbox, then change the "Value" to 5. Repeat the process for the 15 minute series.

    If I understand correctly you are wanting to confirm if on a 5 minute and a 15 minute the T3(some period) is > SMA(some period). To use the higher time frames you must change the "input series" for each indicator to select the higher time frames.

    To clarify, I've created a short video on this specific example: https://Paul-ninjaTrader.tinytake.co...MzN185NDIxNDU4
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by trilliantrader, Yesterday, 03:01 PM
    3 responses
    30 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    4 responses
    26 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Brevo, Today, 01:45 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    74 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by suroot, 04-10-2017, 02:18 AM
    5 responses
    3,022 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X