Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Blttriggerlines Strategy

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

    #16
    Originally posted by notenufftime View Post

    Hi NinjaTrader_Emily

    Thank you for your interest.

    You are correct in your assumption of strategy builder. Which script is it that you are after?

    The strategy has been made as simple as possible for this purpose. I am using bltdavid​'s Triggerlines and only that. During my setup I've used all defaults of the indicator and my strategy is very base.

    When Trigger crosses above average - Enter Long
    When Trigger crosses below average - Enter Short

    What could go wrong? Haha

    Compile does not complete, and an error message is generated as indicated. That is a direct screen shot.

    When I had been pursuing it, I found an updated version of BLTTrigger, installed it and the same error presented. I read and followed a thread about manually changing some references in the indicator. I followed them and was able to compile both the indicator and the strategy without errors, however, no activity would take place when running it.
    No errors, but no actions (Enter Long\Short).

    That's all there is to it.
    I am trying to think through a similar strategy and facing the same error - is there a resolution to this compile problem? Tagging bltdavid for any guidance.
    Attached Files
    Last edited by WattMan; 03-12-2024, 05:34 PM. Reason: Attached the compile error screenshot for reference

    Comment


      #17
      Aquí tengo la solución, el error se debe a algunas declaraciones en el código fuente del indicador, aquí te dejo el indicador con las correcciones pertinentes, y ya puedes crear tus estrategias desde el constructor de estrategias o más.
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,789 views
      0 likes
      Last Post aligator  
      Started by Jimmyk, 01-26-2018, 05:19 AM
      6 responses
      837 views
      0 likes
      Last Post emuns
      by emuns
       
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,293 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      13 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      11 responses
      63 views
      0 likes
      Last Post halgo_boulder  
      Working...
      X