Nombre de contrat

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

    Bonjour à tous,

    J’ai un programme qui fonctionne bien en probacktest, comme ci-dessous, et je veux le lancer en trading automatique.

    J’aimerais savoir; quel est le nombre de contrat à renseigner, dans la boîte de dialogue de lancement du programme, lorsque j’ai ce cas de figure :

    IF Achat AND not daysForbiddenEntry AND NOT SHORTONMARKET and countoflongshares <= 2 THEN
    BUY 1 CONTRACTS AT MARKET
    SET TARGET pPROFIT 1000
    SET STOP pLOSS 49
    ENDIF
    
    if longonmarket and (tradeprice(1) - close) >= 3.8*pipsize and countoflongshares <= 2 then
    BUY 2 CONTRACTS AT MARKET
    SET TARGET pPROFIT 100
    SET STOP pLOSS 50
    endif
    
    Bot.jpg Bot.jpg
    #236288 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    2, car c’est le maximum que vous utilisez.
    J’ai toujours mis 999, même si j’utilise 1.

    Iván González thanked this post
    #236289 quote
    MatricielMatriciel
    Participant
    Master

    Merci Roberto !

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

Nombre de contrat


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Matriciel @matriciel Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by MatricielMatriciel
2 years, 3 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 08/09/2024
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...