Peut-on adapter un code journalier pivot bands en ut inférieure

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #148131 quote
    gregoiregregoire
    Participant
    Senior
    REM PIVOT BANDS
    //Created by ChrisMoody 11/11/2014
    //Current Timeframe, Daily, Weekly, Monthly Pivot Bands
    //Special Thanks to Michael S. For Providing Original Code.
    // adapted for the platform Prorealtimev10.3 by bolsatrilera
    
    lengthMA=7 // title="EMA Length To Calculate Bands")
    PP = (high + low  + close)/ 3
    PPEMA = ExponentialAverage[lengthMA](PP)
    HP1 = (PP + (PP-low))
    LP1 = (PP - (high-PP))
    HP2 = (PP +
     2*(PP-low))
    LP2 = (PP - 2*(high-PP))
    
    // PPD71 = Difference from HP1 and LP1 for the last 7 days
    PPD71 = (((HP1-LP1)+(HP1[1]-LP1[1])+(HP1[2]-LP1[2])+(HP1[3]-LP1[3])+(HP1[4]-LP1[4])+(HP1[5]-LP1[5])+(HP1[6]-LP1[6]))/7)
    // PPD72 = Difference from HP2 and LP2 for the last 7 days
    PPD72 = (((HP2-LP2)+(HP2[1]-LP2[1])+(HP2[2]-LP2[2])+(HP2[3]-LP2[3])+(HP2[4]-LP2[4])+(HP2[5]-LP2[5])+(HP2[6]-LP2 [6]))/7)
    
    r1 = PPEMA + PPD71
    s1 = PPEMA - PPD71
    re2 = PPEMA + PPD72
    s2 = PPEMA - PPD72
    
    
    return r1 coloured(255,0,0)as "R1",s1 coloured(0,255,0)as "S1",re2 coloured(128,0,0)as "R2",s2 coloured(0,128,0)as "S2", PPEMA coloured(255,0,255)as "PIVOT POI

    bonjour j aimerais utilisé cet indicateur en 5mn et 2 mn au lieu des 7 jours mes base en prog s arrette sur le 1h j aimerais donc savoir quel variable utilisée pour le modifié en minute ou ticks, de plus est il possible d avoir un systeme mtf ex le 5mn et 2 mn sur du ticks.

    merci pour votre aide et suggestions.

    #152509 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonjour, avec le déploiement en cours de la v11 chez les brokers/pays qui ne l’avaient pas encore, tu dois pouvoir maintenant essayer d’adapter ce code v10.3 en code v11 avec MTF, voir tuto dans le topic MTF de Nicolas à l’époque de la sortie de la v11: https://www.prorealcode.com/topic/premiere-approche-sur-le-multi-timeframe-avec-prorealtime/

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

Peut-on adapter un code journalier pivot bands en ut inférieure


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
gregoire @gregus Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_BywanJC_Bywan
5 years, 9 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 10/22/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...