Tick data not accurately updated

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #143554 quote
    drutskidrutski
    Participant
    New

    I’ve been banging my head against my desk trying to make a non-repainting zigzag on tick by tick data without the inbuilt function. I couldn’t find the bug in my code so I went right down to see exactly what values are returned by barindex[] and close[]. I don’t know if this is a known issue but it seems that barindex[], close[] and the related functions are not updating correctly. To test this I used the following code:

    DRAWSEGMENT(barindex[1],close[1],barindex[0],close[0]) COLOURED(255,255,255)
    
    RETURN

    This should draw a line that follows the tick centre price line but it’s all over the place. Is there a workaround?

    ticks.png ticks.png
    #145186 quote
    NicolasNicolas
    Keymaster
    Legend

    Sorry for late reply. The code is working ok for me on v11 on a 1-tick chart. What was the instrument tested please?

    #147669 quote
    drutskidrutski
    Participant
    New

    Hi Nicolas,

     

    I’m with IG so I’ve on v10.3. The ticker is US500 (SPX).

     

    Thanks!

    #147765 quote
    NicolasNicolas
    Keymaster
    Legend

    You are right, something is wrong in version 10.3. I will report it, please do the same and refer this topic web link into your message.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Tick data not accurately updated


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
drutski @drutski Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by NicolasNicolas
5 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/07/2020
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...