DIFFERENZA CLOSE/OPEN SU ATR

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

    Prova a sostituire la riga 1 con:

    c1 = abs(open – close)
    #95058 quote
    robertogozzirobertogozzi
    Moderator
    Legend

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

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 trevisanandrea trevisan
7 years, 5 months ago.

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