Nombre de contrat

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #236285 quote
    Matriciel
    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
    robertogozzi
    Moderator
    Master

    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
    Matriciel
    Participant
    Master

    Merci Roberto !

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

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 Matriciel
1 year, 6 months ago.

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