Screener pattern 80/20

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #211826 quote
    Edisone
    Participant
    Average

    Salve,
    ho un problema con la ricerca del pattern 80/20 di Linda Raschke e Laurence Connors.
    Allego codice. Il problema è che se faccio la ricerca di titoli della settimana scorsa o del giorno precedente ottengo falsi risultati, il più delle volte non rispettano le condizioni o sono riferiti a settimane/giorni precedenti

    // pattern 80/20
    RANGEHIGH=(RANGE*.80)
    RANGELOW=(RANGE*.20)
    CANDLEUPPER=(RANGEHIGH+LOW)
    CANDLELOWER=(RANGELOW+LOW)
    IF (OPEN<CANDLELOWER and CLOSE>CANDLEUPPER and CLOSE>OPEN)THEN
    Risultato = 1 // LONG
    ENDIF
    IF (OPEN>CANDLEUPPER and CLOSE<CANDLELOWER and CLOSE<OPEN)THEN
    Risultato = 2 // SHORT
    ENDIF
    SCREENER [Risultato] (Risultato AS "1=↑, 2=↓")

    .
    Grazie

    #211839 quote
    robertogozzi
    Moderator
    Master

    Spiegami quando deve essere rilevato un segnale long ed uno short.

    #211887 quote
    Edisone
    Participant
    Average

    Long = quando quando la candela chiude sui massimi quindi candela Verde. Short viceversa.

    Grazie

    #212150 quote
    robertogozzi
    Moderator
    Master

    Basta che aggiungi questa riga all’inizio (oppure anche altrove, basta che sia PRIMA delle riga 6. Il problema era che non azzerava il segnale, quindi manteneva quello della candela precedente.

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

Screener pattern 80/20


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Edisone @edisone Participant
Summary

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

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 03/20/2023
Status: Active
Attachments: No files
Logo Logo
Loading...