Re: Indicators with ON/OFF buttons

211
Hey Banzai,

I figured out why the buttons were replacing each other, visibility ID had to be unique. I've updated most of the indis to fix the issue. You are teaching me sir!! Try to help you out!!
-----------------------
Banzai wrote: Sun Jul 12, 2020 3:52 am

This uni_cross.mq4 needs two more files in order to work.
Snake.mq4 and T3_clean.mq4
These users thanked the author Lumios for the post (total 5):
duongnnk, josi, Banzai, Thangarasu, AnCapFX


Re: Indicators with ON/OFF buttons

212
Lumios wrote: Sun Jul 12, 2020 5:45 am Hey Banzai,

I figured out why the buttons were replacing each other, visibility ID had to be unique. I've updated most of the indis to fix the issue. You are teaching me sir!! Try to help you out!!
Yikes. I forgot to test with other buttons.
I blame it on the summer heat.
OK, I'll be more careful from now on.
Thank you very much.
-------------------------------------------------------------------
Lumios wrote: Fri Jul 03, 2020 1:52 pm I think there is a bug on the custom candles that recolors all the fonts when you push button on.
I did remember to test to see if the background color of
@@@Custom Candles - MTF 2.1 button.mq4
interfere with other indicator background color
These users thanked the author Banzai for the post (total 2):
Lumios, duongnnk

Re: Indicators with ON/OFF buttons

213
Oh OK. I see what I did.
int init()
{
IndicatorName = GenerateIndicatorName("Enter_a_different_name"); //don't forget to change name here
IndicatorObjPrefix = "__" + IndicatorName + "__";
IndicatorShortName(IndicatorName);
IndicatorDigits(Digits);
// Enter another different name below
visibility.Init("show_hide_Enter_another_different_name", IndicatorName, btn_text, button_x, button_y);
In the template, I reminded myself to change the name here and there.
And then I forgot.
lol
These users thanked the author Banzai for the post:
duongnnk

Re: Indicators with ON/OFF buttons

215
Banzai wrote: Sun Jul 12, 2020 3:52 am

This uni_cross.mq4 needs two more files in order to work.
Snake.mq4 and T3_clean.mq4
I was able to make 3 buttons. Snake button, T3_clean button, and uni_cross button.
Please put these 5 indicators in the same folder in order to work.
"uni_cross button.mq4" file will call and read some data from "Snake.mq4" and "T3_clean.mq4". That's why.
These users thanked the author Banzai for the post (total 4):
Lumios, BOLBAM, Thangarasu, MayaxatL


Re: Indicators with ON/OFF buttons

219
pax wrote: Sun Jul 12, 2020 4:14 pm Many thanks to the contributors for all of the buttons.
If possible please make a button for this Guppy MAs indie.
Thanks again!!
on or off button
--------------------------------
edit 6/12/22:

Please use a newer version at:
viewtopic.php?p=1295480132#p1295480132

Thank you.
These users thanked the author Banzai for the post (total 6):
pax, Jimmy, Lumios, Arina, Thangarasu, thewealthlifters

Re: Indicators with ON/OFF buttons

220
josi wrote: Sat Jul 11, 2020 4:50 pm Xard is - at the moment - experimenting with a new (cycle) channel that looks very interesting.
Maybe you can come in early and integrate the on/off-functionality (you have so quickly become famous for) for the new setup before it is released. Just an idea....

see: viewtopic.php?p=1295414517#p1295414517
Yes, yes.
I'm starting to use his trading strategy.
He has more trading experiences than I am.


Who is online

Users browsing this forum: alpha24, IBM oBot [Bot], Proximic [Bot], Seznam [Bot] and 66 guests