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.

    JesseNinjaTrader Customer Service

    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
          JesseNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by herzogvladimir2, Yesterday, 08:10 PM
          0 responses
          15 views
          0 likes
          Last Post herzogvladimir2  
          Started by giogio1, 04-13-2025, 01:42 AM
          2 responses
          39 views
          0 likes
          Last Post giogio1
          by giogio1
           
          Started by mmenigma, 01-23-2024, 09:37 AM
          1 response
          91 views
          0 likes
          Last Post Nin8aTrender  
          Started by wbayne333, 02-22-2021, 01:18 PM
          6 responses
          415 views
          0 likes
          Last Post Nin8aTrender  
          Started by gtheaded, 07-03-2020, 03:47 PM
          3 responses
          374 views
          0 likes
          Last Post Nin8aTrender  
          Working...
          X