| / | Forum |
|
MontS
2008.09.08 21:30
Could anyone help? how to get price value from Andrews pitchfork? manually or indicator drawn? objectget will not work.
|
|
Anticipating the growth of popularity of the Automated Trading Championship, we introduced an automated system to check the submitted Expert Advisors. By now, 60% of all submitted Expert Advisors have already been checked automatically. |
|
phy
2008.09.09 03:32
You can get the three time/price points used to draw it. That is all. To get values along the lines of the fork, you will have to calculate them from the original three points. |
|
MontS
2008.09.09 17:04
phy wrote >>
You can get the three time/price points used to draw it. That is all. To get values along the lines of the fork, you will have to calculate them from the original three points. thank you for your reply, I'm a newbie, if you could please write an sample line to show how to get value along the lines, many thanks in advance. Actually, I don't know how it is drawn by the three time/price points, where to get the code for that? |
|
doblece
2008.09.21 12:55
MontS wrote >>
thank you for your reply, I'm a newbie, if you could please write an sample line to show how to get value along the lines, many thanks in advance. Actually, I don't know how it is drawn by the three time/price points, where to get the code for that? I don't know how to code but the values would have to be defined by you (there are at least two basic situations that I can think of: center point to High then upper point to next high and lower point to next low, or the inverse, with center to Low). Thereafter, the time/price values would depend on the timescale you'll be using (bar/line intersection). Here's the exact definition found at http://forum.mql4.com/15281#101413: The first trend line starts in a selected extreme left point (it is an important peak or trough) and is drawn exactly between two extreme right points. This line is the "handle" of pitchfork. Then, the second and the third trend line issuing from two above-mentioned extreme right points (important peak and trough) is drawn parallel to the first one. These lines are "tines" of the pitchfork. So the three time/price points are centerpoint (the handle) at a HH or LL, then upper point at next HH and lower point at next LL (that would be the extremes). |