Errore nel codice

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #130822 quote
    Gattotrader
    Participant
    New

    Buongiorno, ho inserito il seguente codice e mi da errore in riga 4 e non capisco perché qualcuno mi può aiutare? Grazie mille della risposta

    // Condizioni per entrare su posizioni long
    a1 = Price > MedianPrice[2]
    a2 = Hour = 110001
    IF NOT ONMARKET and a1 AND a2 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF
    #130825 quote
    robertogozzi
    Moderator
    Master

    Tra le regole ben evidenziate in giallo qui sotto c’è:

    usa sempre il pulsante “Insert PRT code” quando inserisci il codice nei tuoi post per facilitare la lettura degli altri.“

    Per favore rispettala. Grazie 🙂

    #130826 quote
    robertogozzi
    Moderator
    Master

    Hai anche postato nel forum sbagliato, è una strategia quindi va in ProOrder, non ProBuilder.

    Per favore fai più attenzione!

    Non hai specificato che errore ti ha segnalato.

    L’unico che noto è che non hai utilizzato la variabile Price.

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

Errore nel codice


ProOrder: Trading Automatico & Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 05/10/2020
Status: Active
Attachments: No files
Logo Logo
Loading...