oops di williams su qualunque TF

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #204361 quote
    Gabriele Battista
    Participant
    Senior

    Buongiorno vorrei un indicatore che mi segnali la presenza di un OOPS di williams su un qualunque Time frame disegnando il livello di ingresso quando il pattern si presenta.

    #204407 quote
    robertogozzi
    Moderator
    Master

    L’OOPS di Williams è quando l’apertura di oggi è inferiore al minimo di ieri, oppure maggiore dela massimo di ieri?

    Le candele devono essere opposte, cioà una Rossa seguita da una Verde o viceversa?

    #204449 quote
    Gabriele Battista
    Participant
    Senior

    da Traderpedia

    x-8.jpg x-8.jpg
    #204598 quote
    Gabriele Battista
    Participant
    Senior

    Scusa ma ho girato un riferimento errato…. è un pattern di inversione, il bullish si presenta intorno a minimi rilevanti e si individua su grafico giornaliero. dopo un ribasso c’è una apertura in gap down che fa pensare una prosecuzione del movimento, poi il prezzo risale e chiude il gap (li va messa l’entrata e vorrei segnare il livello). lo stop loss va sotto il minimo segnato.

    #204674 quote
    robertogozzi
    Moderator
    Master

    Non inserire documenti/file/immnagini all’interno del post, ma allegali usando il pulsante “Select File“.
    Grazie 🙂

    Appena ho un pò di tempo te lo farò.

    #204689 quote
    Gabriele Battista
    Participant
    Senior

    grazie

    #204782 quote
    robertogozzi
    Moderator
    Master

    Eccolo (provato sul DAX, Giornaliero):

    DEFPARAM CumulateOrders = False
    ONCE p  = 40                   //40  periodi per verificare il trend
    Bullish = close > open
    Bearish = close < open
    HH          = highest[p](high)
    LL          = lowest[p](low)
    UP      = 0
    DN      = 0
    FOR i = 0 TO (p - 1)
    IF high[i] = HH THEN
    UP = 1
    BREAK
    ENDIF
    IF low[i] = LL THEN
    DN = 1
    BREAK
    ENDIF
    NEXT
    GapDN = open < low[1]  AND Bullish AND DN
    GapUP = open > high[1] AND Bearish AND UP
    IF GapDN THEN
    GapUP   = 0
    Entrata = low[1] + 1*PipSize
    SL      = low - 1*PipSize
    TP      = Entrata + (Entrata - SL) * 10
    ELSIF GapUP THEN
    GapDN   = 0
    Entrata = high[1] - 1*PipSize
    SL      = high + 1*PipSize
    TP      = Entrata - (SL - Entrata) * 10
    ENDIF
    IF (GapUP + GapDN) = 0 THEN
    GapUP = GapUP[1]
    GapDN = GapDN[1]
    ENDIF
    IF OnMarket THEN
    GapUP = 0
    GapDN = 0
    ENDIF
    IF GapDN THEN
    IF close > Entrata THEN
    BUY 1 CONTRACT AT Entrata LIMIT
    ELSIF close < Entrata THEN
    BUY 1 CONTRACT AT Entrata STOP
    ELSE
    BUY 1 CONTRACT AT Market
    ENDIF
    SET STOP   PRICE SL
    SET TARGET PRICE TP
    ELSIF GapUP THEN
    IF close < Entrata THEN
    SELLSHORT 1 CONTRACT AT Entrata LIMIT
    ELSIF close > Entrata THEN
    SELLSHORT 1 CONTRACT AT Entrata STOP
    ELSE
    SELLSHORT 1 CONTRACT AT Market
    ENDIF
    SET STOP   PRICE SL
    SET TARGET PRICE TP
    ENDIF
    //graphonprice SL      coloured("Red")  AS "SL"
    //graphonprice TP      coloured("Blue")
    //graphonprice Entrata
    IlMioSistema.itf
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

oops di williams su qualunque TF


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by robertogozzi
3 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 11/18/2022
Status: Active
Attachments: 2 files
Logo Logo
Loading...