Screener pattern 80/20

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #211826 quote
    EdisoneEdisone
    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
    robertogozzirobertogozzi
    Moderator
    Legend

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

    #211887 quote
    EdisoneEdisone
    Participant
    Average

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

    Grazie

    #212150 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
3 years, 5 months ago.

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