una domanda banale sua variabile PositionPrice

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

    Se eseguo una operazione BUY /SELL o operazioni di uscita, enello stesso ciclo utilizzo la variabile PositionPrice, presumo che ancora non tenga conto della operazione richiesta, che se verifichera solo all’apertura della barra successiva.

    Se è cosi, le decisioni basate su questa variabile, come pure la PositionPerf, scontano il possibile gap tra la situazione attuale e quella che si realizza all’apertura della barra successiva.

    Chiedo una conferma ouna eventuale spiegazione alternativa.

    Grazie

    #163329 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    PositionPrice, PositionPerf, Tradeprice, Tradeindex, OnMarket, close, high,  ecc…. hanno bisogno di una barra perché, come hai detto tu, poiché le strategie vengono eseguite alla chiusura di una barra, un’eventuale entrata/chiusura avviene all’apertura della barra successiva, quindi fino alla chiusura della successiva non se ne può conoscere il loro nuovo valore.

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

una domanda banale sua variabile PositionPrice


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
aferr16 @aferr16 Participant
Summary

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

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