Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
There are two errors:
1. file \MQL5\Include\SmoothAlgorithms.mqh
...........
enum Smooth_Method
{
MODE_SMA_, //SMA
MODE_EMA_, //EMA
MODE_SMMA_, //SMMA
MODE_LWMA_, //LWMA
MODE_JJMA, //JJMA
MODE_JurX, //JurX
MODE_ParMA, //ParMA
MODE_T3, //T3
MODE_VIDYA, //VIDYA
MODE_AMA //AMA
};
//+------------------------------------------------------------------+
//| Universal smoothing algorithm|
//+------------------------------------------------------------------+
class CXMA
{
public:
<the Smooth_Method declaration has been moved outside the class>
.....
2. MQL5\Indicators\486\schafftrendcycle.mq5
//+-----------------------------------+
//| Indicator input parameters |
//+-----------------------------------+
was :
input Smooth_Method MA_SMethod=MODE_EMA; //Histogram smoothing method
should:
input Smooth_Method MA_SMethod=MODE_EMA_; //Histogram smoothing method
If this is corrected, the indicator is compiled and displayed on the chart.
Thank you.
input Smooth_Method MA_SMethod=MODE_EMA_; //Histogram smoothing method
It doesn't compile. Who has a working version? Send it to me in private