Screener Smart Money Concepts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #239206 quote
    Fr7
    Participant
    Master

    Iván, sería tremendo si me puedes sacar el Screener del indicador :https://www.prorealcode.com/topic/smart-money-concepts-luxalgo/

    Para que me entiendas lo que quiero…… aunque ya sé que está mal escrito eh:

    //——Structure of the drawing————————————————————//
    //—————————————————————————–//
    for i = g to 0 do
    drawsegment  ($topx  [  i  ]  ,$topy  [  i  ]  ,$  right  [  i  ]  ,$topy  [  i  ]  )  estilo  (  línea  )  coloreado  (  “verde”  )
    drawarrowup ($ right [ i ] ,$topy [ i ] – 0.5 * atr) colored ( “green” )
    if $topchoch [ i ] = 1 then
    drawtext ( “CHoCH” ,($topx [ i ] + $ right [ i ] ) / 2 ,$topy [ i ] + 0.25 * atr) colored ( “green” )
    others
    drawtext ( “BOS” ,($topx [ i ] + $ right [ i ] ) / 2 ,$topy [ i ] + 0.25 * atr) colored ( “green” )
    fine too
    next
    //—————————————————————————–//
    for i = w to 0 do
    drawsegment  ($botx  [  i  ]  ,$boty  [  i  ]  ,$botright  [  i  ]  ,$boty  [  i  ]  )  estilo  (  línea  )  coloreado  (  “rojo”  )
    drawarrowdown ($botright [ i ] ,$boty [ i ] + 0.5 * atr) colored ( “red” )
    if $botchoch [ i ] = 1 then
    drawtext ( “CHoCH” ,($botx [ i ] + $botright [ i ] ) / 2 ,$bots [ i ] + 0.25 * atr) coloreado ( “rojo” )
    others
    drawtext ( “BOS” ,($botx [ i ] + $botright [ i ] ) / 2 ,$boty [ i ] + 0.25 * atr) colored ( “red” )
    fine too
    next
    C1= drawarrowup ($ right [ i ] ,$topy [ i ] – 0.5 * atr) colored ( “green” )
    
    C2= drawarrowdown ($botright [ i ] ,$boty [ i ] + 0.5 * atr) colored ( “red” )
    
    SCREENER [C 1 OR C2  ]

     

    #239346 quote
    Iván González
    Moderator
    Master

    Buenas!
    Aquí tienes:

    //--------------------------------------------------------------------------------//
    //PRC_Smart Money Concepts
    //version = 1
    //29.07.2024
    //Iván González @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //--------------------------------------------------------------------------------//
    //-----Inputs---------------------------------------------------------------------//
    length=50
    
    showStructure=1
    showbull=1//1=all 2=bos 3=CHoCH
    showbear=1//1=all 2=bos 3=CHoCH
    
    //--------------------------------------------------------------------------------//
    //-----Swings---------------------------------------------------------------------//
    //---Swing length
    os=0
    upper=highest[length](high)
    lower=lowest[length](low)
    
    if high[length]>upper then
    os=0
    elsif low[length]<lower then
    os=1
    else
    os=os[1]
    endif
    
    if os=0 and os[1]<>0 then
    mytop=high[length]
    else
    mytop=0
    endif
    
    if os=1 and os[1]<>1 then
    mybot=low[length]
    else
    mybot=0
    endif
    //--------------------------------------------------------------------------------//
    //-----Pivot High-----------------------------------------------------------------//
    if mytop then
    topcross=1
    topy=mytop
    
    endif
    //--------------------------------------------------------------------------------//
    //-----Pivot Low------------------------------------------------------------------//
    if mybot then
    botcross=1
    boty=mybot
    
    endif
    //Detect bullish Structure
    signalLong=0
    if close crosses over topy and topcross then
    choch=undefined
    if trend<0 then
    choch=1
    endif
    if showStructure then
    if showbull=1 or (showbull=2 and not choch) or (showbull=3 and choch) then
    signalLong=1
    endif
    endif
    topcross=0
    trend=1
    endif
    
    //Detect Bullish Strcuture
    signalshort=0
    if close crosses under boty and botcross then
    choch=undefined
    if trend>0 then
    choch=1
    endif
    
    if showStructure then
    if showbear=1 or (showbear=2 and not choch) or (showbear=3 and choch) then
    signalshort=1
    endif
    endif
    botcross=0
    trend=-1
    endif
    
    screener[signalLong or signalShort](signalLong as "long",signalShort as "short")
    Fr7 and druby thanked this post
    #239353 quote
    Fr7
    Participant
    Master

    Muchas gracias Iván!!!,nunca te estaremos lo suficientemente agradecidos los miembros de este foro tu altruismo, profesionalidad ,eficacia y rapidez en la elaboración de todos los códigos.

    druby thanked this post
    #257584 quote
    Dany PL
    Participant
    Junior

    QUE ES LO QUE SE DETECTA CON ESTE SCREENER?

    GRACIAS

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

Screener Smart Money Concepts


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
Fr7 @fr7 Participant
Summary

This topic contains 3 replies,
has 1 voice, and was last updated by Dany PL
3 weeks, 1 day ago.

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