Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

creating entry and exit signals from the indicator

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

    creating entry and exit signals from the indicator

    i am looking to build some sort of entry and exit signal based off of the following indicator that i can use to creat buy and sell signals.
    when the trend goes from red to green i would like to generate a buy signal
    and when the trend goes from green to red i would like to generate a sell signal.

    i would like to generate the signal to be used from the strategy builder but im not sure how to write the code for it or if i need to make a separate indicator completely

    i have tried doing this a few different ways but keep breaking the inidicator or i keep missing the mark of my goal.
    Attached Files

    #2
    i have attactched my progress so far
    Attached Files

    Comment


      #3
      Hello KM0990,

      Have the indicator set a plot value. This can be used as a signal to a strategy or the market analyzer.

      Below is a link to an example.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      605 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      351 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X