Page 5 of 366

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 12:14 pm
by Banzai
Banzai wrote: Fri Jun 05, 2020 6:30 am Basic 4 Moving Averages are:

SMA = Simple Moving Average
EMA = Exponential Moving Average
SMMA = Smoothed Moving Average
LWMA = Linear Weighted Moving Average

I still forgot where I got this rainbow from. Will credit later.
--------------------------------------------------------------
MA dashed rainbow button.mq4
ON or OFF.

The Magenta line is MA (21) and is acting as the median line
lower band is from MA (3) to MA (17)
upper band is from MA (31) to MA (55)

Also, attached is template with 4 buttons.
--------------------------------------------------------------------------------------
edit 10/29/21: Please download new versions at:
viewtopic.php?p=1295449260#p1295449260

Thank you.

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 2:54 pm
by Jimmy
Banzai wrote: Mon Jun 29, 2020 6:05 am
MA Rainbow button.mq4
ON or OFF
That's a neat indicator mate, thank you for posting this one up :)

This topic just keeps getting better by the day bro.

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 3:24 pm
by Lumios
I think the only thing missing from the buttons is a corner selector.

On the MA Dashed Rainbow, add this as an extern variable around line 77,

Code: Select all

 extern int     btn_corner = 1;     //btn_corner   
then change line 314 to this:

Code: Select all

 const int     corner=btn_corner,     / chart corner for anchoring 
Then you should be able to modify the corner once its on the chart.

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 3:25 pm
by Lumios
mrtools wrote: Sun Jun 28, 2020 12:20 pm Did this version differently, might be an easier version to use for other indicators, am learning too so hopefully they will get better.Also the arrows are now buffers.
MrTools, could we get an on/off button for the Adaptive Jurik Filter?

You're the best!

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 4:14 pm
by Ogee
Banzai wrote: Sun Jun 28, 2020 2:28 am

###Auto Pivot2 button.mq4
with ON/OFF button.

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

------------------------------------
Hi Banzai, I have a slight snag with the autopivot2 in that in the live market it turns itself back on a couple of seconds after hitting the off button, hopefully a quick fix but if not I see you've done some other pivots I can checkout.

thanks again.

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 5:19 pm
by Banzai
Ogee wrote: Mon Jun 29, 2020 4:14 pm
Hi Banzai, I have a slight snag with the autopivot2 in that in the live market it turns itself back on a couple of seconds after hitting the off button, hopefully a quick fix but if not I see you've done some other pivots I can checkout.

thanks again.
OK, I fixed it.
Please download the new version 1.01
###Auto Pivot2 button 1.01.mq4
--------------------------------------------------------------
edit 6/29/20, 1:15 pm (pst):
sometime it takes 5 seconds to draw
and sometime it takes 3 seconds to draw the lines.
Will take a look again.

-------------------------------------------------------
------------------------------------------------------------------------------
edit July 30th, 2020
Please download the new version @
viewtopic.php?p=1295414597#p1295414597
Thank you.
------------------------------------------------------------------------------

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 5:28 pm
by Ogee
[/quote]

OK, I fixed it.
Please download the new version 1.01
###Auto Pivot2 button 1.01.mq4
-------------------------------------------------------
[/quote]
Brilliant, works a treat, many thanks.

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 7:31 pm
by Skyold
Banzai wrote: Mon Jun 29, 2020 5:19 pm

OK, I fixed it.
Please download the new version 1.01
###Auto Pivot2 button 1.01.mq4
-------------------------------------------------------
Hi Banzai,

now the PIVOT BUTTON works perfectly :clap:

And after the PIVOT, I / we need a good SUPPORT / RESISTANCE or SUPPLY / DEMAND indicator with a button.
It's just great what you can do with a little idea :)
Bravo

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 7:58 pm
by Ogee
Skyold wrote: Mon Jun 29, 2020 7:31 pm
Hi Banzai,

now the PIVOT BUTTON works perfectly :clap:

And after the PIVOT, I / we need a good SUPPORT / RESISTANCE or SUPPLY / DEMAND indicator with a button.
It's just great what you can do with a little idea :)
Bravo
the best S/R indy imo is this one which uses and colour codes levels off the Mn, Wk, D, H4 and H1 charts;

Re: Indicators with ON/OFF buttons

Posted: Mon Jun 29, 2020 10:36 pm
by josi
Banzai wrote: Mon Jun 29, 2020 5:19 pm Please download the new version 1.01
Do you think you can do an ON/OFF-version for this one, too?