comperare sul max della candela precedente

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #109321 quote
    eugenioeugenio
    Participant
    Junior
    buongiorno posso chiedere se qualcuno mi può aiutare in questo : non riesco a dire al programma di comperare sopra lo spillo della candela precedente e vendere sotto lo spillo della candela precedente , ho provato diverse funzioni , come , close>high e altre cose ma mi entra a mercato sempre sopra la chiusura della candela precedente e non sullo spillo , cioè il max precedente . cosa devo scrivere ? grazie eugenio
    #109325 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Quando entri a mercato è sempre al prezzo corrente, cioè CLOSE.

    Per entrate su HIGH o LOW occorre inserire un ordine pendente, LIMIT se  il prezzo d’entrata è migliore, STOP se è peggiore.

    Nel tuo caso vuoi vendere ed acquistare a prezzi peggiorativi quindi piazzerai ordini STOP:

    BUY 1 CONTRACT AT HIGH[1] STOP
    SELLSHORT 1 CONTRACT AT LOW[1] STOP
    Gli ordini pendenti durano una sola candela, quindi si cancellano automaticamente alla chiusura della candela. Se usi grafici ad 1 minuto si cancellano dopo 1 minuto, se usi grafici mensili si cancellano dopo un mese.

    Ovviamente si cancellano solo quelli non attivati.

    Se t’interessa tenerli aperti più a lungo devi reimmetterli ogni candela fin quando lo desideri.

    #109326 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    In realtà dovresti verificare ogni volta, perché non è detto che HIGH[1] sia maggiore, o LOW[1] inferiore, al prezzo corrente che è CLOSE. Se piazzi ordini pendenti sbagliati entrano in modo errato o vengono rifiutati.
    #109351 quote
    eugenioeugenio
    Participant
    Junior
    grazie tante ora provo ad inserire la tua dicitura , ti farò sapere se funziona grazie tante buon weekend eugenio
Viewing 4 posts - 1 through 4 (of 4 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

comperare sul max della candela precedente


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
eugenio @eugenio Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by eugenioeugenio
7 years ago.

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