Prendre un breakout sur la bougie en cours.

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

    Bonjour je cherche un code qui permettrais ceci :

     

    Prise de position sur breakout (par exemple quand la bougie EN COURS casse le plus haut de la bougie précédente) et ouvrir le trade au moment ou la bougie casse. (et non pas en cloture mais bien pendant la bougie en cours)

     

    Merci d’avance!

    Djenebou thanked this post
    #179898 quote
    Nicolas
    Keymaster
    Master

    2 possibilités:

    1/ on pose un ordre conditionnel STOP sur le plus haut précédent à l’ouverture de la bougie

    buy 1 contract at high stop

    2/ on utilise un ordre au marché dans un timeframe beaucoup plus petit durant la bougie

    timeframe(5 minutes,updateonclose) //modifier ici avec le nom de l'UT souhaité
    plushaut = high
    
    timeframe(default) //par exemple UT 1 seconde 
    if close crosses over plushaut then 
     buy at market
    endif
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Prendre un breakout sur la bougie en cours.


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Melio33 @melio33 Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 10/18/2021
Status: Active
Attachments: No files
Logo Logo
Loading...