Attachments forums

Re: Gann Swing Chart for MT4

mazibee, Mon Jul 13, 2026 9:29 pm

firesword wrote: Mon Jul 13, 2026 6:19 pm Hello mazibee.
I've noticed some swing lines missing.
I think this is due to a large outside bar so all the following bars inside of it are ignored.
Would it be possible to make the swing chart turn when two consecutive bars inside the outside bar ,
make higher high and higher low or lower high and lower low.

I attached a pic of Daily CADJPY with zigzag-ed line to visually present what I mean.
I hope I'm not too annoying with these requests.
Thank you.

God bless.
Good Day Firesword.
Thanks for your kind words, Hope this is what I have comrehended from your post. I have atatched the updated source. for further enhancements.

I hope the senior coders can imrove it a lot and shar ethe source again for all.

Also just to let everyone know that I am not a professional coder, Seniors, experts here in this forum have much more knowledable and experience than me,
I am just using some of the latest AI tools and playing with them.

A kind request senior coders to please go through this code and please review it.

Stay Blessed Everyone.
All files in topic