Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate.OnPriceChange Still drawing on bar close

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

    Calculate.OnPriceChange Still drawing on bar close

    I assume I am missing something obvious, but I cannot get my indicator to draw a circle on a bar at the bar's open or when price crosses an indicator (PSAR). Calculate is set to Calculate.OnPriceChange, but in both cases the circles are drawing at the bar's close.

    Any help would be appreciated.​

    Click image for larger version

Name:	image.png
Views:	105
Size:	22.4 KB
ID:	1291626


    Click image for larger version

Name:	image.png
Views:	84
Size:	156.8 KB
ID:	1291627

    ​​
    ​​​

    #2
    Hello WestTrader,

    Thank you for your post.

    I see that part of your condition checks for "IsFirstTickOfBar" which would cause the action to occur only on the close of a bar:


    If you remove this bool from your condition, this should allow the logic to be checked on price change rather than only on bar close.

    Please let us know if we may be of further assistance.

    Comment


      #3
      Emily,

      Thanks for your response.

      Turns out the "IsFirstTickOfBar" was not the problem. I needed to turn on "Tick Replay" and change my data provider from Interactive Brokers to Kinetick Live Feed to receive tick data. Once I did this the indicator was drawing where expected.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      597 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      343 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      556 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      555 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X