Chiusura posizione dopo n barre

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #131286 quote
    danistuta
    Participant
    Senior

    Mi sembrava di averlo già visto sul forum ma non riesco a trovare il codice, mi potete aiutare?

    Grazie mille per la disponibilità.

    #131305 quote
    robertogozzi
    Moderator
    Master
    N = 5
    If LongOnMarket And BarIndex >= (TradeIndex + N) Then
       Sell at Market
    Endif

    Esempio Long con 5 barre.

    #131353 quote
    danistuta
    Participant
    Senior

    Grazie, gentilissimo come sempre 🙂

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

Chiusura posizione dopo n barre


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
danistuta @danistuta Participant
Summary

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

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