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 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