Programmation trading automatique avec PRTBand

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #212323 quote
    RICOU
    Participant
    New

    Bonjour, si on rajoute cette condition, je ne comprends pas bien son utilité  si on ne peut pas définir un seuil ou autre ?

    #212392 quote
    Nicolas
    Keymaster
    Master

    Voici le code de l’indicateur qui trace la volatilité courante (mesuré avec l’ATR 14 périodes) et une moyenne plus globale de cette valeur sur l’historique affichée:

    a = averagetruerange[14]
    
    p = max(1,barindex-100)
    indi = average[p](a)
     
    
    return indi as "seuil", a as "volatilité courante"
    volatilite-historique.png volatilite-historique.png
Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.

Programmation trading automatique avec PRTBand


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
RICOU @ricou Participant
Summary

This topic contains 16 replies,
has 3 voices, and was last updated by Nicolas
2 years, 11 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 03/18/2023
Status: Active
Attachments: 2 files
Logo Logo
Loading...