EA31337 / EA31337-indicators-common

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

Oscillator/OsMA support for MQL4 #8

Open kenorb opened 1 year ago

kenorb commented 1 year ago
$ wine .platform/5.0.0.2361/metaeditor64.exe /portable /inc:"MQL5" /compile:"./Oscillator/OsMA.mt5.mq4" /log:CON
./Oscillator/OsMA.mt5.mq4 : information: compiling 'OsMA.mt5.mq4'
MQL5\Indicators\Examples\OsMA.mq5 : information: including 'OsMA.mq5'
MQL5\Include\MovingAverages.mqh : information: including 'MovingAverages.mqh'
MQL5\Indicators\Examples\OsMA.mq5(51,20) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\OsMA.mq5(52,20) : error 199: 'iMA' - wrong parameters count
MQL5\Indicators\Examples\OsMA.mq5(71,19) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\OsMA.mq5(77,15) : error 168: 'BarsCalculated' - function not defined
MQL5\Indicators\Examples\OsMA.mq5(96,7) : error 168: 'CopyBuffer' - function not defined
MQL5\Indicators\Examples\OsMA.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