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 CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      43 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      202 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      366 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      285 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X