Mql5 ICustom indicator intergration

 

Hi,

I have an EA than has I custom calls on indicators. I need to sell it to someone but I don't want them to download the indicator. how do I entergrate the indicator into an EA?

The I custum all is as follows

int OnInit()
  {
HAOPEN  = iCustom(NULL,PERIOD_H1,"heiken_ashi",2,3);// open
}

Thanks

 

Use #resource in the EA (to create an indicator).

Scroll down to the 'Working with custom indicators included as resources' section

Documentation on MQL5: MQL5 programs / Resources
Documentation on MQL5: MQL5 programs / Resources
  • www.mql5.com
Resources - MQL5 programs - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: