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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      36 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      14 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      19 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      22 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X