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:	114
Size:	22.4 KB
ID:	1291626


    Click image for larger version

Name:	image.png
Views:	95
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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      50 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      69 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      36 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      96 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      59 views
      0 likes
      Last Post PaulMohn  
      Working...
      X