Programmation trading automatique avec PRTBand

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

    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
    NicolasNicolas
    Keymaster
    Legend

    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.
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

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 NicolasNicolas
3 years, 8 months ago.

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