breakout du plus bas sur les x dernières bougies

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #114200 quote
    petitdudupetitdudu
    Participant
    Junior

    Bonjour,

    Comment fait-on pour demander au système de prendre en compte les x dernières bougies ?

    Par exemple, pour shorter si le titre crée un nouveau plus bas : si le low d’aujourd’hui est inférieur à tous les low des 15 dernières bougies –> vendre à découvert.

    Merci,

    Christophe

    #114239 quote
    NicolasNicolas
    Keymaster
    Legend

    On utilisera l’instruction LOWEST et on testera un breakout du niveau calculé, soit :

    breakout = low crosses under lowest[15](low)[1]
    
    if breakout then 
     sellshort at market 
    endif

    (non testé)

Viewing 2 posts - 1 through 2 (of 2 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

breakout du plus bas sur les x dernières bougies


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
petitdudu @petitdudu Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
6 years, 11 months ago.

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