Quitter un programme

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

    Bonjour

    Je souhaite inclure dans un algorithme la chose suivante.

    Exemple

    Je voudrais que mon algo s’arrête après un trade gagnant ou perdant.
    Mon Algo ne doit fonctionner qu’une fois, si je veux faire d’autres trades avec cet algorithme,je dois le redémarrer manuellement

    #51709 quote
    claschclasch
    Participant
    Senior

    Hello,

    Je souhaite faire la même chose et j’ai codé ainsi :

    IF STRATEGYPROFIT <> 0 THEN
    QUIT
    ENDIF

    Quelqu’un pourrait-il confirmer qu’il sagisse d’un bon code ?

    #51714 quote
    NicolasNicolas
    Keymaster
    Legend

    Je confirme la solution de @clasch

    #51726 quote
    FranzPRCFranzPRC
    Participant
    Average

    Bonjour

     

    Merci pour la réponse.je vais essayer

     

    Bonne soirée et bons trades

     

    Francois

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

Quitter un programme


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
FranzPRC @franzprc Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by FranzPRCFranzPRC
8 years, 11 months ago.

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