Job finished
Specification
I would like to revised zigzag indicator asf:
I. Indicator form
1. The parameter fix asf:
+ To use close price on any time frame.
+ Top of wave where there is bullish candlesticks with highest close price.
+ Bottom of wave where there is bearish candlesticks with lowest close price.
+ The lines make drawn frm top of wave to bottom of wave.
+ Bullish Wave make drawn frm bearish candlesticks with lowest close price to bullish candlesticks with highest close price and the same on bearish wave. And it must adapt 02 condition asf:
/ There are min N candlesticks (N is number of candlesticks which will declare on Depth of inputs of indicator). N candlesticks count frm bearish candlesticks with lowest close price to present candlesticks for bullish wave and same for bearish wave.
/ Body of candlesticks frm candlesticks after bearish candlesticks with lowest close price to present candlesticks must be bigger than N times (N is number of times which will declare on Deviation of inputs of indicator) of body of bearish candlesticks with lowest close price for bullish wave and same for bearish wave.
Some pictures to clear more.
2. Form is same as zigzag indicator on MT4
- About: Same on Zigzag of MT4
- Common: Same
- Inputs
+ Depth: Min N candlesticks (N is number of candlesticks which will declare later). Pls refer content above.
+ Deviation: Min N times (N is number of times which will declare later). Pls refer content above.
+ Backstep: Delete
- Colors: Same
- Visualization: Same
II. Alert
1. Break out of top and bottom of candlesticks
- Only apply for Reversing candlesticks to reverse present trend of wave (Ex: Bearish candlestick break bottom for bullish wave). Candlesticks break out which always doesn’t same trend of wave.
- Bullish wave: If there is min 01 bearish candlesticks with lowest price is lower than lowest price and close price is lower than open price of bullish candlestick before. Indicator will alert if there is any candlesticks after that bullish candlestick to adapt of 02 these condition.
- Bearish wave is same.
2. Break out of bottom and top of wave.
- Indicator will alert if there is any candlesticks with highest price is higher than highest price and close price is higher than close price of candlesticks as top of wave. And same on bottom of wave.
III. Time to complete this indicator: 1-5 days.
= End =