Indicatore non più funzionante

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8241 quote
    RCRC
    Participant
    New
    Buongiorno,
    da tempo utilizzo l’indicatore di cui di seguito allego il codice:

    ll=8
    del=14
    GG=5
    closeg=(Average[GG](close)*GG-GG/2)/SQRT(gg/12)
    t=(LinearRegressionSlope[ll](closeg)-0)*SQRT(ll-2)/(STE[ll](closeg)/STD[ll](Barindex))
    if t<1.96 then
    beta=0
    else
    beta=1
    endif

    SS=SmoothedStochastic[ll,ll/4](closeg)

    c1=(beta=0 and SS<SS[del])
    c2=(beta=0 and SS>SS[del])

    if c1 then
    OndaQuadra = +1
    endif

    if c2 then
    OndaQuadra = -1
    endif

    Return OndaQuadra

    Fino alla sera del 27 aprile l’indicatore ha funzionato bene; dal 28 aprile, l’indicatore mi restituisce sempre una linea orizzontale in corrispondenza dello zero.
    Facendo delle prove mi sono accorto che il problema dovrebbe essere nella seguente riga:

    SS=SmoothedStochastic[ll,ll/4](closeg)

    Infatti se sostituisco “closeg” con “close” l’indicatore funziona, ovviamente restituendo valori diversi.
    Cosa può essere successo e come posso risolvere il problema?

    Ringrazio anticipatamente per la collaborazione
    #8249 quote
    supertitisupertiti
    Participant
    Master

    Hola RC

    CG = 5   Esto es la funcion ” endpointaverage ” , ella no funciona ya !  tienes que cambiar endpointaverage por “linearregression” !!!

    he cambiado un monton de indicadores por ese ” bug” de la nueva version 10.3

    un saludo

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

Indicatore non più funzionante


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
RC @rc Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by supertitisupertiti
10 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/27/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...