ERROR EN INDICADOR

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

    Hola,

    Me da error de sintaxis: “””” La funcion DISTANCIA MM30 llamada desde SEÑAL DELUXE es llamada con 0 parmetro (s) en lugar de 1 esperados””””

    Si me pueden ayudar estaría muy agradecido de antemano.

     

    mydistanciamax = CALL "Distancia a maximos"
    porcentaje = (mydistanciamax - close) / close * 100
    mydistanciaPV, ignored = CALL "DISTANCIA MM30pv"
    mydistancia, ignored = CALL "DISTANCIA MM30"
    ignored, ignored, ignored, mfuerte, ignored, ignored, ignored, ignored = CALL "Blai5 Koncorde v.09" [15]
    myCPM = CALL "Capital proporcional medio" [52]
    Promedio = ( myCPM+ myCPM[1]+ myCPM[2]) / 3
    Promedio5 = ( myCPM+ myCPM[1]+ myCPM[2]+ myCPM[3]+ myCPM[4]) / 5
    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
    apoyo = 0
    if c1>0 and c2 > 0 and c3 > 0 and cap > 1000000 then
    apoyo = 10
    endif
    c4=0
    if (porcentaje < 2 and (mydistanciamax = mydistanciamax [10]) and mydistancia < 8 and (mfuerte > 0 or Promedio5 > 0) and cap > 1000000) then
    c4 = 10
    endif
    return apoyo as "apoyo", c4 as "fuga"
    
    
    
    #21588 quote
    JC_Bywan
    Moderator
    Master

    Hola, por favor, se puede utilizar el bouton “insert prt code” (no sé en Espñol… “Inserar PRT codigo”?) por favor, muchas gracias.

    En la linea 5 hay un ejemplo : [15] es el parametro cuando llamando (“call = llamar”) Blai5 Koncorde v.09

    El codigo esta esperando la misma cosa en la linea 4 cuando llamando Distancia MM30, por ejemplo si el parametro es 8 : (pero tiene usted que decidar del parametro, 8 solo es un ejemplo de como se escribe)

    mydistancia, ignored = CALL "DISTANCIA MM30"[8]
    Nicolas thanked this post
    #176305 quote
    Walloper
    Participant
    New

    Al ejecutar el indicador me da el siguiente error:

    Distancia-a-maximos.jpg Distancia-a-maximos.jpg
    #176364 quote
    robertogozzi
    Moderator
    Legend

    Significa que no tienes ese indicador. Para utilizar este indicador, también debe llamar a todos los demás con CALL. No sé si están en este foro o fueron indicadores encontrados en otros lugares. Solo @ jmanueldeharo lo sabe, esperemos que responda. Mientras tanto, intente buscarlos en el foro, entre todos los indicadores de la biblioteca.

Viewing 4 posts - 1 through 4 (of 4 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

ERROR EN INDICADOR


ProBuilder: Indicadores y Herramientas

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 01/18/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...