Based on the request.
https://fxcodebase.com/code/viewtopic.php?f=38&t=73682The indicator repaints a lot and is hard to use in an EA
the signals can be something like this:
Buy
if (iCustom(NULL, 0, file_custom_indicator, 6, 1) != 0) { return true; }
return false;
Sell
if (iCustom(NULL, 0, file_custom_indicator, 7, 1) != 0) { return true; }
return false;