Re: XU-ADR D1 with New Button System
Posted: Wed Jul 05, 2023 12:53 am
Hi all,
The ON/OFF button of the XU-ADR D1 button 1.01.mq4 indicator found here attach/file/3450277 was conflicting with other indicators with on/off buttons so I created my own ON/OFF button system so I'm sharing it with everyone so coders can use this instead. I took pieces of code from banzai and other coders to make this. This ON/OFF button system doesn't use GlobalVariables with the GlobalVariableSet and GlobalVariableGet functions that write to your disks which is not the most efficient thing to do especially if you use frequent iCustom calls to the indicator. If you use this button system with indicators that draw buffer data then just look for the comments // Uncomment the line below for indicators that draw buffer data and uncomment those lines. I also added a showPrevHiLolines option to the ADR indicator.
So here is my version below of the XU-ADR D1 button 1.01 indicator with my button system called UT_XU-ADR D1_1.01_BT.
Edited:
I removed the UT_XU-ADR D1_1.01_BT.mq4 attachment from this message above because I just discovered the Jurik Bands BT indicator on my hard drive from Forex-station.com that already provides a much better on/off button system than I did and it also doesn't use GlobalVariables. For details on an update to the UT_XU-ADR D1_1.01_BT indicator and to get the Jurik Bands BT indicator, see my message at: viewtopic.php?p=1295517679#p1295517679
The ON/OFF button of the XU-ADR D1 button 1.01.mq4 indicator found here attach/file/3450277 was conflicting with other indicators with on/off buttons so I created my own ON/OFF button system so I'm sharing it with everyone so coders can use this instead. I took pieces of code from banzai and other coders to make this. This ON/OFF button system doesn't use GlobalVariables with the GlobalVariableSet and GlobalVariableGet functions that write to your disks which is not the most efficient thing to do especially if you use frequent iCustom calls to the indicator. If you use this button system with indicators that draw buffer data then just look for the comments // Uncomment the line below for indicators that draw buffer data and uncomment those lines. I also added a showPrevHiLolines option to the ADR indicator.
So here is my version below of the XU-ADR D1 button 1.01 indicator with my button system called UT_XU-ADR D1_1.01_BT.
Edited:
I removed the UT_XU-ADR D1_1.01_BT.mq4 attachment from this message above because I just discovered the Jurik Bands BT indicator on my hard drive from Forex-station.com that already provides a much better on/off button system than I did and it also doesn't use GlobalVariables. For details on an update to the UT_XU-ADR D1_1.01_BT indicator and to get the Jurik Bands BT indicator, see my message at: viewtopic.php?p=1295517679#p1295517679