JeanPaulWall / Publications
Forum
Switching between time frames duplicates the indicator in an EA
I am using a custom indicator within an EA and the code of the EA is as follows: #resource "ATB.ex5" int _atb; int OnInit () { _atb = iCustom ( _Symbol , _Period , "::ATB.ex5" ); if (_atb == INVALID_HANDLE) { return ( INIT_FAILED ); } int subwindow= ( int ) ChartGetInteger ( 0