Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EMA + 35 y EMA - 35

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    EMA + 35 y EMA - 35

    Hola, soy nuevo en NinjaTrader. En mi anterior plataforma (TradeStation) tenía configurado un gráfico de 500 tickts con tres EMAs: La 1ª era una EMA 20 periodos, la 2ª era una EMA20 +35ptos y la 3ª era una EMA20 - 35ptos. Visualmente era similar a unas bandas de bollinger. La configuración en la plataforma era muy fácil, solo tenía que poner la EMA20 +35 y ya se trazaba otra EMA en paralelo a la EMA20. Llevo una semana intentado configurar esto mismo en NinjaTrader pero no soy capaz... Solo me deja añadir los 35 ptos a la EMA 20 periodos en 'Desplazamiento' pero así me modifica la EMA20, no me dibuja una en paralelo. ¿Alguien me puede ayudar?.
    Gracias,​

    #2
    Hello Tibucan,

    To draw a parallel line you would need to use NinjaScript to make a new indicator with the plots that you wanted. You can re plot the EMA plus or minus an amount by using code similar to:

    Code:
    Values[0][0] = EMA(12)[0]; // normal ema
    
    Values[1][0] = EMA(12)[0] + 35; // offset ema

    Comment


      #3
      Buenos días Jessé,
      Muchas gracias por la aclaración!!!. Voy a probar lo que me indicas.
      Saludos,

      Comment


        #4
        Buenos días,
        Llevo unas semanas intentando crear ese nuevo indicador desde NinjaScript pero no soy capaz de hacer lo que comentabas. Tendrías algún tutorial o video en donde se muestre como crear un indicador similar al que comento??. Entiendo que debería ser muy fácil...
        Muchas gracias Jesse por tu ayuda.

        Comment


          #5
          Hello Tibucan,

          I am not aware of any videos of manually coded indicators, what difficulty are you having when you try to make an indicator? Can you attach the script that you tried to make so we can get a better idea of what problem you are having?

          Comment


            #6
            Buenos días,
            La verdad es que me está costando más de lo que esperaba configurar todo en NinjaTrader como lo tenía en TradeStation. Así que muchas gracias por la ayuda.
            Te adjunto el código que estaba intentando...
            Muchas gracias,
            Saludos
            Attached Files

            Comment


              #7
              Hello Tibucan,

              It looks like you have two plots but you are not setting the plots correctly. Right now your plots have the same name as the EMA, the code you used is trying to set the EMA back to the EMA instead of plotting.
              To plot it you would need to use the Values collection:

              Code:
              Values[0][0] = CanalSuperior[0] + 35; 
              Values[1][0] = CanalInferior[0] - 35;

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              662 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              376 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              110 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              574 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              580 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X