Indicators using Range Bars

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237940 quote
    hercules
    Participant
    New

    Hi, I am looking to create signals using Range Bars… for example looking for Hammer Patterns in Range Bars etc.

    Is this possible at present?

    #237943 quote
    Iván González
    Moderator
    Master

    Yes, it is possible to create signals using Range Bars to identify candlestick patterns such as Hammer Patterns. However, ProRealTime’s ProScreener and ProBuilder are generally based on fixed time frames (e.g., 1 minute, hourly, daily, etc.). The ProScreener allows you to identify patterns on these predefined time frames, as mentioned in the manual, but it does not natively support Range Bars directly.

    You can still implement your logic for Hammer Patterns using ProBuilder by simulating Range Bars. This involves coding the logic to identify the open, high, low, and close within your desired range criteria. Here’s how you might approach coding a Hammer Pattern in ProBuilder for a simulated Range Bar:

    // Variables for defining the hammer pattern
    Body = ABS(Close - Open)   // The length of the body
    UpperShadow = High - MAX(Open, Close)  // The length of the upper shadow
    LowerShadow = MIN(Open, Close) - Low   // The length of the lower shadow
    
    // Defining conditions for a hammer pattern
    HammerPattern = (Body < (LowerShadow / 2)) AND (UpperShadow < (Body / 2))
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Indicators using Range Bars


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
hercules @hercules Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
1 year, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/23/2024
Status: Active
Attachments: No files
Logo Logo
Loading...