Doppio ordine con prezzo variabile

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #77056 quote
    ironshirowironshirow
    Participant
    Average

    Ciao a tutti,

    vorrei sapere se con proorder esiste la possibilità di:

    • immettere due ordini pendenti contemporaneamente e se si attiva uno dei due l’altro si annulla;
    • Inserire in % il prezzo dell’ordine ovvero inserire un ordine pendente che è l’X% in più o meno rispetto al prezzo corrente.

    Grazie

    #77062 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Puoi inserire quanti ordini pendenti vuoi, ma NON puoi cancellarne uno quando un altro entra a mercato (OCO), quelli non entrati si cancellano automaticamente alla chiusura della barra in corso.

    AVVERTENZA:  se inserisci più ordini pendenti questi possono essere anche tutti aperti indipendentemente da DEFPARAM CUMULATEORDERS, perché a ProOrder è necessaria una barra per potere venire a conoscenza degli ordini a mercato quindi se alla fine della barra ne sono entrati a mercato più di uno…. li restano fino alla loro chiusura sulla base di quanto stabilito dalla strategia!

    Per quanto riguarda la percentuale, puoi fare come vuoi, ad esempio

    Prezzo = close * 0.75         //oppure 1.10, ecc...  (invece di CLOSE puoi mettere OPEN, LOW,....)
    BUY/SELLSHORT AT Prezzo LIMIT //o STOP Prezzo è peggiore di quello corrente
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

Doppio ordine con prezzo variabile


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
ironshirow @ironshirow Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
8 years, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 07/30/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...