Indicatore da richiamare in strategia ProOrder

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

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

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

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