iCustom for Legacy Indicator

 
I do not understand most coding issues. I have unsuccessfully tried to create an EA using the Legacy indicator (attached), but I am completely baffled about how to code iCustom for the Legacy indicator. Is there a simple way to do this?
Reason: