ELABORAR UN BUSCADOR DE ESTE INDICADOR

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257741 quote
    jorge242
    Participant
    Junior

    HOLA BUENOS DIAS, SE PODRIA HACER UN BUSCADOR DE ESTE INDICADOR ,QUE MUESTRE EL PRECIO QUE A CIERRE ROMPA LA CAJA DE DARVAS POR ARRIBA?


    //-------------------------------------------------//
    //PRC_Darvas Boxes
    //version = 0
    //15.05.24
    //Iván González @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //-------------------------------------------------//
    //-----Inputs--------------------------------------//
    defparam calculateonlastbars=500
    boxp=5//Box Length
    color=1//Color between top and bottom?
    //-------------------------------------------------//
    //-----High and Low Bands--------------------------//
    ll=lowest[boxp](low)
    k1=highest[boxp](high)
    k2=highest[max(1,boxp-1)](high)
    k3=highest[max(1,boxp-2)](high)
    //-------------------------------------------------//
    //-----New Highs Detection-------------------------//
    if high>k1[1] then
      nh=high
    else
      nh=nh
    endif
    //-------------------------------------------------//
    //-----Top and Bottom definition-------------------//
    box1=k3<k2
    if barssince(high>k1[1])=(boxp-2) and box1 then
      topbox=nh
      bottombox=ll
    else
      topbox=topbox
      bottombox=bottombox
    endif
    //-------------------------------------------------//
    //-----Plotting------------------------------------//
    drawpoint(barindex,topbox)coloured("green")
    drawpoint(barindex,bottombox)coloured("red")
    if color then
      colorbetween(topbox,bottombox,"yellow",50)
    endif
    //-------------------------------------------------//
    return
    
    #257764 quote
    Iván González
    Moderator
    Legend

    aqui tienes

    boxp=5
    //-------------------------------------------------//
    k1=highest[boxp](high)
    k2=highest[max(1,boxp-1)](high)
    k3=highest[max(1,boxp-2)](high)
    //-------------------------------------------------//
    if high>k1[1] then
       nh=high
    else
       nh=nh
    endif
    //-------------------------------------------------//
    box1=k3<k2
    if barssince(high>k1[1])=(boxp-2) and box1 then
       topbox=nh
    else
       topbox=topbox
    endif
    screener[high crosses over topbox]
    


    robertogozzi thanked this post
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

ELABORAR UN BUSCADOR DE ESTE INDICADOR


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
jorge242 @jorge242 Participant
Summary

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

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 02/10/2026
Status: Active
Attachments: No files
Logo Logo
Loading...