MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Forget Outdated Indicators and Buy Latest Ones in MetaTrader Market

ZIGZAG Channel breakout indicator

Back to topics list  | 1 2 To post a new topic, please log in or register
avatar
411
navodar 2009.07.27 16:16
 

I would like to program indicator similar to this one: ZigZag with Its Own "Channel",but instead of channel lines ends in ZIGZAG tops/bottoms, they should follow until price breakout/touches this line.

Here is an example of such an indicator:



I can see some issues regarding such an indicator, due to a ZIGZAG redrawing, but at first idea would help me.

Please if you have any idea, what could be a way to do it, let me know.


Thank you very much

 
Weekly Outlook: 2014, September 21 - September 28

Weekly Outlook: 2014, September 21 - September 28

G20 Meetings, Mario Draghi’s speech, German Ifo Business Climate, US New Home Sales, US Durable Goods Orders, US Unemployment Claims are the main highlights this week. Here is an outlook on the major events coming our way. Last week Scotland voted NO on independence from the UK in the historic referendum. The NO campaign’s victory was more decisive than the opinion polls had suggested, leaving the 307-year union in place. UK’s Prime Minister David Cameron acknowledged the Scots’ demand to have more power in the UK legislation and form a new constitutional settlement for the entire UK. Markets reacted with relief, bank shares climbed sharply after the market opened. Sterling initially gained in reaction to the result, rising 0.3 % higher to $1.6442, but later fell back against the dollar. Will the UK economy speed up growth in the coming months?

avatar
411
navodar 2009.08.05 09:29 #
 

Till now I just found this solution:



ZIGZAG Channel Breakout indicator


Displayed chart currently contains three attached indicators (all the same) with different configuration.

Dots should diplay S/R levels comming from ZIGZAG tops and bottoms connections.

Indicator can be configured to show S/R levels comming from ZIGZAG connections of last and one of the previous three tops/bottoms

Here all three are used. Hope description is understandable.

If anyone has comment/idea regarding this topic, please let us know.


Thanks

 
avatar
600
LEHayes 2009.08.05 10:17 #
 
Are you looking for someone to write it for you or are you wanting ideas on how to write it yourself? If you want someone to write it for you, contact me at smsbvt (at)hotmail [.] com.
 
avatar
411
navodar 2009.08.05 11:08 #
 
LEHayes:
Are you looking for someone to write it for you or are you wanting ideas on how to write it yourself? If you want someone to write it for you, contact me at smsbvt (at)hotmail [.] com.

Definitely ideas are welcome, but thank you for an offer. I would like to share know-how here, because we are on a forum.

 
avatar
856
fbj 2009.08.05 18:26 #
 

Hello navodar

Let's have a-go, ok?

Made some mods, see attached.

Is no way near anything BUT may stimulate the grey-cells, yes?

PM if want to.

I am extremely interested in what you have started. I need this - is something which can use now and also the indicator, once made should be friendly enough to mod for my 'ultimate solution'.

So, yes - am keen to see this one through ;)

Note that my 1st mods are just that 'first' and not meant to push in one direction - just get some grey cells firing I hope.

Regards

Attached files:
  zigzag_ws_chanel.mq4  (9.27 KB)
 
avatar
411
avatar
856
fbj 2009.08.06 03:16 #
 
navodar wrote >>
I think this is very similar to what we would like to have: Construction of Fractal Lines

Back to the books... but yes, looks to have many ()'s + ideas to hijack :)

I've thot of way to do but nothing so clever as this article. Whatever, it would seem 'the answer is out there'

 
avatar
600
LEHayes 2009.08.06 09:11 #
 

So somthing like this:


ZigZag_FractalLines

avatar
411
navodar 2009.08.06 10:15 #
 
LEHayes:

So somthing like this:


ZigZag_FractalLines

I like this brainstormig :-)


I would say YES. Your solution looks interesting, but ZIGZAG points not stabilised yet (in ZIGZAG indicator these are stored in HighMapBuffer[] and LowMapBuffer[]) should not be used.

In my scripts I used to confirm them with condition: ZigzagBuffer[i] > 0.0

Then we have just already valid ZIGZAG points for this indicator to draw a lines.

 
avatar
856
fbj 2009.08.08 00:29 #
 
avatar
1
fx.peyman 2010.09.11 13:14 #
 

hi everybody.i want to know how can i get ZIGZAG Channel breakout indicator.?can you help me?

 
Back to topics list   | 1 2  

To add comments, please log in or register