Re: Indicators with ON/OFF buttons

191
duongnnk wrote: Thu Jul 02, 2020 6:43 am Please make On/Off button for this indicator
This indicator can draw a H4, or Daily Candle.
or any time frame candle.
It's very useful if you're trading the first hour breakout trading strategy.



----------------------------------------------------------------------------------------------------
edit 6/5/22:
Please download a newer version with better code at:

viewtopic.php?p=1295479523#p1295479523

Thank you.
Attachments
These users thanked the author Banzai for the post (total 6):
josi, marwilli, Arina, Thangarasu, Lumios, Antonio


Re: Indicators with ON/OFF buttons

192
marwilli wrote: Fri Jul 10, 2020 5:07 pm I want to say thank you, for all of the hard work
to code this button indies.
I´ve looked in the coding and my point of view is,
that is not easy to integrate a button function in an indicator.
(perhaps of diverse coding style of coders)

many greetings
Markus :-)
I got stuck in stopping the refreshing/windowredraw every time we switch time frame such as H4, Daily, Weekly, etc...

And then I found this template code from Mario Jemic and that solved this problem.
He's a software engineer from Croatia with a Bachelor degree. He's very young. His link is in the code.
Many thanks to him.
Attachments
These users thanked the author Banzai for the post (total 2):
Lumios, marwilli

Re: Indicators with ON/OFF buttons

193
Hey Banzai,

Do you know if the source code was released as mentioned at the bottom of the post? Would love to change the button color, corner anchor and font/font size customization.

Appreciate all your work sir!


Banzai wrote: Thu Jul 09, 2020 5:09 pm WATL Wave autotrendlines (Wati)
Watl open source, Elliott Wave Analysis, Treandline anlysis, 1-2-3 pattern

Wave_AutoTrendLines (WATi) is a complex technical tool which gives new technology of the price analysis.

Certainly, indicator WATi does not cancel existing positions of the classical graphic analysis, Elliott's theory and other developments in the field of the technical analysis.

Therefore, on one hand, indicator WATi is the good assistant for identification and visual definition of classical price models. On the other hand, it forms the new point of view on principles of market price behavior analysis .

During long testing, it was revealed, that indicator VATI creates own models on the price chart using semaphores and trend lines. . Many of them are components of classical price models, but some of them have unique shape, peculiar only for this indicator. Such feature only expands practical opportunities of the indicator WATi use.

Finally, any tool of similar type is intended to help organize successful trading activity in the markets. Therefore indicator WATi can be useful to you in following cases:

1. For visual definition of classical price models: Head -shoulders, 123 pattern, Banners, Pennants and others
2. For visual identification of «Likhovidov folding rule» price model
3. For definition of formation places and construction of WOLFE WAVES
4. For use together with B.William's system "Alligator"
5. For the simplified wave analysis and Elliot wave model identification.

Indicator WATi consists of 3 basic elements:

1. Semaphores of the High, Low and Lowest periods
The semaphores color marks by default:
The High period - red circle with 3;
The Low period - yellow circle with 2;
The Lowest period - violet points;

2. Trend lines of the High and an Low periods
Trend lines marks by default:
The High period - a red faltering line;
The Low period - a yellow continuous line;

3. The forecast trend line of the High period.
Marks of a line by default: Pink line.

Indicator WATi trend lines assist to visually identifying «Likhovidov folding rule» price model».
Process of definition of «Likhovidov folding rule» price model consists of several stages, namely:

1. Definition of wave forms.
2. Construction of trend lines.
Trend lines should allocate and emphasize wave forms which develop the tendency movement. Horizontal movements, in this case, do not interest us.

Indicator WATi semaphores for the simplified wave analyses
As it is already known, WATi semaphores are lit when any wave (pulse) shape is generated. Thus a semaphore constant and not repaint.
Such feature allows to do the simplified market prices wave analysis, without deep studying a full rate of Elliott wave analysis. In most cases, waves which were identified with indicator WATi, correctly display 5-wave model of price movement as it is accepted according to Elliott theory. Therefore the wave analysis of the price chart by means of semaphores does not represent the big work. It is necessary to place a digital marking of these waves only.

Summary

What is WATi:

