Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to refer to an indicator in a strategy

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

    How to refer to an indicator in a strategy

    If I have a custom indicator such as a candlestick pattern, how can I use it in a strategy. I want the strategy find any occurrences of this pattern. Since the indicator doesn't return a numeric value, I don't know how to check if it exists. Do I have to write the code for the indicator in the strategy?

    #2
    Originally posted by RJWard View Post
    If I have a custom indicator such as a candlestick pattern, how can I use it in a strategy. I want the strategy find any occurrences of this pattern. Since the indicator doesn't return a numeric value, I don't know how to check if it exists. Do I have to write the code for the indicator in the strategy?
    Very carefully.

    Comment


      #3
      Originally posted by RJWard View Post
      If I have a custom indicator such as a candlestick pattern, how can I use it in a strategy. I want the strategy find any occurrences of this pattern. Since the indicator doesn't return a numeric value, I don't know how to check if it exists. Do I have to write the code for the indicator in the strategy?
      ok - being serious this time - is the code protected or can you view the code logic that you paid for?


      If the original author didn't provide any return... I'm not feeling any magic here...

      Can you provide more information?

      Does the indicator have an alert on the chart or something for such said candle pattern that
      might happen?

      *I like 3 white knights...especially when 5 show up!

      Comment


        #4
        I'm talking about a custom indicator that I write. One that identifies a candlestick pattern, an engulfing pattern, or any other type of candlestick pattern. There are many. The indicator finds the pattern and draws a triangle on the last bar of the pattern and adds a text label under the triangle. I just want to know if I can access this indicator when using the strategy wizard without having to replicate the code.

        Comment


          #5
          RJWard, that would only be possible in the wizard if you would have a plot tracking your signals, so you could access the current plot value to determine signals given.

          I would suggest checking into our CandleStickPattern indicator and reviewing how it exposes it's signals seen.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          63 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          35 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          54 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          61 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          48 views
          0 likes
          Last Post CarlTrading  
          Working...
          X