INVIX PRC

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #124393 quote
    supertiti
    Participant
    Master

    Bonjour à tous,

    En ces temps troublés où la moitié de l’humanité se retrouve confinée on passe plus de temps devant les écrans ce qui nous donne à penser.

    Aussi je me suis intéressé à l’indice de la peur : le VIX

    Nicolas nous ayant donné son point de vue par le biais d’un code, serait-il possible de créer ” l’ INVIX PRC ”

    c’est à dire que le code aille dans le même sens que la tendance avec ses flèches correspondantes comme signaux d’ inversement.

    voici le code et un graphe de Total du VIX PRC mais je n’arrive pas à faire l’INVIX ?!

    Cerise sur le gâteau si on pouvait le transcrire sur le graphe prix avec ses flèches on serait au top

    un peu d’aide serait bienvenue

    // VIX PRC
    
    pd = 22 // "LookBack Period Standard Deviation High"
    bbl = 20 //"Bolinger Band Length"
    mult = 2.0 //"Bollinger Band Standard Devaition Up"
    lb = 50 //"Look Back Period Percentile High"
    ph = 0.85 //"Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%"
    n = 10
    //pl = 1.01 //"Lowest Percentile - 1.10=90%, 1.05=95%, 1.01=99%"
    mult = max(mult,1)
    mult = min(mult,5)
    wvf = ((highest[pd](close)-low)/(highest[pd](close)))*100
    sDev = mult * std[bbl](wvf)
    midLine = average[bbl](wvf)
    //lowerBand = midLine - sDev
    upperBand = midLine + sDev
    rangeHigh = (highest[lb](wvf)) * ph
    //rangeLow = (lowest[lb](wvf)) * pl
    if (wvf >= upperBand or wvf >= rangeHigh) then //or (wvf <= lowerBand or wvf <= rangeLow) then
    color = 1
    else
    color = -1
    endif
     
    ave = average[n](wvf)
    
    /////////////////////////////////////////
    If wvf crosses over ave then
    DRAWARROWUP( barindex ,wvf  ) coloured( 255,0,0  )
    endif
    If wvf crosses under ave then
    DRAWARROWDOWN( barindex ,wvf  ) coloured( 0,255,0 )
    endif
    
    /////////////////////////////////////////
    
    RETURN wvf coloured by color as "Williams Vix Fix", ave style(line,1) as " WVF Average"
    
    VIX-PRC.jpg VIX-PRC.jpg
    #124442 quote
    supertiti
    Participant
    Master

    Désolé je me suis trompé de rubrique, si Nicolas veux bien rectifier le tir.

    Bonne journée

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

INVIX PRC


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by supertiti
5 years, 11 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/02/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...