duda codigo , numero de barras + indicador.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #112410 quote
    pierreguitart
    Participant
    New

    Hola me gustaria saber como se codifica la siguiente condicion.

    -Que el precio no haya superado ni llegado a  cierto nivel  (SMA  por ejemplo), durante un numero determinado de velas ,empezando desde la izquierda.

     

    Gracias por vuestra ayuda.

    #112430 quote
    robertogozzi
    Moderator
    Legend

    Ahí tienes (estoy probando que el precio está por debajo de SMA20 para las últimas N velas):

    ONCE n = 10
    x = summation[n](close < average[20])
    IF x = n then
       //do what you want to do when it's true
    ENDIF
    #112456 quote
    pierreguitart
    Participant
    New

    muchisimas gracias!

    Saludos

    #195987 quote
    CarimLongoria
    Participant
    New

    Creo que le será muy útil a otros también.

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

duda codigo , numero de barras + indicador.


Trading General: Análisis de Mercado y Manual

New Reply
Author
Summary

This topic contains 3 replies,
has 1 voice, and was last updated by CarimLongoria
4 years, 2 months ago.

Topic Details
Forum: Trading General: Análisis de Mercado y Manual
Language: Spanish
Started: 11/08/2019
Status: Active
Attachments: No files
Logo Logo
Loading...