Exécution d'ordre sauf si…..

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30695 quote
    finplusfinplus
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    finplusfinplus
    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.
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

Exécution d'ordre sauf si…..


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
finplus @finplus Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by finplusfinplus
9 years, 4 months ago.

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