Non-Multiple Tick Charts & Custom Indicator Compatibility

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #244364 quote
    shiv55shiv55
    Participant
    New

    I want to display 20-tick and 28-tick  candlestic charts of an instrument in a single chart(not in two diff.  windows). Since the TIMEFRAME keyword only supports multiples of the current timeframe, I need a way to manually aggregate non-multiple tick data. Additionally, I should be able to write a custom indicator that can traverse back and forth through these aggregated candles like normal ones.

    If there are any existing codes related to aggregated tick candle series formation, I would appreciate it. The 20-tick and 28-tick values are just examples; I need a general approach to handle any custom tick settings.

    Does ProRealTime support this, and if so, how can it be implemented?

    Thank you!

    #244369 quote
    JSJS
    Participant
    Master
    A possible approach could be to count the ticks on a tick chart… TickCount20=TickCount20+1 TickCount28=TickCount28+1 And keep track of the different values for Open, High, Low and Close… High20=max(High20,High) Low20=min(Low20,Low) … Store this information in arrays or special variables and use this information to draw synthetic candles… DrawCandle(Open20, High20, Low20, Close20)
    Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Non-Multiple Tick Charts & Custom Indicator Compatibility


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
shiv55 @shiv55 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JSJS
1 year, 6 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 02/26/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...