Bar Speed Timer?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #218656 quote
    Pawko22Pawko22
    Participant
    New

    Hello!

    I’d like to have a Bar Speed Timer indicator that will show how fast any bar is forming.

    Can someone help me with that?

     

    Thanks

    #218657 quote
    JSJS
    Participant
    Master

    Hi,

    Try this one…

     

    GTF=GetTimeFrame
    Dist=High-Low
    
    BarSpeed=Dist/GTF //BarSpeed=Points/Seconds
    
    If Close-Open>0 then
    R=0
    G=255
    B=0
    Else
    R=255
    G=0
    B=0
    EndIf
    
    Return BarSpeed as "BarSpeed" Style(Histogram) Coloured(R,G,B)
    Nicolas thanked this post
    Scherm­afbeelding-2023-08-07-om-07.05.41.png Scherm­afbeelding-2023-08-07-om-07.05.41.png
    #218754 quote
    Pawko22Pawko22
    Participant
    New

    Thank you Nicolas!

    I really appreciate that:)

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

Bar Speed Timer?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Pawko22 @pawko22 Participant
Summary

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

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