Announcement

Collapse
No announcement yet.

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 frslvr, Today, 05:42 PM
          0 responses
          2 views
          0 likes
          Last Post frslvr
          by frslvr
           
          Started by frslvr, Today, 04:29 PM
          0 responses
          12 views
          0 likes
          Last Post frslvr
          by frslvr
           
          Started by wjadevries, Today, 04:18 PM
          0 responses
          5 views
          0 likes
          Last Post wjadevries  
          Started by shahabjet1, Today, 03:47 PM
          2 responses
          17 views
          0 likes
          Last Post shahabjet1  
          Started by JTizz, Today, 03:21 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X