Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy using candlesticks

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

    Strategy using candlesticks

    Hey everyone,

    New to NT and programming so bear with me. I am trying to develop the pieces of a strategy i used to employ on prodigio with some success. part of that is using candlestick patterns like a bullish engulfment.

    The problem I'm facing is how to make the strategy with it. I dont know which way to go about it. for example my first statement if close = candlestickpattern(blahblah) then Draw shape on the close of that candle does not draw anything when i apply it to a chart with the same indicator set to display differently so I can confirm it triggers right.

    Thanks for any help

    #2
    Originally posted by derekb777 View Post
    Hey everyone,

    New to NT and programming so bear with me. I am trying to develop the pieces of a strategy i used to employ on prodigio with some success. part of that is using candlestick patterns like a bullish engulfment.

    The problem I'm facing is how to make the strategy with it. I dont know which way to go about it. for example my first statement if close = candlestickpattern(blahblah) then Draw shape on the close of that candle does not draw anything when i apply it to a chart with the same indicator set to display differently so I can confirm it triggers right.

    Thanks for any help
    What are the errors in your log?

    Comment


      #3
      I was able to get it working. Still dont fully understand the my input stuff, but once i set that == candle stick pattern it worked.

      For the next step i want it to have an up bar immediately following it before the position goes long. How do i do that?

      Comment


        #4
        Hi Derek, you could for example use -

        if (CandelStickPattern(ChartPattern.BullishEngulfing, 4)[1] == 1 && Close[0] > Open[0])
        EnterLong();

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        66 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X