Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Markttechnik Indicator and Strategy

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

    Markttechnik Indicator and Strategy

    Hi all,

    I tried to implement the Strategy of Michael Voigt.
    Therefore I created an Indicator for calculating the 1-2-3 and a Strategy for the position and stop handling.

    Generally the 1-2-3 calculation seems to work correctly.
    But I have problems with the position handling and need somebody for code review and helping me to finish that strategy.

    Please feel free to analyze my code.
    Hints, Bugfixes and Improvements are welcome.

    Thanks
    Firefox
    Attached Files

    #2
    Hi Firefox,

    Thank you for posting.

    What kind of problems are you having with the position handling?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      there are several problems ;-)
      But one of them is that a limit order is not executed because the price is lower than my limit.
      The problem is burried somewhere in my code. The calculation of the limit price seems to be wrong.
      Thats why I decided to make my code open source and get hopefully help from some experienced developers which like to contribute.

      Thanks
      Firefox

      Comment


        #4
        Firefox,

        First of all you would want to use Print() statements to verify values are what you expect - Debugging your NinjaScript code.

        For strategies add TraceOrders = true to your Initialize() method and you can then view valuable output related to strategy submitted orders through Tools > Output window - TraceOrders

        It may also help to add drawing objects to your chart for signal and condition confirmation - Drawing Objects.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Hello Florian_S​,

          Thank you for reaching out.

          I would suggest searching the user ecosystem for custom NinjaScripts that may accomplish the same goal or closely resemble the indicators your have mentioned;

          Please try searching here:

          Trading Indicators | Automated Strategies | Trading Apps | NinjaTrader Ecosystem

          Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:
          Note — To import NinjaScripts you will need the original .zip file.

          To Import:
          1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
          2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
          3. Select the downloaded .zip file
          4. NinjaTrader will then confirm if the import has been successful.


          Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

          Once installed, you may add the indicator to a chart by:
          • Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK


          Here is a short video demonstration of the import process:

          Please let us know if we can be of further assistance.
          The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
          Erick P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          55 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          37 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          17 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          19 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          49 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X