Ayuda Screener Indicador Perfect Trend Line

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50630 quote
    juancar65
    Participant
    New

    Hola Nicolas,

    Podrias ayudarme con un screener sobre el indicador Perfect Trend Line donde detecte señal de largos

    gracias

    #51148 quote
    juancar65
    Participant
    New

    por si sirve para alguien

    TIMEFRAME(weekly)
    ignored, indicator1 = CALL trend[7, 0, 3, 0]
    c1 = (close CROSSES OVER indicator1)
    SCREENER[c1] ((close/DClose(1)-1)*100 AS “% Var ayer”)

    #51291 quote
    Nicolas
    Keymaster
    Master

    Simplemente lo codifico para usted, solo detectará una nueva tendencia alcista a partir del período actual.

    // --- settings
    SlowLength         = 7 // Slow length
    SlowPipDisplace    = 0 // Slow pip displace
    FastLength         = 3 // Fast length
    FastPipDisplace    = 0 // Fast pip displace
    // --- end of settings
    
    thigh1 = Highest[SlowLength](high)+ SlowPipDisplace*pointsize
    tlow1  = Lowest[SlowLength](low)- SlowPipDisplace*pointsize
    thigh2 = Highest[FastLength](high)+ FastPipDisplace*pointsize
    tlow2  = Lowest[FastLength](low)- FastPipDisplace*pointsize
    
    if barindex>2 then
    if Close>line1[1] then
    line1 = tlow1
    else
    line1 = thigh1
    endif
    if Close>line2[1] then
    line2 = tlow2
    else
    line2 = thigh2
    endif
    endif
    
    if (Close[0]<line1[0] and Close[0]<line2[0]) then
    trend =  1
    endif
    if (Close[0]>line1[0] and Close[0]>line2[0]) then
    trend = -1
    endif
    if (line1[0]>line2[0] or trend[0] =  1) then
    trena =  1
    endif
    if (line1[0]<line2[0] or trend[0] = -1) then
    trena = -1
    endif
    
    screener[trena=-1 and trena[1]=1]
    
    perfect-trend-line-screener.png perfect-trend-line-screener.png
    #51303 quote
    juancar65
    Participant
    New

    Gracias Nicolas

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

Ayuda Screener Indicador Perfect Trend Line


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
juancar65 @juancar65 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by juancar65
8 years, 4 months ago.

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 10/26/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...