Attachments forums

List of attachments posted on this forum.


All files on forums: 159928

Re: Indicators with ON/OFF buttons

Banzai, Mon Sep 06, 2021 3:37 am

kvak wrote: Sun Sep 05, 2021 5:18 am Hi Banzai.
I trying button too.I Have bug, when is off and change timeframe or symbol button switch to on...maybe find solution Banzai?
Indicator hawe MTF and i added auto adjust for candles...
If we can convert the MTF functions to the new format as in "Hama Jurik mtf.mq4",
then we can make MTF buttons to work about 99%.

The new format has about one line:

Code: Select all

#define _mtfCall(_buff,_ind) iCustom(NULL,TimeFrame,indicatorFileName,PERIOD_CURRENT,MaPeriod,MaMetod,Step,BetterFormula,jurik,Length,Phase,alertsOn,alertsOnCurrent,alertsMessage,alertsSound,alertsEmail,_buff,_ind)
Attached are three files so you can see the codes to compare:
--------------------------------------------------------------------------
Download:
Hama Jurik mtf BT (1).mq4 (this is your mod)
All files in topic