Volatility (20) indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #254072 quote
    segiesegie
    Participant
    Senior
    Hi, ProReal has the above indicator. Please help me display the percentage(%) difference from the previous period. Example +15% growth from the previous period. Regards, Segie
    #254073 quote
    JSJS
    Participant
    Master

    When you use the standard volatility indicator (Volatility[S, L]), it compares the current volatility period with the previous volatility period. For example:

    Volatility[20,20]

    This indicator therefore returns the ratio (current volatility period / previous volatility period) expressed as a percentage…

    Vola=Volatility[20,20]
    
    If Vola>=15 then
    Signal=1
    else
    Signal=0
    EndIf
    
    Return Signal as "Signal"
    If you want a signal when the current volatility is more than 15% higher than the previous period, you can use the following indicator:

    robertogozzi, segie and Iván González thanked this post
    Scherm­afbeelding-2025-11-29-om-14.45.28.png Scherm­afbeelding-2025-11-29-om-14.45.28.png
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

Volatility (20) indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
segie @segie Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/29/2025
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...