Re: Indicators with ON/OFF buttons

12
Mega. This is one great thread. I love the animated gifs man. Thank you Banzai :In Love:
These users thanked the author Jimmy for the post (total 4):
Banzai, aneek229, myrelax82, Jedidiah
Are you looking for a Forex broker? FBS cuts spreads by up to 58%. Click here to begin your trading journey, today.
No commissions are earned by Forex-station.


Guide to the "All Averages" Filters (ADXvma, Laguerre etc.) 🆕
Use Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions
An easy trick for drawing Support & Resistance

Re: Indicators with ON/OFF buttons

13
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
These users thanked the author Banzai for the post (total 2):
marwilli, myrelax82


Re: Indicators with ON/OFF buttons

17
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?
These users thanked the author Skyold for the post:
Banzai
We create order out of chaos - we trade that order, but sometimes that chaos is out of order, so we WAIT!!! for the order to return - and we trade again. XARD777

Re: Indicators with ON/OFF buttons

18
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
These users thanked the author Banzai for the post (total 2):
myrelax82, Jedidiah

Re: Indicators with ON/OFF buttons

19
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

These users thanked the author Skyold for the post (total 2):
Banzai, marwilli
We create order out of chaos - we trade that order, but sometimes that chaos is out of order, so we WAIT!!! for the order to return - and we trade again. XARD777


Who is online

Users browsing this forum: ChatGPT [Bot], Google [Bot], Yandex [Bot] and 56 guests