DTOSC DECOMPOSE PRC

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

    Voici le code proposé par Doctrading avec les 4 courbes, on peut profiter des croisements .

    // DTOSC DECOMPOSE PRC
    
    a = 8
    b = 5
    c = 3
    d = 3
    storsi = 100 * ((rsi[a] - lowest[b](rsi[a])) / ((highest[b](rsi[a])) - lowest[b](rsi[a])))
    dtosck = average[c](storsi)
    dtoscd = average[d](dtosck)
    /////////////////////////////////////////////////////////////////////////
    a2 = 13
    b2 = 8
    c2 = 5
    d2 = 5
    storsi2 = 100 * ((rsi[a2] - lowest[b2](rsi[a2])) / ((highest[b2](rsi[a2])) - lowest[b2](rsi[a2])))
    dtosck2 = average[c2](storsi2)
    dtoscd2 = average[d2](dtosck2)
    //////////////////////////////////////////////////////////////////////////
    a3 = 21
    b3 = 13
    c3 = 8
    d3 = 8
    storsi3 = 100 * ((rsi[a3] - lowest[b3](rsi[a3])) / ((highest[b3](rsi[a3])) - lowest[b3](rsi[a3])))
    dtosck3 = average[c3](storsi3)
    dtoscd3 = average[d3](dtosck3)
    //////////////////////////////////////////////////////////////////////
    a4 = 34
    b4 = 21
    c4 = 13
    d4 = 13
    storsi4 = 100 * ((rsi[a4] - lowest[b4](rsi[a4])) / ((highest[b4](rsi[a4])) - lowest[b4](rsi[a4])))
    dtosck4 = average[c4](storsi4)
    dtoscd4 = average[d4](dtosck4)
    ////////////////////////////////////////////////////////////////////////
    seuilbas = 10
    seuilhaut = 90
    
    RETURN dtosck AS "DTOSCK" , dtoscd AS "DTOSCD" , dtosck2 AS "DTOSCK2" , dtoscd2 AS "DTOSCD2" ,dtosck3 AS "DTOSCK3" , dtoscd3 AS "DTOSCD3", dtosck4 AS "DTOSCK4" , dtoscd4 AS "DTOSCD4", Seuilbas  as "Seuilbas" , Seuilhaut as " Seuilhaut "
    
    #8583 quote
    Doctrading
    Participant
    Master

    ça marche pour toi finalement, alors ?

    #8610 quote
    supertiti
    Participant
    Master

    Avec celui là no problem, c’est l’autre …

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

DTOSC DECOMPOSE PRC


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by supertiti
9 years, 8 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 06/01/2016
Status: Active
Attachments: No files
Logo Logo
Loading...