Chiusura posizione dopo n barre

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #131286 quote
    danistutadanistuta
    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
    robertogozzirobertogozzi
    Moderator
    Legend
    N = 5
    If LongOnMarket And BarIndex >= (TradeIndex + N) Then
       Sell at Market
    Endif

    Esempio Long con 5 barre.

    #131353 quote
    danistutadanistuta
    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.
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

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 danistutadanistuta
6 years, 4 months ago.

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