Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

estretagia

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

    estretagia

    HOLA UNA CONSULTA ES QUE QUIERO HACER UNA ESTRATEGIA DE UN BREAK SIN ENBARGO no se como hace una instruccion ej , tengo dos varialbles el low de un rango horario , y el hi , y lo que quiero es restarlos y dividirlos entre dos para decir quel el target sea el 50% de ese rango sin embargo la variabel nueva que en teoria se llama target no se actualiza queda en 0 siempre a pesar de que yo le doy la instruccion . alguno podria iluminarme

    #2

    Comment


      #3
      Hola jccarlos,

      Gracias por escribirnos hoy.

      Tenemos capacidad limitada para proporcionar soporte de plataforma en español; sin embargo, hemos encontrado que este sitio https://www.deepl.com/es/translator puede traducir el inglés al español con buena calidad. Por favor copie nuestra respuesta y luego navegue al sitio que le colocamos para pegar la respuesta en el cuadro hacia la izquierda.

      It seems like you are using the Strategy Builder. The Strategy Builder is limited in the math that it is able to preform. Only Custom Series are able to be offset to do simple math.

      You could consider creating a Custom Series in the Additional Data screen of the Strategy Builder for the variables you want to do math calculations with. A value could be assigned to the Custom Series variables. Then, you could do simple math by offsetting one Custom Series by another Custom Series.

      Note that this will likely be easier to accomplish in an unlocked script.

      If the strategy is not behaving as expected, you must add debugging prints to understand how the script is evaluating.

      Below is a link to a forum post that demonstrates how to use prints to understand behavior.

      https://ninjatrader.com/support/foru...121#post791121

      See the help guide documentation below for more information.

      Additional Data Screen:https://ninjatrader.com/support/help...standingTheAdd itrionalDataScreen
      How to offset an item value: https://ninjatrader.com/support/help..._builder.htm#H owToOffsetAnItemValue
      Conditions: https://ninjatrader.com/support/help...on_builder.htm
      Actions: https://ninjatrader.com/support/help...t8/actions.htm

      Please let me know if I may assist further.
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      599 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      344 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      558 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      557 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X