Jours de trading pour un robot

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

    Autoriser ou non certains jours de la semaine ?

    #192460 quote
    GigiGigi
    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.
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

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 GigiGigi
4 years, 7 months ago.

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