ligne de programme pour vendre la moitié des position à X points

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #241000 quote
    lorenzo21000lorenzo21000
    Participant
    Junior

    Bonjour à tous, je souhaiterais intégrer dans mon programme ajouter une ligne pour vendre la moitié des positions (exemple é contrats sur 4).a X points. Pourriez -vous me dire comment faire SVP.

    Bonne soirée.

    Lorenzo

    #241021 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Bonjour. Vous pouvez utiliser l'expression suivante :

    if yourconditions then
    sell 0.5*COUNTOFLONGSHARES contract at market
    endif
    lorenzo21000 thanked this post
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

ligne de programme pour vendre la moitié des position à X points


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván GonzálezIván González
1 year, 10 months ago.

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