1. Exact waves pivots for the high, low and lowest period. (red, yellow, purple colors by default) WATi draws high, low and lowest semaphores on price chart. The semaphores calculation made on the basis of the wave (pulse) formations identification. WATi does not use ZigZag or B. Williams fractals algorithms. Therefore, semaphores are stable and not repainted.

2. Automatic trend lines of high and low periods. (red, yellow colors by default) After identifying waves and the semaphores formation maxima and minima points of different periods), an indicator automatically creates a trend lines on the chart for high and low periods. Trend lines are stable and not repainted. You can switch off all or part of the trendy lines creation. You can also adjust the number of lines to create.

3. The High period forecast trend line. (pink color by default) The High period forecast trend line – this is a new indicator addition indicator. This line will significantly increase your skills analysis and forecast price behavior. The forecast trend line creating has a different algorithm. The current price dynamics is used in the calculation. Trend line forecast can change its position depending on the current situation. At the same time it accurately tracks the current price behavior.

4. The warning and alarm system of events occurring Indicator has a warning and alarm system. When new high or low semaphore is formed, the indicator can notify about this textual or sound alarm

This one stop the refreshing/windowredraw every time we switch time frame such as H4, Daily, Weekly, etc...
-----------------------------------------------------
edit: July 9th, 2020, 12:06 pm (PST)
will release the source code.
Hang on.
These users thanked the author Lumios for the post:
Banzai

Re: Indicators with ON/OFF buttons

194
Ogee wrote: Mon Jun 29, 2020 7:58 pm the best S/R indy imo is this one which uses and colour codes levels off the Mn, Wk, D, H4 and H1 charts;
FractalSupportResistance.mq4
Please download this new version 1.01.
This one stop the refreshing/windowredraw every time we switch time frame such as H4, Daily, Weekly, etc...
------------------------------------------------------------------------------
edit, Sunday, July 26th, 2020, 11:18PM, PST
Please download version 1.03 @
viewtopic.php?p=1295415646#p1295415646
Thank you.
------------------------------------------------------------------------------
Attachments
These users thanked the author Banzai for the post (total 3):
Ogee, Thangarasu, marwilli

Re: Indicators with ON/OFF buttons / clear indy / best overview :-)

195
Lumios wrote: Sat Jul 11, 2020 3:47 am Hey Banzai,

Do you know if the source code was released as mentioned at the bottom of the post?
Would love to change the button color, corner anchor and font/font size customization.

Appreciate all your work sir!

Modified by Mario Jemic
These users thanked the author Banzai for the post (total 2):
josi, marwilli


Re: Indicators with ON/OFF buttons

196
Ogee wrote: Sat Jun 27, 2020 4:15 pm
Great work Banzai and thank you,
any chance you might do the button magic on this excellent little auto pivots indy?

###Auto Pivot2.mq4
Skyold wrote: Fri Jul 10, 2020 4:34 am Hi Banzai,

can you please code the PIVOT indi with the new format so that the setting is fixed?

###Auto Pivot2 button 1.02.mq4
-------------------------------------------------------------------------------------
Please download this new version 1.03.
This one stop the refreshing/windowredraw every time we switch time frame such as H4, Daily, Weekly, etc...

I was able to modify a little bit so we can choose font size, line style (dash/dot/solid), any font, line colors.
------------------------------------
DP = Daily Pivot
DR = Daily Resistance
DS = Daily Support
------------------------------------
These users thanked the author Banzai for the post (total 2):
Skyold, marwilli

Re: Indicators with ON/OFF buttons

197
Lumios wrote: Tue Jun 30, 2020 3:53 am Banzai, I just tried to program a button for Mladens time range separator but got lost. I was able to get the button settings in but couldnt figure out what to do after that. Can you give it a shot? I'm very new to MQL4.

Lumios

day_separator_2_2.mq4
Please download this new version 1.01.
This one stop the refreshing/windowredraw every time we switch time frame such as H4, Daily, Weekly, etc...
These users thanked the author Banzai for the post:
Lumios


Who is online

Users browsing this forum: gmpleyland, IBM oBot [Bot], REDntense, sdsdzk, Trendiction [Bot], WhatsApp [Bot], Yahoo Japan [Bot] and 127 guests