Différence PivotJ et PivotJ calculé

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #71444 quote
    Yvan63Yvan63
    Participant
    Senior

    Bonsoir,

    Je teste un code qui reprend le pivotJ et je m’aperçois que la valeur retournée est complètement différente de
    l’indicateur PRT ?
    La formule est pourtant identique à celle de l’indicateur PRT.
    indicator1 est le pivot obtenu par calcul (tracé sur le graphique).
    Une idée ?

    Merci !

    indicator1 = (DHigh(1) + DLow(1) + DClose(1))/3
    Capture-3.png Capture-3.png Sans-titre.jpg Sans-titre.jpg
    #71480 quote
    NicolasNicolas
    Keymaster
    Legend

    Graphique personnalisé (horaires) ? Inclusion ou non des données du week-end ? Commençons par là 🙂

    Yvan63 thanked this post
    #71532 quote
    Yvan63Yvan63
    Participant
    Senior

    Ah ah, bien vu.
    Le fait de supprimer les jours du WE dans les réglages supprime le décalage.
    Mais alors, pourquoi l’indicateur programmé ne prend-t-il pas en compte les mêmes plages ?

    #72314 quote
    GreguigregGreguigreg
    Participant
    Junior

    salut Yvan, tu peux rajouter une ligne “if  day of week = 1 then pivot = (DHigh(2) + DLow(2) + DClose(2))/3″

    a verifier que sur ton produit le (2) correspond au vendredi

    Yvan63 thanked this post
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

Différence PivotJ et PivotJ calculé


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Yvan63 @yvan63 Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by GreguigregGreguigreg
8 years, 4 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 05/27/2018
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...