PG Screener

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #74172 quote
    JohnScher
    Participant
    Veteran

    Hallo

     

    Ich habe heute einen PG -Indicator fertig gestellt.

    Ich wollte fragen, ob jemand das als Screener umprogrammieren kann?

     

    // PopGun Indikator
    // coded by JohnScher
    
    //for the graphics
    PIP = 10*pipsize
    LIN = 3
    
    //percentrenage = Support or Resistance in Percent og the Range High-Low = 25% default
    Support = (High-Low)*percentrange/100
    Resistance = (High-Low)*percentrange/100
     
     
    //indicator PopGun
    PG = High[2]>High[1] and Low[2]<Low[1] and High>High[1] and Low<Low[1]
    
    // the second outside candle
    PGLong = PG and Close>open // greencandle = long , as rerversal short
    PGShort = PG and Close<Open //redcandle = short, as reversal long
    
    
    
    IF PGLong Then
    rL=0
    gL=0
    bL=250
    DRAWARROWUP(barindex,LOW-PIP)coloured(rL,gL,bL)
    DRAWSEGMENT(barindex,LOW-SUPPORT,barindex+LIN, LOW-SUPPORT )coloured(rL,gL,bL)
    // to trade as reversal red candle = Long
    rL=250
    gL=0
    bL=250
    DRAWARROWDOWN(barindex,HIGH+PIP)coloured(rs,gs,bs)
    DRAWSEGMENT(barindex,High+Resistance,barindex+LIN, High+Resistance )coloured(rs,gs,bs)
    Endif
    
    IF PGShort then
    rS=250
    gS=0
    bS=00
    DRAWARROWDOWN(barindex,HIGH+PIP)coloured(rs,gs,bs)
    DRAWSEGMENT(barindex,High+Resistance,barindex+LIN, High+Resistance )coloured(rs,gs,bs)
    // to trade as reversal red candle = Long
    rL=0
    gL=0
    bL=250
    DRAWARROWUP(barindex,LOW-PIP)coloured(rL,gL,bL)
    DRAWSEGMENT(barindex,LOW-SUPPORT,barindex+LIN, LOW-SUPPORT )coloured(rL,gL,bL)
    
    ENDIF
    
     
    return
    

    Gefunden werden sollen, PGShort und PGLong.

     

    Freundliche Grüße

    JohnScher

    #74174 quote
    robertogozzi
    Moderator
    Master

    Ich hoffe, das geht gut, offensichtlich habe ich nur was benötigt.
    Der grafische Teil, den Sie in den Grafiken sehen können.

    // PopGun Indikator
    // coded by JohnScher
    PG      = High[2]>High[1] and Low[2]<Low[1] and High>High[1] and Low<Low[1]
    PGLong  = PG and Close>open
    PGShort = PG and Close<Open
    x = 0
    IF PGLong Then
       x = 1
    Endif
    IF PGShort then
       x = -1
    ENDIF
    SCREENER[x](x as "PG")
    JohnScher thanked this post
    #74212 quote
    JohnScher
    Participant
    Veteran

    Hello Roberto.
    The Screener works, very well!
    See pictures attached.
    Thank you very much!!
    regards
    JohScher

     

    http://prntscr.com/jynm9q

     

    http://prntscr.com/jynmdd

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

PG Screener


ProScreener: Marktscanner & Aktiensuche

New Reply
Author
author-avatar
JohnScher @johnscher Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by JohnScher
7 years, 8 months ago.

Topic Details
Forum: ProScreener: Marktscanner & Aktiensuche
Language: German
Started: 06/23/2018
Status: Active
Attachments: No files
Logo Logo
Loading...