Page 335 of 339

Re: Indicators with ON/OFF buttons

Posted: Tue Feb 20, 2024 9:36 am
by saishala
maroka wrote: Tue Feb 20, 2024 7:11 am Please which volume indicator do you make use of?
I Learn to trade with the full package Hawkeye.

I Love better volume candles old package but I just use the High volume candles. (Not now)

I'm a real believer of Waddah Attar. (Is always near...)

I Trust Sibbets

And My Actual Volume is Volume Pixel, Profile levels and Drag and Drop Volume Profile.

And ATS ( OBLIGATORY ) with Weiss wave is the bread now (Thanks To Dmnik)

All those indicators can be found here at Forex Station.

I trade between Ranges of Volume (Easily found here)

And of course all of that is not needed all the time.

that always have been the drill.
and that always will be the drill.

Try to Become Wise in Volume and Standard Deviation: study Market Structure, Liquidity Pools and Volume AGAIN. ( Better Real them Tick )

Always

Re: Indicators with ON/OFF buttons

Posted: Tue Feb 20, 2024 10:25 am
by brasciolo
Fibtree wrote: Mon Oct 09, 2023 5:36 am Hi - I can not program, but had these indicators made for me (edited the one in chat gpt for x and y offput). Perhaps they can be of use. The one is a load any indicator buttons, and the other is load template buttons. I do not know how to post here. If anybody can add buttons to TTM candles would be awesome.
Hi, Template_switcher_2.mq4 works perfectly but there is a small bug. When you press any of the buttons, it changes template correctly, but then the indicator crashes and disappears. Can someone take a look at it please? Thank you

Re: Indicators with ON/OFF buttons

Posted: Tue Feb 20, 2024 5:11 pm
by dmnik
Please add a button to this indicator. Thank you!

Re: Indicators with ON/OFF buttons

Posted: Wed Feb 21, 2024 6:20 am
by kvak
dmnik wrote: Tue Feb 20, 2024 5:11 pm Please add a button to this indicator. Thank you!
Someone already asked for it here, but I am not able......

Re: Indicators with ON/OFF buttons

Posted: Wed Feb 21, 2024 8:23 pm
by dmnik
kvak wrote: Wed Feb 21, 2024 6:20 am Someone already asked for it here, but I am not able......
I have similar versions with a button but I need this WRB-Hidden-Gap-Improved-2.1! I tried to do it myself but it didn’t work out for me, I wanted to drag parts of the code from other indicators into this one but it didn’t work out for me, I didn’t have enough experience)))
Here are similar indicators, maybe you can do it!

Re: Indicators with ON/OFF buttons

Posted: Fri Feb 23, 2024 6:51 pm
by ixion700
dmnik wrote: Wed Feb 21, 2024 8:23 pm I have similar versions with a button but I need this WRB-Hidden-Gap-Improved-2.1! I tried to do it myself but it didn’t work out for me, I wanted to drag parts of the code from other indicators into this one but it didn’t work out for me, I didn’t have enough experience)))
Here are similar indicators, maybe you can do it!
With my dumb friend ChatGPT we tried and failed to solve the button issue, we both very sorry:). Anyway this part of info ChatGPT provided maybe useful:

"The warning indicates that there's a code path where the function does not return a value. In the checkHG function, the issue arises because the function signature specifies a return type of void, indicating that the function does not return anything. However, in one of the conditional branches, the function expects to return early, which conflicts with the void return type.
To resolve this warning, you have a couple of options:
Change the function signature to return a boolean value: If the function needs to return a value indicating success or failure, you can change the return type to bool and return true or false accordingly.
Modify the function logic to ensure that it always returns within the void context: If the function doesn't need to return a value, you can adjust the logic to ensure that it always completes execution without any early returns."

regards.

Re: Indicators with ON/OFF buttons

Posted: Fri Feb 23, 2024 10:25 pm
by dmnik
ixion700 wrote: Fri Feb 23, 2024 6:51 pm With my dumb friend ChatGPT we tried and failed to solve the button issue, we both very sorry:). Anyway this part of info ChatGPT provided maybe useful:

"The warning indicates that there's a code path where the function does not return a value. In the checkHG function, the issue arises because the function signature specifies a return type of void, indicating that the function does not return anything. However, in one of the conditional branches, the function expects to return early, which conflicts with the void return type.
To resolve this warning, you have a couple of options:
Change the function signature to return a boolean value: If the function needs to return a value indicating success or failure, you can change the return type to bool and return true or false accordingly.
Modify the function logic to ensure that it always returns within the void context: If the function doesn't need to return a value, you can adjust the logic to ensure that it always completes execution without any early returns."

regards.
Yes! I know that GPT chat is very stupid for MT4!
I use GPT chat only for tradingview to fix errors and update non-working Pine scripts!

Re: Indicators with ON/OFF buttons

Posted: Fri Feb 23, 2024 11:23 pm
by SijjiN
dmnik wrote: Wed Feb 21, 2024 8:23 pm I have similar versions with a button but I need this WRB-Hidden-Gap-Improved-2.1! I tried to do it myself but it didn’t work out for me, I wanted to drag parts of the code from other indicators into this one but it didn’t work out for me, I didn’t have enough experience)))
Here are similar indicators, maybe you can do it!
Hi Buddy,

This was the best I could get.
Try it, and see if it works ok for you!
:D

( MTF functionality also working with Button )

Re: Indicators with ON/OFF buttons

Posted: Sat Feb 24, 2024 2:53 am
by ixion700
SijjiN wrote: Fri Feb 23, 2024 11:23 pm Hi Buddy,

This was the best I could get.
Try it, and see if it works ok for you!
:D

( MTF functionality also working with Button )
Hello. Look back bar count doesn't work.

Re: Indicators with ON/OFF buttons

Posted: Sat Feb 24, 2024 10:58 am
by SijjiN
ixion700 wrote: Sat Feb 24, 2024 2:53 am Hello. Look back bar count doesn't work.
I think I managed to fix it, now it seems to be working fine for me here.

Test to see if it works at your end.

:D