Entrée sur bougie en cours

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #145111 quote
    khroonos
    Participant
    New

    Bonjours à tous, je ne sais pas si al question a déja été posée, mais j’aimerais savoir de quelle manière je peux coder une entrée sur une bougie en cours et non sur la suivante

    Merci d’avance à celui qui m’aidera !

    #145136 quote
    Nicolas
    Keymaster
    Master

    Il faut lancer les ordres dans un timeframe plus petit que celui qui gère la stratégie, exemple :

    //stratégie dans le timeframe associé 
    timeframe(15 minutes)
    test = rsi[14] crosses over 50
    
    //lancement des ordres dans le timeframe plus petit (au choix!)
    timeframe(5 secondes)
    if not longonmarket and test then 
     buy at market 
    endif
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Entrée sur bougie en cours


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
khroonos @khroonos Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
5 years, 5 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 09/23/2020
Status: Active
Attachments: No files
Logo Logo
Loading...