Exécution d'ordre sauf si…..

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30695 quote
    finplus
    Participant
    Master

    Bonjour,

    dans mon programme automatique, je souhaiterai insérer une condition d’évitement c’est-à-dire acheter ou vendre sauf si une condition paramétrée à l’avance se réalise. Est-ce possible? merci. Par exemple if…. then buy (sauf si STO > 60) par exemple?

    #31022 quote
    Nicolas
    Keymaster
    Master

    En reprenant ton exemple, je pense que ce genre de structure conditionnelle devrait convenir :

    if conditionachat and NOT STO>60 then 
     BUY 1 CONTRACT AT MARKET 
    endif

    Mais ça pourrait aussi très bien être :

    if conditionachat and STO<=60 then 
     BUY 1 CONTRACT AT MARKET 
    endif

    Si j’ai bien compris la question 🙂

    #38507 quote
    finplus
    Participant
    Master

    oui c’est bien cela. Merci pour la réponse et désolé pour ma réponse tardive.

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

Exécution d'ordre sauf si…..


Support ProOrder

New Reply
Author
author-avatar
finplus @finplus Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by finplus
8 years, 7 months ago.

Topic Details
Forum: Support ProOrder
Language: French
Started: 04/02/2017
Status: Active
Attachments: No files
Logo Logo
Loading...