Indicador LastManStanding Swing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #77496 quote
    Domingos AmoedoDomingos Amoedo
    Participant
    Junior

    Hola:

    Soy nuevo en este foro y usando PRT. He encontrado un indicador (Last Man Standing Swing) que parece bastante útil.

    Existe algún Screener que permita detectar los puntos (tanto los morados como los azules)?.

    Gracias.

    #77706 quote
    NicolasNicolas
    Keymaster
    Legend

    A continuación, encontrará el código del filtro. Tenga en cuenta que los puntos morados y azules se trazan después y no en tiempo real.

    //PRC_LastManStandingIndicator | screener
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    // --- settings
    PeriodsInMajorSwing=13
    PeriodsInMinorSwing=5
    // --- end of settings
    
    hhminorprice=0
    llminorprice=close*1000
    for i = 1 to PeriodsInMinorSwing*2 do
    if high[i]>hhminorprice then
    hhminorbar = barindex[i]
    hhminorprice = high[i]
    endif
    if low[i]<llminorprice then
    llminorbar=barindex[i]
    llminorprice=low[i]
    endif
    next
    
    hhmajorprice=0
    llmajorprice=close*1000
    for i = 1 to PeriodsInMajorSwing*2 do
    if high[i]>hhmajorprice then
    hhmajorbar = barindex[i]
    hhmajorprice = high[i]
    endif
    if low[i]<llmajorprice then
    llmajorbar=barindex[i]
    llmajorprice=low[i]
    endif
    next
    
    result = barindex-hhminorbar=PeriodsInMinorSwing or barindex-llminorbar=PeriodsInMinorSwing or barindex-hhmajorbar=PeriodsInMajorSwing or barindex-llmajorbar=PeriodsInMajorSwing 
    
    screener [result]
    Domingos Amoedo thanked this post
    lastman-standing-screener.png lastman-standing-screener.png
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

Indicador LastManStanding Swing


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
8 years, 1 month ago.

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 08/03/2018
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...