ouvrir une position tous les jours de la semaine

Forums ProRealTime forum Français Support ProOrder ouvrir une position tous les jours de la semaine

Viewing 4 posts - 1 through 4 (of 4 total)
  • #246390

    Bonjour,

    Je souhaite ouvrir une position tous les jours de la semaine du lundi au vendredi à 0h (1ère barre de l’ouverture de la journée)

    et la fermer à 7h par ex, choisir un lot et positionner un stop loss et un take profit.

    Merci pour votre aide

    Dominique

    #246421
    #246434

    merci

    #246435

    moi j’ai fait ça:

     

    ////Choisir jours d’entrée/sortie
    c1 = dayofweek = 1 or 2 or 3 or 4 or 5

    ////Choisir heure d’entrée/sortie
    c5 = time = 000000
    c6 = time = 070000

    if not onmarket and c1 and c5 then
    buy 1 share at market
    endif

    if onmarket and c1 and c6 then
    sell at market
    endif

    //Stop Loss à -15
    SET STOP pTRAILING 10
    //Take Profit à +50
    SET TARGET pPROFIT 80

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login