EA31337 / EA31337-indicators-common

Collection of common indicators used for EA31337 strategies.
6 stars 3 forks source link

Gator/MACD support for MQL4 #10

Open kenorb opened 1 year ago

kenorb commented 1 year ago
$ wine .platform/5.0.0.2361/metaeditor64.exe /portable /inc:"MQL5" /compile:"./Oscillator/Gator.mt5.mq4" /log:CON
./Oscillator/Gator.mt5.mq4 : information: compiling 'Gator.mt5.mq4'
MQL5\Indicators\Examples\Gator.mq5 : information: including 'Gator.mq5'
MQL5\Indicators\Examples\Gator.mq5(69,18) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\Gator.mq5(70,19) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\Gator.mq5(71,18) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\Gator.mq5(119,19) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\Gator.mq5(125,15) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\Gator.mq5(131,15) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\Gator.mq5(150,7) : error 168: 'CopyBuffer' - function not defined
MQL5\Indicators\Examples\Gator.mq5(157,7) : error 168: 'CopyBuffer' - function not defined
MQL5\Indicators\Examples\Gator.mq5(164,7) : error 168: 'CopyBuffer' - function not defined
MQL5\Indicators\Examples\Gator.mq5(186,12) : error 125: 'i' - variable already defined
MQL5\Indicators\Examples\Gator.mq5 : information: info    see previous declaration of 'i'
Result: 10 errors, 0 warnings
$ wine .platform/5.0.0.2361/metaeditor64.exe /portable /inc:"MQL5" /compile:"./Oscillator/MACD.mt5.mq4" /log:CON
./Oscillator/MACD.mt5.mq4 : information: compiling 'MACD.mt5.mq4'
MQL5\Indicators\Examples\MACD.mq5 : information: including 'MACD.mq5'
MQL5\Include\MovingAverages.mqh : information: including 'MovingAverages.mqh'
MQL5\Indicators\Examples\MACD.mq5(51,20) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\MACD.mq5(52,20) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\MACD.mq5(71,19) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\MACD.mq5(77,15) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\MACD.mq5(96,7) : error 168: 'CopyBuffer' - function not defined
MQL5\Indicators\Examples\MACD.mq5(104,7) : error 168: 'CopyBuffer' - function not defined
MQL5\Include\MovingAverages.mqh(111,15) : error 125: 'i' - variable already defined
MQL5\Include\MovingAverages.mqh : information: info    see previous declaration of 'i'
MQL5\Include\MovingAverages.mqh(154,15) : error 125: 'i' - variable already defined
MQL5\Include\MovingAverages.mqh : information: info    see previous declaration of 'i'
MQL5\Include\MovingAverages.mqh(247,15) : error 125: 'i' - variable already defined
MQL5\Include\MovingAverages.mqh : information: info    see previous declaration of 'i'
MQL5\Include\MovingAverages.mqh(301,15) : error 125: 'i' - variable already defined
MQL5\Include\MovingAverages.mqh : information: info    see previous declaration of 'i'
Result: 10 errors, 0 warnings