tendenza settimanale

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #160421 quote
    Gabriele BattistaGabriele Battista
    Participant
    Senior

    vorrei testare un sistema che compra all’open del giovedì e chiude al close del martedì ogni settimana, è possibile avere il codice, grazie

    #160422 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Per comprare all’open del Giovedì occorre farlo alla chiusura del mercoledì, mentre per la chiusura del martedì va bene (ovviamente chiude quando si apre quella del Mercoledì, ma sono microsecondi). Immagino tu parli del TF giornaliero:

    IF DayOfWeek = 4 AND Not OnMarket THEN  //apertura del Giovedì
       BUY 1 Contract at Market
    ENDIF
    IF DayOfWeek = 3 AND OnMarket THEN     //apertura del mercoledì (che è la chiusura del Martedì), identico a: IF OpenDayOfWeek = 2 AND OnMarket THEN
       SELL at Market
    ENDIF
    #160437 quote
    Gabriele BattistaGabriele Battista
    Participant
    Senior

    grazie gentilissimo

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

tendenza settimanale


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Gabriele BattistaGabriele Battista
5 years, 7 months ago.

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