Darvas Boxes screener maybe doable in Prorealtime

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #202989 quote
    Frank
    Participant
    Junior

    As far as I understand from what I’ve read so far in this forum, Prorealtime is not capable of creating a screener based on Darvas Boxes (correct me if I’m wrong). However, after seeing this detailed video about a Darvas Boxes screener clearly based on Tradingview, I believe something similar could be possibly developed. I don’t have the required skills to do it. Here is the video, please check it out and let me know if this is doable. Thank you.

    #203007 quote
    robertogozzi
    Moderator
    Master

    These are a couple of links to the indicator https://www.prorealcode.com/prorealtime-indicators/darvas-boxes-2/https://www.prorealcode.com/prorealtime-indicators/darvas-boxes/. Which one are you using?

    What signal should the screener return (when the box is broken)?

    #203033 quote
    Frank
    Participant
    Junior

    Hi Roberto, I was only aware of the first link. The needed signal should be buy at breakout. Having such a screener would be great. Check this interesting article “The 7 Best Price Action Patterns Ranked by Reliability”: https://samuraitradingacademy.com/7-best-price-action-patterns/

    The statistics on the price action of 7 patterns were accumulated through testing of 10 years of data and over 200,000 patterns.  In all these cases the price action patterns were only included once they were considered to be complete, which usually means a full break of a support/resistance area or trendline.

    All the main patterns (excluding Cup & Handle) were examined and Darvas Boxes was the second most reliable one.

    Therefore, getting such a screener would be extremely interesting for all the community.

    Darvas.jpg Darvas.jpg
    #203126 quote
    Frank
    Participant
    Junior

    Hi Roberto, did you see my previous post? What do you think about it?

    #203129 quote
    robertogozzi
    Moderator
    Master

    Sorry, I didn’t have a chance to read it. I’ll take an in-depth look at it asap 🙂

    #203383 quote
    robertogozzi
    Moderator
    Master

    There you go (based on the indicator at https://www.prorealcode.com/prorealtime-indicators/darvas-boxes-2/):

    // Darvas Boxes 2
    //
    // https://www.prorealcode.com/prorealtime-indicators/darvas-boxes-2/
    //
    //============================== Indicateur
    once DownBoxe=undefined
    once UpBoxe=undefined
    c1 = 0
    IF close CROSSES OVER UpBoxe THEN
    c1 = 1
    ENDIF
    IF close CROSSES UNDER DownBoxe THEN
    c1 = 2
    ENDIF
    if box=1 and (high>DownBoxe or low<UpBoxe) then
    box=0
    flag=0
    endif
    if box=0 and flag=0 and low>low[3] and low[1]>low[3] and low[2]>low[3] then
    th=low[3]
    flag=1
    endif
    if flag=1 and box=0 and low<th then
    flag=0
    endif
    if flag=1 and box=0 and high<high[3] and high[1]<high[3] and high[2]<high[3] then
    DownBoxe=high[3]
    UpBoxe=th
    box=1
    endif
    SCREENER[c1 AND close > 20](c1 AS "1=↑, 2=↓")
    Frank thanked this post
    #203384 quote
    Frank
    Participant
    Junior

    Thank you very much Roberto! I hope this will be useful to all of the Prorealtime users.

    robertogozzi thanked this post
    #231588 quote
    IAmShareCrazy
    Participant
    New

    Is it possible for the box to be 2 to 8 weeks in duration? And on the daily or weekly charts? Many thanks.

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

Darvas Boxes screener maybe doable in Prorealtime


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Frank @fmuratori Participant
Summary

This topic contains 7 replies,
has 3 voices, and was last updated by IAmShareCrazy
1 year, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/24/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...