Indicatore da richiamare in strategia ProOrder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #73948 quote
    AlgoAlex
    Participant
    Master

    Salve, sto avendo problemi a far chiamare da una strategia un indicatore che dovrebbe dare segnale di buy o sell.

    Uso questo codice alla fine

    entrylong= trend=1 and trend[1]<>1
    
    
    entryshort= trend=-1 and trend[1]<>-1
    
    
    
    return entrylong as "entrylong", entryshort as "entryshort"

    per poi usare la funzione CALL ma mi dà errore.

    Dove sto sbagliando?

    #73958 quote
    robertogozzi
    Moderator
    Master

    Lo richiami col nome che gli hai dato, assegnando i valori restituiti a 2 variabili:

    EntryL,EntryS=CALL “mio indicarore”

    Se non devi utilizzare una delle variabili puoi sostituirla con la parola riservata IGNORED.

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

Indicatore da richiamare in strategia ProOrder


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
AlgoAlex @alexf Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
7 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 06/21/2018
Status: Active
Attachments: No files
Logo Logo
Loading...