Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get signals from custom indicator

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

    How to get signals from custom indicator

    Hello.

    How to get signals from custom indicator in strategy.
    For ex., i create custom indicator, and i need to use this signals in my EA.

    How to do it. Please, give examples of experts, where it is implemented.

    Thanks.

    #2
    Pirat,

    You can use an indicator inside of a strategy just by calling it, for example :

    if ( SMA(15)[0] > Close[0] )
    {
    //do something
    }

    Your custom indicator will also have some name, so for example

    if ( MyCustomIndicator(Input1,input2)[0] > 0 )
    {
    //do something
    }

    I would suggest reviewing our educational resources.

    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for help!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      47 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      15 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      21 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X