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
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
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
Hello 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 )
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
something like that would really help so that the chart is clearBanzai 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.
Users browsing this forum: Albidona, Google Images [Bot], hakimoos, RodrigoRT7, Steam1, tmostafa007 and 58 guests