Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trigger an order when price touch a RSI's level

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

    Trigger an order when price touch a RSI's level

    Dears,

    I am searching the right way to trigger an order when price will touch a precisely RSI's level with the strategy generator.
    Maybe someone could help me?
    Thanks a lot in advance

    #2
    Hello sebdgo,

    For that type of condition you would need to check if the price is greater or equal to the RSI price assuming it was lower to start. This would also require using realtime so that you can use OnPriceChange or OnEachTick calculation mode. If you are doing a backtest or historical test that runs OnBarClose so depending on the barstype the best you could check for would be if the price crossed the RSI or is greater/equal to the RSI. Calculation happens on the bar close in historical so knowing it touched would not be possible but you could know if it crossed that value.

    A touched type of condition will continue to become true each time it happens if you don't add other conditions to that set to prevent it from being true after the first time.

    As a first step I would suggest to watch the strategy builder webinar to get comfortable making conditions in the builder. Once you are comfortable with making conditions and using the other screens like the variables screen we could cover making a bool variable to prevent the condition from happening more than one time.

    Comment


      #3
      Thank you Jesse, I'll check that.

      Comment


        #4
        Hello Jesse,

        It's ok RSI , thank you for your support.

        Now I would like identify higher high by using SWING indicator in the builder strategy. Have you some tips to share?

        Thanks in advance.

        Comment


          #5
          Hello sebdgo,

          The swing cannot be accurately used in the builder because the swing re writes swings as new ones build. You need to manually program the strategy so that you can use the swings custom methods to find specific instances of swings. https://ninjatrader.com/support/help...lightsub=swing

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          62 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          134 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          75 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          45 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          50 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X