Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to reference a higher TF of the Instrument being analysed in Strategy Builder

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

    How to reference a higher TF of the Instrument being analysed in Strategy Builder

    Hi,

    I would like to write a strategy which can be applied to multiple instruments, in order to back test multiple instruments.

    I'm not a coder, so am only using the Strategy Builder wizard.

    My strategy establishes trend by referencing the 200 EMA. I have added my higher TFs as additional data, and reference these as Entry conditions.

    Ie. USDJPY (Weekly) > EMA(200)

    How can I instead reference the EMA of a higher TF of the instrument the strategy is being applied to, so I can apply it to any currency? The logic of the 'default input' does not allow me to specify a TF, so I presume it can only apply to the TF being tested/applied to rather than higher TFs to establish trend?

    If there is a script i can use whilst also continuing to use the Strategy builder that would be great.



    Thanks!
    Last edited by TradingAssassin; 03-10-2022, 07:07 AM.

    #2
    Hi, thanks for posting. You can add extra series in the Additional Data tab of the builder (check Use Primary instrument), then apply the series to various indicators like the EMA:



    Best regards,
    -ChrisL

    Comment


      #3
      Awesome thanks Chris.

      (You could add this advice to the Basket Testing Multiple Currencies page)

      Cheers!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      477 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      317 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      255 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      340 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      306 views
      0 likes
      Last Post CarlTrading  
      Working...
      X