Page 329 of 371

Re: Indicators with ON/OFF buttons

Posted: Sat Jan 20, 2024 1:10 am
by BeatlemaniaSA
Dear master coders,

Can you please add an ON/OFF button to the latest update of the zee arrow alerts indicator?
Warmest regards,
Beatle 🪲

Re: Indicators with ON/OFF buttons

Posted: Sat Jan 20, 2024 5:17 am
by mrtools
BeatlemaniaSA wrote: Sat Jan 20, 2024 1:10 am Dear master coders,

Can you please add an ON/OFF button to the latest update of the zee arrow alerts indicator?

! Zee_arrzzx2__alerts_1.03.mq4

Warmest regards,
Beatle 🪲
Added an on/off button.

Re: Indicators with ON/OFF buttons

Posted: Sun Jan 21, 2024 12:18 am
by MaxTorque
mrtools wrote: Sat Jan 20, 2024 5:17 am Added an on/off button.
Hello mrtoools,

is it possible to post the indicator in the bottom ?

Thank you in advance.

Greetings

Re: Indicators with ON/OFF buttons

Posted: Sun Jan 21, 2024 2:35 am
by mrtools
MaxTorque wrote: Sun Jan 21, 2024 12:18 am Hello mrtoools,

is it possible to post the indicator in the bottom ?

Thank you in advance.

Greetings
Try here

Re: Indicators with ON/OFF buttons

Posted: Sun Jan 21, 2024 8:31 pm
by ixion700
mrtools wrote: Sat Jan 20, 2024 5:17 am Added an on/off button.
Hello dear @mrtools. To me this looks too good to be true! Could you please confirm its not a repaint? Or is it?

Re: Indicators with ON/OFF buttons

Posted: Sun Jan 21, 2024 8:35 pm
by josi
ixion700 wrote: Sun Jan 21, 2024 8:31 pm To me this looks too good to be true! Could you please confirm its not a repaint? Or is it?
It is definitely a repainting indicator.

Re: UT_XU-ADR D1_1.01_BT2 New Lines Updated!

Posted: Wed Jan 24, 2024 2:57 am
by global
global wrote: Thu Jul 06, 2023 10:16 am Here is my new modified UT_XU-ADR D1_1.01_BT2.mq4. I added inputs that will now allow you to change all the "hard coded" colors. I also included comments within the code explaining how you can use the Modified Forex-Station button template sections within other indicators that draw buffer data you want to access by iCustom calls.

UT_XU-ADR D1_1.01_BT2.png
I updated this indicator a little by adding the weekly open, weekly hi & low and monthly hi & low levels. Of course I also added options to turn those new levels on/off with, show_Wk_Open, show_Wk_Openline, ShowPrev_WkMth_HiLo and ShowPrev_WkMth_HiLolines. Those new options are all on by default. However, if the lines and line labels are on and you change to different chart, the new labels will be displayed but their lines won't display. You will have to click the ARD button twice to turn off then turn on for the lines to display. I couldn't figure out why that is happening but it's not a big problem.

I also added the code below at the beginning of the start function to prevent deinitialization on every tick.

Code: Select all

//If ShowDisplay is "Off" deinitialize only once, not on every tick
if(!ShowDisplay) { if(!Deinitialized) { deinit2(); Deinitialized=true; } return(0); }
//Reset to Signal State of Non-deinitialization
Deinitialized=false;
I hope these additions are useful for you.


Re: Indicators with ON/OFF buttons

Posted: Wed Jan 24, 2024 6:23 pm
by 太虚一毫
mrtools wrote: Thu Mar 09, 2023 4:06 am Added the button. The mtf had a problem and fixed it.
Elliot Oscillator Waves indicator, I just need the Orange Dot line from the main chart. Could it be possible to add an option (true/false) that when buttons are closed (i.e. EWO-on state), the Orange Dot line is also displayed in the main chart?

The merit is immeasurable!
:thumbup:

(This Orange Dot line, than ZigZag is more interesting.)

Re: Indicators with ON/OFF buttons

Posted: Wed Jan 24, 2024 7:39 pm
by Woodyz
If you do not want the Zig Zag to show, just set the color to none

Re: Indicators with ON/OFF buttons

Posted: Wed Jan 24, 2024 7:47 pm
by 太虚一毫
Woodyz wrote: Wed Jan 24, 2024 7:39 pm If you do not want the Zig Zag to show, just set the color to none
No, I'm trying to close the button when it still shows a dotted line. :thumbup: