VALUE CHART V10.3

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #143966 quote
    MARCIOFONTOURA
    Participant
    New

    Bonjour ami, j’aimerais que vous fassiez ce code ci-dessous pour metatrader 4. est-ce possible?

    //parameters :
    //ExtDepth = 5
    //Overbought = 8
    //SlightlyOverbought = 6
    //Oversold = -8
    //SlightlyOversold = -6
    
    if barindex>ExtDepth then
    sumHigh = summation[ExtDepth](high)
    sumLow = summation[ExtDepth](low)
    
    floatingaxis = 0.1 * (sumHigh+sumLow)
    volatilityunit = 0.04 * (sumHigh-sumLow)
    
    vcOpen = ((open-floatingaxis) / volatilityunit)
    vcClose =((close-floatingaxis) / volatilityunit)
    vcHigh = ((high-floatingaxis) / volatilityunit)
    vcLow = ((low-floatingaxis) / volatilityunit)
    
    if vcClose>vcOpen then
    DRAWCANDLE(vcOpen,vcHigh,vcLow,vcClose)coloured(10,240,10) bordercolor(0,200,0)
    else
    DRAWCANDLE(vcOpen,vcHigh,vcLow,vcClose)coloured(240,10,10) bordercolor(200,0,0)
    endif
    
    if vcLow<Oversold and vcClose>SlightlyOversold then
    DRAWARROWUP(barindex,vcLow-0.5)coloured(10,255,10)
    endif
    
    if vcHigh>Overbought and vcClose<SlightlyOverbought then
    DRAWARROWDOWN(barindex,vcHigh+0.5)coloured(255,10,10)
    endif
    endif
    
    RETURN Overbought COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "overbought area", SlightlyOverbought COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "slightly overbought area", Oversold COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "oversold area", SlightlyOversold COLOURED(250,250,250) STYLE(DOTTEDLINE,1) as "slightly oversold area"
    Value-Chart-10.3.itf
    #143968 quote
    robertogozzi
    Moderator
    Master

    Les conversions gratuites ne sont effectuées qu'à partir d'autres plates-formes vers PRT. L'inverse est proposé en tant que service payant sur https://www.prorealcode.com/trading-programming-services/

    #143976 quote
    Vonasi
    Moderator
    Master

    MARCIOFONTOURA – Vous avez posté en français dans les forums anglais et vous n'avez pas utilisé le bouton 'Insérer code PRT' lors de la mise du code dans votre message. Veuillez relire les règles du forum avant de publier à nouveau. J'ai déplacé votre sujet sur le forum français et rangé votre code désordonné.

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

VALUE CHART V10.3


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Vonasi
5 years, 6 months ago.

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