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 NullPointStrategies, Today, 05:17 AM
      0 responses
      44 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      124 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      65 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X