You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
come up with the criteria for finding the shapes-
and then we take the starting point,
look for a no-holds-barred up/down move,
and then look for a stick of percentages next to it.
Actually, it's almost a simple zigzag.
And instead of a stake, you can build a distribution-.
how much knee #X is from the previous one.
The fish are not there
Stadium director (c)
It's a good joke, but at least comment on your point of view.
A lot has been broken on ZZ, and not only by me. Maybe a different approach is needed. I recently finished pattern recognition (with Kohonen) and decision making. Unfortunately the result is negative. Maybe we should just use a comprehensive approach.
You're wrong your zig-zag knee ratio problem has been solved by many (not just this script), though I'm not imposing it.
This script? I do not understand what it is all about. At least explain it then.
Here's a sample indicator with coloured squares on the chart showing moves and pullbacks...
you can put any advisor on a tick run, let's say atf 5 or 15 minutes - put a pause there - and put this indicator on the visual chart....
I am not the only one who has been broken a lot of times on ZZ. Maybe a different approach is needed, of course. I recently finished pattern recognition (with Kohonen) and decision making. Unfortunately the result is negative. Maybe we should just use a comprehensive approach.
Victor, this is not about zig-zags. Their problems are clear. Let's assume that we set a definition:
A trend is a directional price movement, after which the price necessarily rolls back by 33% (it may be another figure).
How can we find the maximum length of the trend on the symbol chart according to this definition? This is what the script should do.
It is quite possible that RZ can be applied here, I do not argue, but I have not seen such a script yet.
TheXpert, I suggest you the idea of a research script
It should go through the whole history (all the bars) beginning with Bars() and ending with bar 0. Its purpose is to determine the maximum allowable price strength for a pullback.
The strength is understood as the distance H, which price should pass in any direction (down or up) from the starting price
the pullback F, expressed as a percentage of the height H, must follow this distance:
The purpose of this script is to know the maximum value of the price length of the trend on the history for a given instrument, in order to develop
averaging techniques. Preferably, the script specifies the location (dates) of the trend with the maximum size found.
The initial data for the script is the same - the percentage of price pullback (price drawdown).
Let me remind you that the pullback (in points) is :
- for an uptrend - the difference between the maximum price and the minimum price, which (the minimum) appears after the maximum price;
- for a downtrend (as in the figure above) - the difference between the maximum price value that appears after the minimum price value;
Rollback percentage (in %) - the ratio of the rollback in pips to the size of the trend in pips, multiplied by 100%.
I am currently working on such a script myself, but have not yet figured out how to make the algorithm correctly.
I already did something like that a couple of years ago:
https://www.mql5.com/ru/forum/116407
Actually, the correct approach is to create an EA and optimise the entry/exit levels in the tester. That's how you get the statistics.
Victor, this isn't about zig-zags. Everything is clear with their problems. Look, let's say that we have a definition:
A trend is a directed price movement followed by the obligatory 33% price pullback (it may be another figure).
How can we find the maximum length of the trend on the symbol chart based on this definition? This is what the script should do.
It may well be possible to apply a FZ here, I don't argue, but I haven't seen such a script yet.
If it's not a gZ, it's up to you to formulate it.
it doesn't take much to draw a picture.
Victor, this is not about zig-zags. Their problems are clear. Look, let's say that we set ourselves a definition:
A trend is a directed price movement, after which the price necessarily rolls back by 33% (may be another figure).
How can we find the maximum length of the trend on the symbol chart based on this definition? This is what the script should do.
It may well be possible to apply a FZ here, I don't argue, but I haven't seen such a script yet.
There was an indicator that worked in fractions (percentages). It was one of XMA variants, but I will hardly be able to find it. I did not analyse it though.