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, 03-31-2026, 09:41 PM
      1 response
      35 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, Yesterday, 02:41 AM
      0 responses
      16 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      25 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X