Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using the builder to detect divergence between multiple indicators

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

    Using the builder to detect divergence between multiple indicators

    Hi,

    Can someone help me (or redirect me to a thread) on how to use the builder (variables and conditions) to spot the divergence between the 2 indicators?

    - Purple dots are the swing indicator and below we have the RSI.
    - can be other indicators but I'd really like to have an example

    Click image for larger version

Name:	image.png
Views:	220
Size:	12.7 KB
ID:	1246262

    Thanks in advance,
    Rocha​
    ​​
    Attached Files

    #2
    Hello RochaTheRock,

    To better clarify, are you trying to detect when two indicators diverge meaning an amount of price difference between two indicators? For example two indicators that have a similar price, one starts to move away which would increase the difference in price between them?

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello RochaTheRock,

      To better clarify, are you trying to detect when two indicators diverge meaning an amount of price difference between two indicators? For example two indicators that have a similar price, one starts to move away which would increase the difference in price between them?
      Hi,

      I'd like to know how to use the builder to set something like,


      enter a trade, when the price (1 bar ago) is higher than the price (10 bars ago) and the indicator presents a lower value (1 bar ago) from the value (10 bars ago)

      These 2 scenarios need to happen before I can set "enter short/long position"

      Comment


        #4
        Hello RochaTheRock,

        To do that would only require checking a price condition for each of those items. In the builder when you select price series or indicators you are given the option to select a BarsAgo, for what you are asking you would set up a condition like the following:

        Left: Price -> Select the series you want -> Enter 1 for the BarsAgo
        Center: Greater
        Right: Price-> Select the series you want -> Enter 10 for the BarsAgo

        Your second condition would look like:

        Left: Indicator -> Select the indicator you want -> Enter 1 for the BarsAgo
        Center: Less
        Right: Indicator -> Select the indicator you want -> Enter 10 for the BarsAgo​​​

        Comment


          #5
          Originally posted by NinjaTrader_Jesse View Post
          Hello RochaTheRock,

          To do that would only require checking a price condition for each of those items. In the builder when you select price series or indicators you are given the option to select a BarsAgo, for what you are asking you would set up a condition like the following:

          Left: Price -> Select the series you want -> Enter 1 for the BarsAgo
          Center: Greater
          Right: Price-> Select the series you want -> Enter 10 for the BarsAgo

          Your second condition would look like:

          Left: Indicator -> Select the indicator you want -> Enter 1 for the BarsAgo
          Center: Less
          Right: Indicator -> Select the indicator you want -> Enter 10 for the BarsAgo​​​
          Thanks!

          This helped!

          Comment


            #6
            Originally posted by NinjaTrader_Jesse View Post
            Hello RochaTheRock,

            To better clarify, are you trying to detect when two indicators diverge meaning an amount of price difference between two indicators? For example two indicators that have a similar price, one starts to move away which would increase the difference in price between them?
            Can you give an example for this case as well?

            Comment


              #7
              Hello RochaTheRock,

              Attached is a screenshot of how this would look in the Strategy Builder.

              Click image for larger version

Name:	2023-04-21_12-05-07.png
Views:	188
Size:	20.6 KB
ID:	1247602
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Today, 05:17 AM
              0 responses
              23 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              120 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              63 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              41 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              45 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X