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

Andrew's Pitchfork

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

    Andrew's Pitchfork

    Can you post the code for Andrew's pitchfork? Or can I have it otherwise? Thanks.

    #2
    If you are asking that of NinjaTrader then we will not publish our source code.
    RayNinjaTrader Customer Service

    Comment


      #3
      Just the pitchfork? It can't be a military secret.......

      Could it be made into shared code?

      It can be plotted but there's no apparent control over size color or the number and placement of the lines. I'd like to make an auto-plot with all these ablilities.

      I'd rather not have to try to remanufacture what's already been done. Is there any help you can give?

      Comment


        #4
        Unfortunately not. We cannot offer support in this direction.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Amibroker code is openly available here: http://www.amibroker.com/library/detail.php?id=706

          // Andrews Pitchfork V3.3
          //
          // Use Peak() & Trough() to get peaks & troughs.
          // This version deals with adjacent peaks and adjacent
          // troughs, i.e. two peaks without an intervening trough or vice-versa.
          // It goes backwards from the selected bar until it has a set of
          // peak,trough,peak or trough,peak,trough points to use for calulating
          // the pitchfork. When 2 or more peaks or 2 or more troughs are adjacent
          // it only uses the last one, i.e. the rightmost one, of the series.
          //
          // This version only uses the zigzag peak troughs after they have been
          // revealed by the subsequent price action. i.e. the price has to have
          // moved off the high/low by the zigzag pct before the peak or trough will
          // be used.
          //
          // This version plots the trendlines as exponential curves that plot as
          // straight lines on an semilog chart.
          //

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by quantismo, 04-17-2024, 05:13 PM
          3 responses
          25 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by ScottWalsh, 04-16-2024, 04:29 PM
          7 responses
          34 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cls71, Today, 04:45 AM
          0 responses
          5 views
          0 likes
          Last Post cls71
          by cls71
           
          Started by mjairg, 07-20-2023, 11:57 PM
          3 responses
          214 views
          1 like
          Last Post PaulMohn  
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          547 views
          0 likes
          Last Post PaulMohn  
          Working...
          X