Chiudere posizioni a chiusura posizione Oraria H1

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #212641 quote
    Steven11Steven11
    Participant
    Average

    Buon Pomeriggio,

    vorrei fare chiudere le posizioni aperte dal sistema automatizzato di trading a chiusura candela H1 Oraria.

    Ringrazio in anticipo chiunque possa aiutarmi.

    #212670 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Quale TF utilizzi?

    #212942 quote
    Steven11Steven11
    Participant
    Average

    Buon pomeriggio,

    utilizzo il time frame  a 10 secondi.

    #212964 quote
    Steven11Steven11
    Participant
    Average

    Scusa , opero con un sistema con time frame a 10 sec ma vorrei far chiudere posizioni al sistema alla chiusura della candela oraria , quindi es. alle 16:00, al 17:00 …etc.

    #212965 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo, chiude al cambio dell’ora:

    IF hour <> hour[1] THEN
       IF OnMarket THEN
          SELL      AT MARKET
          EXITSHORT AT MARKET
       ENDIF
    ENDIF

    ti conviene metterlo all’inizio del codice, subito dopo eventuali righe DEFPARAM.

    #213017 quote
    Steven11Steven11
    Participant
    Average

    Grazie mille.

Viewing 6 posts - 1 through 6 (of 6 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

Chiudere posizioni a chiusura posizione Oraria H1


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Steven11 @steven11 Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/01/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...