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


Re: Indicators with ON/OFF buttons

#582
Banzai,

Updated the code Psychological levels slightly, more customization features. However the code seems to have trouble deciding what levels it wants to show, it'll like repaint upwards. Gonna attempt to rewrite how the code finds what levels to show.
Capture.PNG
@@@Psy Levels button.mq4
(15.49 KiB) Downloaded 238 times

Re: Indicators with ON/OFF buttons

#583
DVanAssen wrote:
Thu Aug 13, 2020 12:54 am
Hi there Banzai. Trust all is good?
Please, whenever possible, add buttons to these 2 indi.
They help with PA decisions but clutter up the chart.
Right now my charts are perfect thanks to all your great contributions.
Much much appreciated
In this version, you can change font, font size, and font color.
The top numbers can be in different colors.
MT4-Candle-Pips-Size-indicator-high-to-low button.mq4
(8.59 KiB) Downloaded 262 times
MT4-Candle-Pips-Size-indicator-open-to-close button.mq4
(8.77 KiB) Downloaded 247 times
GBPJPYH1.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

#586
Banzai wrote:
Sun Aug 16, 2020 1:52 pm
DVanAssen wrote:
Thu Aug 13, 2020 12:54 am
Hi there Banzai. Trust all is good?
Please, whenever possible, add buttons to these 2 indi.
They help with PA decisions but clutter up the chart.
Right now my charts are perfect thanks to all your great contributions.
Much much appreciated
In this version, you can change font, font size, and font color.
The top numbers can be in different colors.
Hi there Banzai. Much respect and gratitude always. Many thanks Deane.

Re: Indicators with ON/OFF buttons

#588
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.
Sonic_2 PVA Candles (Black) button.mq4
(16.53 KiB) Downloaded 194 times
ChartScales.gif
GBPJPYM30_chartscale2.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

#589
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.

Re: Indicators with ON/OFF buttons

#590
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)


  1. Similar Topics

    1. Already Converted TradingView Indicators to MT4 Indicators

      25 Replies 15929 Views

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

      25 Replies
      15929 Views
    2. How Do You Like FS Indicators?

      13 Replies 2533 Views

      by ionone, Sun Jul 05, 2020 7:25 pm in MT4 Indicators

      13 Replies
      2533 Views
    3. What are the best mobile indicators to use?

      4 Replies 2296 Views

      by Dondbaze, Mon Jul 27, 2020 9:56 am in New Members & Common Forex Q&A's

      4 Replies
      2296 Views
    4. What are these indicators doing or made from?

      1 Replies 395 Views

      by billbroch, Mon Aug 24, 2020 10:00 am in MT4 Indicators

      1 Replies
      395 Views

Return to “MT4 Indicators”