Breakout level setup

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #224755 quote
    Renzo
    Participant
    New

    Buonasera,
    sono iscritto da poco ed avrei bisogno di sapere se qualcuno può aiutarmi con il seguente passaggio di una strategia di breakout:

    La strategia è su grafico con timeframe 5 minuti

    Per la definizione dei livelli di rottura UP e DOWN vorrei prendere a riferimento una finestra temporale che contiene le 6 candele da 5 minuti comprese tra le 10:30 e le 10:55 di ogni giorno

    Quindi, il trading system deve partire dalla candela da 5 minuti che termina alle 11:00

    Grazie mille in anticipo.

    #224767 quote
    robertogozzi
    Moderator
    Master

    Immagino tu intenda il breakout dei massimi e dei minimi di quell’arco temporale, è così?

    #224782 quote
    Renzo
    Participant
    New

    Sì grazie!

    #225049 quote
    robertogozzi
    Moderator
    Master

    Ecco fatto (ho messo Stop Loss e Take Profit a caso, in %):

    IF OpenTime = 103000 THEN
       HH = high
       LL = low
    ENDIF
    IF OpenTime > 103000 AND OpenTime <= 105500 THEN
       HH = max(HH,high)
       LL = min(LL,low)
    ENDIF
    IF Time >= 110000 THEN
       IF Not Onmarket THEN
          IF close CROSSES OVER HH THEN
             BUY 1 Contract at Market
          ELSIF close CROSSES UNDER LL THEN
             SELLSHORT 1 Contract at Market
          ENDIF
          SET STOP   %LOSS   1
          SET TARGET %PROFIT 2
       ENDIF
    ENDIF
    #225077 quote
    Renzo
    Participant
    New

    Grazie ancora Roberto

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

Breakout level setup


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Renzo @oronzo-gonnella Participant
Summary

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

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