Breakout level setup

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #224755 quote
    RenzoRenzo
    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
    robertogozzirobertogozzi
    Moderator
    Legend

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

    #224782 quote
    RenzoRenzo
    Participant
    New

    Sì grazie!

    #225049 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    RenzoRenzo
    Participant
    New

    Grazie ancora Roberto

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

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 RenzoRenzo
2 years, 9 months ago.

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