Tick counter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #140013 quote
    smf1smf1
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    smf1smf1
    Participant
    Average

    Ok thanks Roberto

Viewing 3 posts - 1 through 3 (of 3 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 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 smf1smf1
6 years, 2 months ago.

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