Jours de trading pour un robot

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #191776 quote
    Gigi
    Participant
    Senior

    Bonsoir,

    je voudrai sélectionner les jours de trading après vous avoir demander de sélectionner les mois pour un algorithme.

    Ci dessous le début du code :

    TradeTime = (OpenMonth >= 1 and OpenMonth <= 6) or (OpenMonth >= 10 and OpenMonth <= 12)
    IF TRADETIME THEN
    
    CtimeVente1 = time >= 091500 and time < 093000
    
    endif
    // SHORTS
    c1v = MACD[12,26,9](close) crosses under 0
    c2v = MACDline[12,26,9](close) < 0
    c3v = close < ExponentialAverage[2400](close)
    IF c1v AND c2v and c3v and CtimeVente1 and not onmarket THEN
    Sellshort n shares at market

     

    Par avance, merci.

    #191790 quote
    Nicolas
    Keymaster
    Master

    Autoriser ou non certains jours de la semaine ?

    #192460 quote
    Gigi
    Participant
    Senior

    Bonjour Nicolas, j’ai trouvé la solution.

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

Jours de trading pour un robot


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Gigi @gigi Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 04/14/2022
Status: Active
Attachments: No files
Logo Logo
Loading...