CLOTURE PARTIELLE PROORDER

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #154843 quote
    saccuccisaccucci
    Participant
    Average

    Bonjour,

    je suis nouveau et je souhaiterais un peu d’aide .

    Il me semble qu’il est possible sur prt v11 en traiding automatique  de programmer une cloture partielle.  Si oui  quelqu’un  pourrait-il me donner le code

    merci d’avance et bonne journée à tous

    jp Saccucci

    #154855 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    #154871 quote
    NicolasNicolas
    Keymaster
    Legend

    Cloture partielle (la moitié) d’une position acheteuse de 10 contrats :

    SELL 5 CONTRACTS AT MARKET

    On utilisera EXITSHORT pour une vente à découvert.

    #154890 quote
    saccuccisaccucci
    Participant
    Average

    Merci Nicolas pour la rapidité mais je suis absolument débutant. Vous serait-il possible de compléter le code ci-dessous avec la clôture partielle ?

    Cordialement

    jp

    // Définition des paramètres du code
    DEFPARAM CumulateOrders = False // Cumul des positions désactivé

    // Empêche le système de placer de nouveaux ordres sur les jours de la semaine spécifiés
    daysForbiddenEntry = OpenDayOfWeek = 6 OR OpenDayOfWeek = 0
    // Conditions pour ouvrir une position acheteuse
    indicator1 = CALL “retournement jps definitif”
    c1 = (indicator1 >= 1)

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

CLOTURE PARTIELLE PROORDER


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
saccucci @saccucci Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by saccuccisaccucci
5 years, 9 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 12/22/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...