Pivot 1 heure code

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #215892 quote
    SofitechSofitech
    Participant
    Master

    Bonjour, J’utilise à l’écran l’indicateur Points Pivots par défaut de PRT que je configure en 1 heure (plutôt qu’en daily).
    J’ai des alertes positionnées dessus mais je cherche à programme un indicateur reprenant la valeur du point pivot 1 heure.
    J’ai tenté d’accéder au code en utilisant le module Probacktest préparant une stratégie en mode assisté puis en regardant le code qui indique :

    Pivot = (DHigh(1) + DLow(1) + DClose(1))/3

    Il me semble qu’il s’agit du code pour le pivot daily… et non hourly (1 heure).
    Ma question est donc : quel est le code pour avec la valeur du point pivot 1 heure ?

    Vous remerciant par avance pour votre aide.

    #215898 quote
    fifi743fifi743
    Participant
    Master

    pour le pivot 1 heure,

    je l’écrirai comme ceci

     

    if hour<>hour[1] then
    pivot=(high[1]+low[1]+close[1])/3
    endif
    #215916 quote
    SofitechSofitech
    Participant
    Master

    Merci ! Oui c’est bien cela.

    #221791 quote
    SofitechSofitech
    Participant
    Master

    Bonjour, le pivot 1 heure marche parfaitement et je l’ai intégré à un de mes codes plus complet.

    Quel serait le même code mais pour calculer le pivot 4 heure ?

    Merci d’avance pour votre aide précieuse.

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

Pivot 1 heure code


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Sofitech @sofitech Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 06/09/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...