screener in indicatore

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #144958 quote
    max1775
    Participant
    Average

    come si fa a trasformare uno screener in  indicatore e farti restituire i segnali che usi per entrare Long?

    #144966 quote
    Nicolas
    Keymaster
    Master

    Quindi, vuoi trasformare uno screener in un indicatore e quindi recuperare i segnali per le voci di scambio automatico?

    #144968 quote
    robertogozzi
    Moderator
    Master

    Ho spostato il tuo argomento nel supporto ProBuilder in quanto riguarda prevalentemente un indicatore.

    L’indicatore semplicemente restituisce le condizioni dello screener.

    Supponiamo di avere questo screener:

    l1 = close CROSSES OVER  Average[100,0](close)
    s1 = close CROSSES UNDER Average[100,0](close)
    l2 = Rsi[14](close) > 20
    s2 = Rsi[14](close) < 80
    lg = l1 AND l2
    sh = s1 AND s2
    SCREENER[lg OR sh]
    

    Per trasformarlo in un indicatore devi solo cambiare l’ultima riga in modo che ti restituisca un valore positivo o negativo (dalle proprietà puoi settare il tipo ed il colore del dato restituito):

    l1 = close CROSSES OVER  Average[100,0](close)
    s1 = close CROSSES UNDER Average[100,0](close)
    l2 = Rsi[14](close) > 20
    s2 = Rsi[14](close) < 80
    lg = l1 AND l2
    sh = s1 AND s2
    x  = lg
    IF x = 0 THEN
      x = -sh
    ENDIF
    RETURN x
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

screener in indicatore


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
max1775 @max1775 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 09/22/2020
Status: Active
Attachments: No files
Logo Logo
Loading...