SQUEEZE EMAC

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

    Bonjour à tous,

    A partir de deux indicateurs créés par Nicolas que j’ai fusionné ( le GRAB Candlestick Index et le Volatility Cycle Index )  j’aurais aimé faire un screener où le squeeze se trouve sous un certain niveau (-100) par exemple

    ou mieux après une certaine période sous un niveau , repérer le décalage à la hausse du squeeze

    Le screener que j’ai fais ne retourne rien alors les bonnes volontés sont les bienvenues pour sa fabrication.

    // SQUEEZE EMAC  23 mars 2017
    
    ////////////////////////////////////
    EMAC = average[p,mmTYPE](close)
    // p = 34
    // mmTYPE = exponentielle
    ////////////////////////////////////
    //PRC_Volatility Cycle indicator 02.12.2016 Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge converted and adapted from Metatrader4 version
    
    InpBandsPeriod=20      // Period
    Smooth=2               // Smoothness
    
    StdDev = std[InpBandsPeriod] (EMAC)//(close)
    highindex = highest[InpBandsPeriod](StdDev)[1]
    lowindex = lowest[InpBandsPeriod](StdDev)[1]
    
    if barindex>InpBandsPeriod then
    VolDer = (StdDev-highindex)/(highindex-lowindex)
    VolSmooth = average[Smooth](VolDer)
    
    if VolSmooth>0 then
    VolSmooth = 0
    elsif VolSmooth<-1.0 then
    VolSmooth = -1.0
    endif
    endif
    /////////////////////////////////
    Squeeze = volsmooth *  average [psq](EMAC)
    // psq = 20 periode squeeze
    
    RETURN VolSmooth as "Volatility Cycle" , Squeeze as " Squeeze "
    
    HerveS_67 thanked this post
    Squeeze-EMAC.jpg Squeeze-EMAC.jpg
    #29752 quote
    supertiti
    Participant
    Master

    problème avec ce code c’est qu’il retourne des valeurs d’échelle très disparates, il serait donc souhaitable d’avoir un retour avec une échelle de 0 à 100.

    bonne journée

    #29907 quote
    supertiti
    Participant
    Master

    avec le code initial c’est mieux

    // SQUEEZE EMAC  23 mars 2017
    
    ////////////////////////////////////
    EMAC = average[p,mmTYPE](close)
    // p = 34
    // mmTYPE = exponentielle
    ////////////////////////////////////
    //PRC_Volatility Cycle indicator 02.12.2016 Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge converted and adapted from Metatrader4 version
    
    InpBandsPeriod=20      // Period
    Smooth=2               // Smoothness
    
    StdDev = std[InpBandsPeriod] (EMAC)//(close)
    highindex = highest[InpBandsPeriod](StdDev)[1]
    lowindex = lowest[InpBandsPeriod](StdDev)[1]
    
    if barindex>InpBandsPeriod then
    VolDer = (StdDev-highindex)/(highindex-lowindex)
    VolSmooth = average[Smooth](VolDer)
    
    if VolSmooth>0 then
    VolSmooth = 0
    elsif VolSmooth<-1.0 then
    VolSmooth = -1.0
    endif
    endif
    /////////////////////////////////
    
    RETURN VolSmooth as "Volatility Cycle" , - 0.95 as " - 0.95 "
    
    squeeze-emac.jpg squeeze-emac.jpg
    #29922 quote
    ghary
    Participant
    Veteran

    Bonsoir supertiti,

    ce screener détecte les baisses de volatilité ou la phase 1 des bollinger ?

    Merci en tout cas pour le partage.

    J’ai placé ton indicateur grab avec les bollinger cela donne une vu rapide dès mouvements hausses ou baisses.

    J’ai ouvert un tropic sur la possibilité de mettre sous forme d’indicateur ou screener la théorie de Dow avec l’indicateur fractal zig-zag

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

SQUEEZE EMAC


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 03/23/2017
Status: Active
Attachments: No files
Logo Logo
Loading...