Bar Speed Timer?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #218656 quote
    Pawko22
    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
    JS
    Participant
    Senior

    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
    #218754 quote
    Pawko22
    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.

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 Pawko22
2 years, 6 months ago.

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