Tick counter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #140013 quote
    smf1
    Participant
    Average

    Hi,

    is it possible to count ticks generated during the current candle, for example a 5 minutes one? Obviously in “Tick by tick” timeframe is very easy to do it, but I have no idea on how to do it in a higher timeframe. In any indicator applied to any timeframe you can see the movement of the current candle affecting the indicator, that means any price variation of the current candle is detected by the indicator. Does it mean that any tick could be detected (counted) in some way in the code even if it is running at 5 minutes or 1 hour or whatever timeframe?

    Thanks for any answer

    Stefano

    #140017 quote
    robertogozzi
    Moderator
    Master

    No, you cannot mix time based charts with non-time base ones.

    There’s no way to count how many ticks form a single 5-minute bar (or any other TF), other than the workaround you mentioned.

    #140019 quote
    smf1
    Participant
    Average

    Ok thanks Roberto

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

Tick counter


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
smf1 @smf1 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by smf1
5 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 07/24/2020
Status: Active
Attachments: No files
Logo Logo
Loading...