Bar Finder

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14723 quote
    Lcaruana
    Participant
    Junior

    Can anyone code an indicator to detect when a bar closes in the top 25% of its range?

    #14728 quote
    Wing
    Participant
    Veteran
    TopQuartile=0
    
    if high-close<=0.25*(high-low) then
    TopQuartile=1
    endif
    
    return TopQuartile
    #14734 quote
    Lcaruana
    Participant
    Junior

    thank you

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

Bar Finder


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Lcaruana @lcaruana Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Lcaruana
9 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/11/2016
Status: Active
Attachments: No files
Logo Logo
Loading...