NO EXTERNAL LINKS, SOURCE CODE REQUESTS OR MODIFICATION OF DECOMPILED INDICATORS. To avoid post deletion please follow the rules.

Re: Indicators with ON/OFF buttons

#591
josi wrote:
Mon Aug 17, 2020 3:33 am
Banzai wrote:
Mon Aug 17, 2020 3:15 am
According to the code,
if the chart scale is zero, which is the minimum, the bar width is 2.
If the chart scale is 5, or the maximum, the bar width is 13.
Anway, I fixed it. In the original indicator, look like it doesn't display quite right???
Man, what does it mean?
I don't understand what you are saying.
Try to say it in clear and understandable terms.
lol, a picture worths a thousand words.
That's why I always post a picture.

Those buttons are called "Chart Scale".
In plain English, "Zoom In" and "Zoom Out".
chartScale.png
To Reduce CPU and RAM usage -- MT4 > Tools > Options > Chart --->> Decrease "max bars in history" and "max bars in chart" (My setting is 5000)


Re: Indicators with ON/OFF buttons

#592
Supposed the coder didn't do anything.
When we zoom in,
we will see something like this.
nothing.png
To Reduce CPU and RAM usage -- MT4 > Tools > Options > Chart --->> Decrease "max bars in history" and "max bars in chart" (My setting is 5000)

Re: Indicators with ON/OFF buttons

#593
Now the coder of this indicator is awesome,
So we will see something like this when we zoom in.

Where I come from, we always say
"Awesome! Totally awesome!"
good_coder.png
To Reduce CPU and RAM usage -- MT4 > Tools > Options > Chart --->> Decrease "max bars in history" and "max bars in chart" (My setting is 5000)

Re: Indicators with ON/OFF buttons

#594
Banzai wrote:
Mon Aug 17, 2020 3:15 am
DVanAssen wrote:
Sun Aug 16, 2020 8:01 pm
Sir, if so allowed as time permits, please make this indi a button. Your tireless contributions are very much appreciated. Regards and have a great week ahead. Deane . Ps thanks to your amazing Button thread, I now have only 1 template!!

Code: Select all

  //Set bar widths                   
        if(Chart_Scale == 0) {Bar_Width = 2;}
  else {if(Chart_Scale == 1) {Bar_Width = 3;}      
  else {if(Chart_Scale == 2) {Bar_Width = 3;}
  else {if(Chart_Scale == 3) {Bar_Width = 3;}
  else {if(Chart_Scale == 4) {Bar_Width = 7;}
  else {Bar_Width = 13;} }}}}
According to the code,
if the chart scale is zero, which is the minimum, the bar width is 2.
If the chart scale is 5, or the maximum, the bar width is 13.
Anway, I fixed it. In the original indicator, look like it doesn't display quite right???

In the animated gif, look at the words "Chart_Scale ="
and you'll see what's going on.
Perfect!!! Many many thanks Banzai. Hope u have a great week ahead!! Regards Deane

Re: Indicators with ON/OFF buttons

#595
vvFish wrote:
Sat Feb 08, 2020 9:15 pm
Deez wrote:
Sat Feb 08, 2020 8:46 pm
Nice..can you give me the indi and .set file for the currency selection panel on the left?
;) ;) ;)
This is vvFish M1 template
#SpudFibo button 1.03.mq4
(15.63 KiB) Downloaded 70 times
T3MA ribbon filled simple button.mq4
(15.36 KiB) Downloaded 75 times
TMA + CG 4C RL AA TT button.mq4
(45.14 KiB) Downloaded 76 times
M1 T3MA ribbon + TMA vvFish.tpl
(32 KiB) Downloaded 70 times
GBPJPYM1_vvFish.png
To Reduce CPU and RAM usage -- MT4 > Tools > Options > Chart --->> Decrease "max bars in history" and "max bars in chart" (My setting is 5000)


Re: Indicators with ON/OFF buttons

#598
bigdee wrote:
Mon Aug 17, 2020 4:04 pm
Hi Mr Banzai,

Could you please make this button for 2 indicator ?
Thanks and best regards
TRO_DYNAMIC_HOLO.mq4
DYNAMIC HOLO
TRO_DYNAMIC_HOLO button.mq4
(67.6 KiB) Downloaded 80 times
Holo.gif
To Reduce CPU and RAM usage -- MT4 > Tools > Options > Chart --->> Decrease "max bars in history" and "max bars in chart" (My setting is 5000)

Re: Indicators with ON/OFF buttons

#599
bigdee wrote:
Mon Aug 17, 2020 4:04 pm
Hi Mr Banzai,

Could you please make this button for 2 indicator ?
Thanks and best regards
MID DOTS
TRO_MID_DOTS button.mq4
(39.3 KiB) Downloaded 56 times
mid_dots.gif
To Reduce CPU and RAM usage -- MT4 > Tools > Options > Chart --->> Decrease "max bars in history" and "max bars in chart" (My setting is 5000)


  1. Similar Topics

    1. Please make buttons for indicators

      0 Replies 172 Views

      by MayaxatL, Sun Sep 20, 2020 9:05 am in Coding Help

      0 Replies
      172 Views
    2. Already Converted TradingView Indicators to MT4 Indicators

      19 Replies 7716 Views

      by Banzai, Sat Jul 18, 2020 4:19 pm in MT4 Indicators

      19 Replies
      7716 Views

Return to “MT4 Indicators”