Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

We want to paint on the chart a candle that has achieved at least 5% from the previou

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

    #31
    Thank you for your reply.

    I will refer to the materials you provided and give it a try.
    I may ask again, and would be grateful if you could help me in that case.​

    Comment


      #32
      Hello ラリー,

      If you have an action outside of the action block of an if statement, it will always trigger. Put the action in the action block of the if statement so the action only triggers when the conditions are true.

      The last bar on a chart does not close until a new bar is formed. Use Calculate OnPriceChange or OnEachTick to trigger actions before the bar closes.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #33
        Thank you for your reply.

        Thank you for telling us about it.
        I would be happy to ask again after I have learned more about this matter, and thank you again for your time.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        252 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        161 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        165 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        251 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        203 views
        0 likes
        Last Post CarlTrading  
        Working...
        X