Issue including a free indicator from market as a resource: cloud protection

 

Hi all,

I tried to find an answer to my problem but couldn't find any.

Here is the issue:

I launched a free indicator ("GT Indicator").

Now, I would like to launch a Utility which accesses the Indicator. I tried to add the Indicator as a resource:

#resource "\\Indicators\\Market\\GT Indicator.ex5"

#include <Trade\Trade.mqh>
#include <Trade\SymbolInfo.mqh>

CTrade         trade;
CSymbolInfo    m_symbol;

//input parameters defined

//variables defined

int OnInit()
  {
   ResetLastError();

   GT_handle = iCustom(NULL, PERIOD_H1, "::Indicators\\Market\\GT Indicator.ex5");

It works on my computer but when I try to upload it, I get the following message:

The file resources contain an indicator with the MQL5 Cloud Protection

I am not aware that I compiled with MQL5 file protection.

I tried to simply compile and upload a new version of the indicator....didn't work.

I tried to create a completely new file and only compile...didn't work.


Any ideas how to overcome this issue?


Thanks in advance!

Alex

Documentation on MQL5: MQL5 programs / Resources
Documentation on MQL5: MQL5 programs / Resources
  • www.mql5.com
Programs in MQL5 allow working with sound and graphic files: PlaySound() plays a sound file; ObjectCreate() allows creating user interfaces using...