DIFFERENZA CLOSE/OPEN SU ATR

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #94991 quote
    andrea trevisan
    Participant
    Average

    Il mio obbiettivo è cercare una candela in cui la differenza fra open close sia minore del 50% del valore dell’atr sia che la candela sia rialzista ribassista

    lo scopo e filtrare in un concetto di day trade candele in cui il prezzo non abbia  gia “bruciato” la maggior parte del Range stimato e a cui non rimanga molta strada da percorrere.
    Mio tentativo:

    c1 = open – close
    
    c2 = (averagetruerange[14](close)/2)
    
    c3 = close
    
    if c1 < c2 then
    
    screener[c3]
    
    endif

    spero di essere stato chiaro grazie per l’aiuto

    #95035 quote
    robertogozzi
    Moderator
    Master

    Prova a sostituire la riga 1 con:

    c1 = abs(open – close)
    #95058 quote
    robertogozzi
    Moderator
    Master

    Scusami, ci sono altre modifiche da fare:

    c1 = abs(open – close)
    c2 = (averagetruerange[14](close)/2)
    c3 = 0
    if c1 < c2 then
       c3 = 1
    endif
    screener[c3](close AS "Prezzo")

    Non si possono mettere le istruziuoni SCREENER per gli screener e RETURN per gli indicatori, all’interno di IF…ENDIF. Dopo di loro non deve esserci altro.

    #95085 quote
    andrea trevisan
    Participant
    Average

    Grazie sempre gemtilissimo…

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

DIFFERENZA CLOSE/OPEN SU ATR


ProScreener: Scansione Mercati & Screener

New Reply
Author
Summary

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

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