RANGE BREAKOUT Trading System

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #189596 quote
    Wolf TradesWolf Trades
    Participant
    Average

    Salve a tutti,

    avrei bisogno di un trading system che operi sul dow jones che apra posizioni quando:

    • Viene raggiunto il massimo delle ultime n candele (dalle 00:00 alle 15:30) – TRADE LONG
    • Viene raggiunto il minimo delle ultime n candele (dalle 00:00 alle 15:30) – TRADE SHORT

    In sostanza vorrei che il TS apra posizioni in questi punti che corrispondono al movimento dei prezzi

    che c’è prima della apertura della borsa.

     

    Grazie

    #189621 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    IF OpenTime = 000000 OR (OpenTime < OpenTime[1]) THEN
       Massimo = high
       Minimo  = low
    ENDIF
    IF OpenTime >= 000000 AND OpenTime <= 153000 THEN
       Massimo = max(Massimo,high)
       Minimo  = min(Minimo,low)
    ENDIF
    IF Time > 153000 AND Not OnMarket THEN
       IF close < Massimo THEN
          BUY 1 CONTRACT AT Massimo STOP
       ENDIF
       IF close > Minimo  THEN
          SELLSHORT 1 CONTRACT AT Minimo STOP
       ENDIF
    ENDIF
    SET TARGET pPROFIT 300
    SET STOP   pLOSS   100
Viewing 2 posts - 1 through 2 (of 2 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

RANGE BREAKOUT Trading System


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Wolf Trades @lupo32 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 7 months ago.

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