Recent pivots alongside Andrew’s Pitchfork indicator available in the MT4 platform. These three pivots are called Entry point, High pivot and Low pivot. Like Fibonacci sequence, Andrew’s Pitchfork is derived from the universal order and system, hence Andrew’s Pitchfork is one of the most powerful financial market strategies.
Article/Author: Origin: Traders2traders website. Written by Wayne Mathews Download:pitch4.02.ela File Includes: Indicator - PITCH 4.02 (Andrews Pitchfork Enhanced Indicator) Category: Miscellaneous > PITCH 4.02 (Andrews Pitchfork Enhanced Indicator) Description: This is enhanced version of Andrews Pitchfork indicator created by Wayne Mathews. He added a few more variables/enhancements. He made two versions-one for log scale and one for linear scale. Also he added codes for various offsets of the start point, the ability to pick letters to use for marking pivots so as not to conflict with possible ABC, added an input switch for changing alert characteristics of channels, and an input switch for changing style characteristics. Here is a commentary made by athour: { This is my implementation of some aspects of Andrews Pitchforks. You are welcome to use this code freely. You may redistribute it provided you include this comment block, plus a description of any changes you make. If you extend it, or adapt it to other uses, I'd appreciate a look at what you've done. Thanks. Gregory Wood [email protected] 12/18/96 v1.0 - Initial distribution 01/08/96 v1.1 - Added median lines 01/15/96 v1.2 - Added TL_Thick, user-customizable colors (see 'SET COLORS HERE') 01/16/96 v1.3 - Removed projections to make room for up to 7 pitchforks ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Notes to Chris Cheatham version dated 2/25/01 Greg's original work is outstanding. I took it a step further and added a few more variables/enhancements. Unfortunately due to needing to organize for memory efficiency, my adoption is not as easy to follow as the original. The engine works about the same though. Additions: 1. Made two versions -- one for log scale and one for linear scale. 2. Added codes for various offsets of the start point (point A): Offset -- 'O' added to end of point A offsets point A 50% of AB distance toward B(for example, AO or A1O). Reverse Offset -- 'R' added to end of point A offsets point A 50% of AB distance away from B (for example, AR or A1R). Shoulder Pattern -- 'S' added to end of point A moves point A to the price of point C. (for example, AS or A1S). You don't have to add the codes to point B or point C. 3. Ability to pick letters to use for marking pivots so as not to conflict with possible ABC Elliott labels (point1, point2, point3). You must have the quotes in the input box or it will not work. Use CAPITAL letters. 4. Uses the color of the 1st point text, e.g., 'A,' to determine the color or the channels. Automatically colors 'B' and 'C' to match 'A.' So if you want to change the color of a set of channels, just change 'A' and refresh indicator. 5. Added input switch for changing alert characteristics of channels. 6. Added input switch for changing style characteristics of channels. Deletions: 1. Will not actually plot anything -- just draws channels. 2. No longer has the TLs connecting A to B and A to C. 3. Only allows 4 sets of channels per use, instead of 7 in original version. Other: 1. I have noticed that on occasion with log charts, the lines will not be parallel the first time drawn. If this happens just refresh the indicator and it should be fine. 2. The log version uses 2 non-Omega user functions, Log10, and TLValueLog. 3. I have been told that neither the original nor my versions works with 2000i products. Have not tried it and not sure why. Good Luck, Chris Cheatham [email protected] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ UPDATE TO VERSION 4.01: 1. Fixed Log scale need to refresh an extra time problem 2. Fixed a little bug that caused letters to continue be moved if H= C 3. Noted a difference between code and documentation on reverse offset - actually is coded as 100% of A-B instead of 50%. Upon reflection this seems better than my original intent. Did not change code. Addendum: From Peter Ryan, Code-List 6 Apr 1999 22:27:13 +0800 'I found an error in the Andrew's Pitchfork v2 indicator posted in November. The statement 'while handl > 0 begin' should read 'while handl >= 0 begin' I found that if the only objects on the chart were A, B and C, then the first object reference used is zero. The existing logic would ignore the first text label, and produce nothing.' Also by Wayne Mathews: 1. ' the 'for xx = 0 to 6 begin' loop to activate 'TL_SetExtRight(plots[xx],true);' does not work for me in TS2K. I commented out the 'SetExRight' and substituted just before the for loop code the following. TL_SetExtRight(handla,true);TL_SetExtRight(handlb,true); TL_SetExtRight(handlc,true); TL_SetExtRight(handlb1,true);TL_SetExtRight(handlb2,true); TL_SetExtRight(handlc1,true);TL_SetExtRight(handlc2,true);' 2. The line 'if vv[jj,ii] > mpt then begin' should read 'if vv[jj,ii] > C then begin' 3. To more easly read the code vv2[0,ii] = iff(codea[0,ii] = 'O', vv[0,ii] /2 + vv[1,ii] /2, iff(codea[0,ii] = 'R', vv[0,ii] + iff(vv[0,ii] >vv[1,ii] , 1,-1) * AbsValue(vv[0,ii] - vv[1,ii] ) , iff(codea[0,ii] = 'S', vv[2,ii], vv[0,ii]))) ; I have rewritten it as (but not substituted it here) if codea[0,ii] = 'O' then vv2[0,ii]= (vv[0,ii] + vv[1,ii] ) /2 else if codea[0,ii]='R' then if vv[0,ii]>vv[1,ii] then vv2[0,ii]= vv[0,ii]+1* AbsValue(vv[0,ii]- vv[1,ii] ) else vv2[0,ii]= vv[0,ii]+(-1* AbsValue(vv[0,ii]- vv[1,ii])) else if codea[0,ii]='S' then vv2[0,ii]= vv[2,ii] else vv2[0,ii]= vv[0,ii];} Usage: Set Plot1 and Plot2 to be large points. Note that the trendlines use the default trendline settings Use the text tool to label swing high/lows with 'A', 'B' and 'C', then refresh the indicator (clicking 'Status' twice causes the indicator to recalculate). Be sure to put the label above the bar's high for a swing high, and below the low for a swing low You can display other groups of points by using labels 'Ax', 'Bx' and 'Cx', where 'x' is 1, 2, or 3, e.g. 'A3', 'B3', 'C3' Note that you can use the pointer tool to move the points anytime. Then to view the new Pitchfork, refresh the indicator Use the Proj values to place a dot at a time expansion. Try values like .618, 1.0, 1.618 etc. Then use Diff to control how near the dot needs to be to the close for it to be seen. (This keeps the chart from shrinking) Use Median to add median lines Set MyColor (below) to be the colors for each Pitchfork
Inputs: Median - use it to add median lines Beep - sets the alert status for the specified trendline: 0 = no alert 1 = Breakout Intrabar alert 2 = Breakout on Close alert Thick - sets the width (line thickness) setting for the specified trendline object: Thickness widths range from 0 (the thinnest) to 6 (the thickest) Style - sets the line style setting for the specified trendline: 1 (solid) 2 (dashed) 3 (dotted) 4 (dashed pattern) 5 (dashed pattern) Point1 - label of swing high/low Point2 - label of swing high/low Point3 - label of swing high/low EasyLanguage Code:
First Post:May 23, 2008 6:16amMay 23, 2008 6:16am
|Joined Dec 2007|Status: Senior Member|1,461 Posts
Hit there, Does anyone have a better Andrews Pitchfork tool for MT4? The default one just displays the medium line and the two outer trend lines. Has any1 developed it so thta u can get the red, blue and green lines on it? If so please share! best regards Gurps
May 24, 2008 7:21amMay 24, 2008 7:21am
Joined Apr 2005|Status: Dopey Bastard|1,568 Posts
Hit there, Does anyone have a better Andrews Pitchfork tool for MT4? The default one just displays the medium line and the two outer trend lines. Has any1 developed it so thta u can get the red, blue and green lines on it? If so please share! best regards Gurps
As far as I know, there is only one PF tool for MT4. I don't think you can code stuff like that, but one of the coders here could verify that. As for the 'red, blue and green lines' you refer to, what the hell are those? Are you talking about trigger, warning and parallel lines? If so, use those terms. If you don't know them, then do some reading. Try Tim Morge's site, he's got lots of great stuff up there. I use eSignal and MT4. eSignal's PFs have all of those other lines built in to the tool, while MT4 requires you do it yourself. If you understand how they're derived from the basic PF, then it's very simple to do so. The only problem I've found is that the additional lines tend to drift so they require periodic adjustments which takes a few seconds at most.
May 24, 2008 8:20amMay 24, 2008 8:20am
Hit there, Does anyone have a better Andrews Pitchfork tool for MT4? The default one just displays the medium line and the two outer trend lines. Has any1 developed it so thta u can get the red, blue and green lines on it? If so please share! best regards Gurps
Hi i guess you want to know how to change a pitchfork colour You can do it manually 1. Double click then right to the line 2. Choose pitchfork properties 3. Change the colour at style window That All forkers Hikkake
May 26, 2008 5:43amMay 26, 2008 5:43am
|Joined Dec 2007|Status: Senior Member|1,461 Posts
Hi i guess you want to know how to change a pitchfork colour You can do it manually 1. Double click then right to the line 2. Choose pitchfork properties 3. Change the colour at style window That All forkers Hikkake
Hi there, ive give u an example of the pitcfork tool i need, this is from CQG charting, shows green line extensions and red lines, just wondering if anyone has been able to code that into MT4?
May 26, 2008 5:58amMay 26, 2008 5:58am
Hi there, ive give u an example of the pitcfork tool i need, this is from CQG charting, shows green line extensions and red lines, just wondering if anyone has been able to code that into MT4?
Hi fx local you need a programmer to code the tool into MT4 If you don't mind PM me i can suggest you where you can find a programmer to do the task. I don't want to make it public because people don't like advertisement in public forum
May 26, 2008 6:37amMay 26, 2008 6:37am
I add the internal parallel lines and the outer parallel lines using the fibo channel and change it's levels to 0.5, 1, 1.5, 2 you can do the same while you waiting a programmer note the PF in the red
May 26, 2008 7:10amMay 26, 2008 7:10am
I add the internal parallel lines and the outer parallel lines using the fibo channel and change it's levels to 0.5, 1, 1.5, 2 you can do the same while you waiting a programmer note the PF in the red
Thank for the nice solution Hikkake
May 26, 2008 10:41amMay 26, 2008 10:41am
Joined Apr 2005|Status: Dopey Bastard|1,568 Posts
Reading this again I just remembered there was a guy who came onto FF briefly and showed an MT chart with a custom PF tool. I'm pretty sure I posted on that thread so you could find it that way. He said he would share the tool, but he disappeared. So maybe it is possible to code it. Just find a good coder and ask.
Edited at 12:34amSep 10, 2009 12:20am |Editedat 12:34am
Joined Dec 2008|Status: hunting for pips ...|259 Posts
Not sure about the guy but go here and take a look. Andrew's Median Line MT4 indicator that supports Catalin, Schiff, Modified Schiff, inner lines, warning lines, reaction lines and sliding parallels.
Reading this again I just remembered there was a guy who came onto FF briefly and showed an MT chart with a custom PF tool. I'm pretty sure I posted on that thread so you could find it that way. He said he would share the tool, but he disappeared. So maybe it is possible to code it. Just find a good coder and ask.
Oct 20, 2011 9:58amOct 20, 2011 9:58am
|Joined Oct 2011|Status: Member|107 Posts
Not sure about the guy but go here and take a look. Andrew's Median Line MT4 indicator that supports Catalin, Schiff, Modified Schiff, inner lines, warning lines, reaction lines and sliding parallels.
Is there a latest version for MT4? Seems the version that I have downloaded does not work. Thanks
Last Post:Edited at 12:36amOct 21, 2011 12:03am |Editedat 12:36am
|Joined Nov 2009|Status: Member|83 Posts
http://www.multiupload.com/Z0L86VKPI2 be sure to restart MT4 after putting new indies into the folder you draw a median line with the MT4 draw tool and then rename it to match the settings in the indicator. I hope this helps.