Problema con strategia intraday

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #242719 quote
    Tommaso._r0ma
    Participant
    New

    Salve, sono nuovo nel mondo della programmazione e non so come programmare un trading system su timeframe 15 min che entri short al superamento dell’highest raggiunto durante il giorno precedente.

    Esempio:

    Giovedì, la candela che ha registrato il massimo più alto ha toccato il valore x; se venerdi una candela dovesse superare il valore x, shortare.

    Grazie in anticipo.

    #242780 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    IF Not OnMarket AND (high > DHigh(1)) THEN
       SELLSHORT 1 CONTRACT AT MARKET
    ENDIF
    SET STOP   %LOSS   1
    SET TARGET %PROFIT 2
    Iván González thanked this post
    #242782 quote
    robertogozzi
    Moderator
    Master

    Stop Loss e Take Profit li ho messi solo per fare le prove, altrimenti una volta entrato non sarebbe mai uscito.

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

Problema con strategia intraday


ProOrder: Trading Automatico & Backtesting

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzi
1 year ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 01/17/2025
Status: Active
Attachments: No files
Logo Logo
Loading...