this is my EA code:
#property copyright "Copyright 2021, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
#resource "\\Indicators\\ForexTrend_TSL.ex4"
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//---
return(INIT_SUCCEEDED);
}
and this is the indicator:
- 2022.02.04
- www.mql5.com
this is my EA code:
#property copyright "Copyright 2021, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
#resource "\\Indicators\\ForexTrend_TSL.ex4"
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//---
return(INIT_SUCCEEDED);
}
and this is the indicator:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi. when I try to compile my ea ,I have the "unknown resource type" error.
I use the code bellow in my EA:
#resource "\\Indicators\\ForexTrend_TSL.ex4"
I have this problem with the " ForexTrend_TSL "indicator. But other indicators are ok.
I send this indicator too. I appreciate if someone test this indicator and tell me why there is such error with this indicator.