traderprice ie livello di entrata

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #161804 quote
    bahlbahl
    Participant
    Average

    nel linguaggio di proOrder, per designare il livello di entrata di un’operazione di vendita o acquisto avvenuta si utlizza il termine “traderprice”?

    #161805 quote
    MauroProMauroPro
    Participant
    Veteran

    TradePrice
    Il comando TRADEPRICE(n) permette di trovare il prezzo della transazione precedentemente eseguita.
    La sua sintassi é la seguente:
    TRADEPRICE(n-simo ordine precedente)
    Se n non é specificato, il prezzo dell’ultimo ordine eseguito é: TradePrice=TradePrice(1)

    Esempio:
    REM: Chiudete una posizione lunga se il prezzo é superiore al prezzo dell’ordine precedente
    maggiorato di 2%
    IF LONGONMARKET AND CLOSE > 1.02 * TRADEPRICE THEN
    SELL AT MARKET
    ENDIF

    robertogozzi thanked this post
    #161806 quote
    bahlbahl
    Participant
    Average

    grazie

    #161809 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Tieni presente che TRADEPRICE non è il prezzo di entrata, ma semplicemente l’ultimo prezzo tradato, quindi quando non sei a mercato TRADEPRICE o TRADEPRICE(1) è il prezzo di uscita dellìultima posizione e quello d’entrata è TRADEPRICE(2).

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

traderprice ie livello di entrata


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
bahl @bahl Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
5 years, 7 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 02/17/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...