Page 2 of 338

Re: Indicators with ON/OFF buttons

Posted: Thu Jun 25, 2020 1:30 pm
by Banzai
from jeanlouie @ forexfactory
no source code
BB_MA_toggle
- on chart buttons for bb and ma
- xy placement of buttons
- bollinger bands and moving average calculated separately (can be diff periods, tf)
- line styling for each

Re: Indicators with ON/OFF buttons

Posted: Thu Jun 25, 2020 1:46 pm
by Jimmy
Mega. This is one great thread. I love the animated gifs man. Thank you Banzai :In Love:

Re: Indicators with ON/OFF buttons

Posted: Thu Jun 25, 2020 1:59 pm
by Banzai
Yet another Toggleable Moving Averages for MT4
from mql5 dot com
This indicator can be a handy tool if you mostly trades from naked charts but sometimes need a quick look at the moving averages. You can add up to three separate moving averages that can be easily shown or hidden by a single click of a button.

The button can be placed in any corner of the chart with a text of your choice. You can also specify the x and y distance from that corner.


Features
Show or hide the moving averages by a single click of a button
Add up to three moving averages
Minimalistic and discreet
Remembers the state even when you exit the terminal
Data Window shows smoothing method and period for each moving average
Button can be placed exactly where you want it to be

Input parameters
The following input parameters can be set.

Button text - the text of the button
Button X offset - horizontal distance from the corner
Button Y offset - vertical distance from the corner
Place the button in - what corner to place the button in
Period (n) - averaging period for calculation
Shift (n) - shift value in bars
Method (n) - smoothing method
Apply to (n) - desired price base for calculation
Set the period to 0 if you want to disable a moving average.

Coded with ❤️ by Erik Dahlstrand

Re: Indicators with ON/OFF buttons

Posted: Thu Jun 25, 2020 3:06 pm
by moey_dw
HOLY MOLY............. U ARE A SAINT THANK U BANZAAAAAAI

Re: Indicators with ON/OFF buttons

Posted: Thu Jun 25, 2020 4:24 pm
by Banzai
NonLagMA. I think it's from mladen

Re: Indicators with ON/OFF buttons

Posted: Fri Jun 26, 2020 1:12 am
by Banzai
Yet another Heiken Ashi on/off button from jeanlouie @ forexfactory.

Re: Indicators with ON/OFF buttons

Posted: Fri Jun 26, 2020 7:11 am
by Skyold
Banzai wrote: Fri Jun 26, 2020 1:12 am My favorite indicator. On or off.
Hello Banzai,
it is terrific what you are doing here.
Use the buttons to switch any indis on the chart on and off. Outstanding.
Can you incorporate this possibility for any Indis with source code?

Re: Indicators with ON/OFF buttons

Posted: Fri Jun 26, 2020 7:32 am
by Banzai
yeehc wrote: Thu Jun 11, 2020 12:24 am hello everyone ! I was wondering is there any & toggleable moving average indicator out there? ( that can show / hide moving average in chart with just a button )

from jeanlouie @ forexfactory
MAs_MTF_toggle_v1.1_w_labels
- up to 8 MA, dont have to use all
- separately calculated, all can have diff period, tf, price, method
- separate styles and coloring too
- toggle button shows/hide all
- placement and styling for the button
v1.1
- optional labels of MA with price, and a optional gap from the MA line tip
- option to show/hide the labels with the button or not (labels can be left when MAs are hidden)
- font size option, colors are set its MA line color
v1.2
- option to have prices with the labels or not

Re: Indicators with ON/OFF buttons

Posted: Fri Jun 26, 2020 7:52 am
by Skyold
Banzai wrote: Fri Jun 26, 2020 7:32 am

Yes, I need the source code to modify.
jeanlouie code/template is easy to read.
I was able to copy and paste the code and apply to other indi.

I couldn't understand xard777 code from this indi, "!!!-MT4 X-XARDg-HA.mq4" (Heiken Ashi)
viewtopic.php?p=1295413346#p1295413346
But jeanlouie code is simple

I may have some trouble if the source code has like 1000 lines.
That's 1000 lines to read and check.
But in the worst case scenario, we can ask jeanlouie to do it.
He/she has more experiences than I do.
I just got on board of modifying in 2019. About a year ago.

So what do you have in mind? Let's see.
something like that would really help so that the chart is clear
Thanks


Re: Indicators with ON/OFF buttons

Posted: Fri Jun 26, 2020 12:28 pm
by Lumios
This is awesome, I love a clean chart for sure. Maybe we could get some on off buttons for the top ten NRP indicators.