Blast off indicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #133335 quote
    James Jay Colin
    Participant
    New

    Hello everybody,

     

    I would like to implement in my prorealtime the blast off indicator of Larry Williams.

    Does anybody knows if it is already available to add?

    The indicator should do what follows:

    declare lower;
    input limit = 20;

    def Val = AbsValue(close – open);
    def Range = high – low;
    plot sample = Val / Range * 100;
    plot Trigger = limit;

     

    Thank you for your support!

    Best

    #133341 quote
    Vonasi
    Moderator
    Master

    That’s simply body as a percentage of range.

    This indicator will return 1 if it is less than or equal to 20 and 0 if it is greater than 20 (not tested):

    level = 20
    
    perc = (abs(close-open)/range)*100
    
    result = 0
    if perc <= level then
    result = 1
    endif
    
    return result
    
    #133346 quote
    Vonasi
    Moderator
    Master

    Alternatively it can be a line indicator:

    level = 20
    perc = (abs(close-open)/range)*100
     
    return perc as "Body % of range", level as "Level"
    #133349 quote
    robertogozzi
    Moderator
    Master

    Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.

    I deleted the one in the italian forum.

    Thank you 🙂

    #133393 quote
    GraHal
    Participant
    Master

    Above codes added as Log 218 here …

    Snippet Link Library

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Blast off indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 4 replies,
has 4 voices, and was last updated by GraHal
5 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/26/2020
Status: Active
Attachments: No files
Logo Logo
Loading...