ERRO AL LANZAR SCREENER

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21381 quote
    jmanueldeharo
    Participant
    Junior

    Hola,

    Entiendo muy poco de programar y busco quien me pueda ayudar con este error que me da al lanzar el screener: “”La función “DISTANCIA MM30” LLAMADA DESDE “APOYO DE LUXE” es llamada con 0 parametro (s) en lugar de 1 esperados.”” Estaria muy agradecido si alguien me sabe dar la solución que seguramente es una chorrada..

    Gracias y un saludo

    #21417 quote
    Nicolas
    Keymaster
    Master

    Utilizando la función CALL, se olvidó de insertar el parámetro del indicador. El mensaje de error dice que necesita al menos uno. Por favor, comparta el código de su indicador y / o el código de screener aquí para que sea más fácil de solucionar el problema, gracias.

    #21574 quote
    jmanueldeharo
    Participant
    Junior

    Hola,

    Este es el código:

    mydistanciaPV, ignored = CALL "DISTANCIA MM30PV"
    mydistancia, ignored = CALL "Distancia MM30"
    ignored, ignored, ignored, mfuerte, ignored, ignored, ignored, ignored = CALL "Blai5 Koncorde v.09"
    rem acuerdese de que si usa la versión nueva del Koncorde debe añadir [15]
    rem despues de Blai5 Koncorde v.09. Además va todo en la misma linea
    myCPM = CALL "Capital proporcional medio" [52]
    Promedio = ( myCPM + myCPM[1] + myCPM[2] ) / 3
    mm30 = WeightedAverage [30] ( close)
    cap = volume * close
    c1 = 0
    if (mydistancia < 3 and ( mfuerte > 5 and Promedio > 5 ) ) then
    c1 = 1
    endif
    c2 = 0
    if ( mydistanciaPV < 7 and MM30 < close and MM30 > MM30 [1] ) then
    c2 = 1
    endif
    c3 = 0
    if CLOSE[1] < OPEN[1] AND OPEN < CLOSE[1] AND CLOSE > OPEN[1] then
    c3 = 1
    endif
    SCREENER [ ( c1 > 0 AND c2 > 0 AND c3 > 0 AND cap > 1000000 ) ](mydistanciaPV AS "Riesgo stop")

    Gracias y un saludo.

    #21602 quote
    Nicolas
    Keymaster
    Master

    El indicador denominado “Distancia MM30” parece tener 1 parámetro a establecer.
    Proporcione el código de este indicador.
    Así es como debe usar la instrucción CALL: how to use CALL?

    #21635 quote
    jmanueldeharo
    Participant
    Junior

    REM Media Ponderada por Volumen
    REM Autor: Archi 05-03-10
    rem defina la variable period con un valor a 30
    rem usted busca la mm30pv asi que el periodo será de 30
    IF BarIndex < period THEN
    MMPV = Close
    ELSE
    N = Summation [period] (Volume)
    MMPV = Summation[period] (close * Volume)
    MMPV = MMPV / N
    ENDIF
    RETURN MMPV AS “MMPV”

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

ERRO AL LANZAR SCREENER


Soporte ProScreener

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by jmanueldeharo
9 years ago.

Topic Details
Forum: Soporte ProScreener
Language: Spanish
Started: 01/16/2017
Status: Active
Attachments: No files
Logo Logo
Loading...