Hi
I'm trying to publish my EA to the market but the automatic validation gives me an error, in metaeditor its all ok 0 errors and 0 warnings.
Can somebody help me?
Thank you
test on EURUSD,H1 (netting) 2016.04.01 18:59:40 failed instant buy 0.01 EURUSD at 1.13853 [Invalid volume] 2016.04.01 18:59:45 failed instant buy 0.01 EURUSD at 1.13861 [Invalid volume] 2016.04.01 18:59:50 failed instant buy 0.01 EURUSD at 1.13854 [Invalid volume] 2016.04.01 18:59:55 failed instant buy 0.01 EURUSD at 1.13855 [Invalid volume] 2016.04.01 19:00:00 failed instant buy 0.01 EURUSD at 1.13849 [Invalid volume] 2016.04.01 19:00:05 failed instant buy 0.01 EURUSD at 1.13851 [Invalid volume] 2016.04.07 14:13:40 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:13:45 failed instant buy 0.01 EURUSD at 1.13927 [Invalid volume] 2016.04.07 14:13:50 failed instant buy 0.01 EURUSD at 1.13930 [Invalid volume] 2016.04.07 14:13:55 failed instant buy 0.01 EURUSD at 1.13918 [Invalid volume] 2016.04.07 14:14:00 failed instant buy 0.01 EURUSD at 1.13894 [Invalid volume] 2016.04.07 14:14:05 failed instant buy 0.01 EURUSD at 1.13880 [Invalid volume] 2016.04.07 14:21:28 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:21:33 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:21:38 failed instant buy 0.01 EURUSD at 1.13983 [Invalid volume] 2016.04.07 14:21:43 failed instant buy 0.01 EURUSD at 1.13976 [Invalid volume] 2016.04.07 14:21:48 failed instant buy 0.01 EURUSD at 1.13965 [Invalid volume] 2016.04.07 14:21:53 failed instant buy 0.01 EURUSD at 1.13972 [Invalid volume] 2016.04.07 14:23:30 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:23:35 failed instant buy 0.01 EURUSD at 1.13978 [Invalid volume] 2016.04.07 14:23:40 failed instant buy 0.01 EURUSD at 1.13982 [Invalid volume] there are no trading operations
Guess you not ready yet to publish Products to the market.
Fix your code to deal with the errors
Hi
I'm trying to publish my EA to the market but the automatic validation gives me an error, in metaeditor its all ok 0 errors and 0 warnings.
Can somebody help me?
Thank you
test on EURUSD,H1 (netting) 2016.04.01 18:59:40 failed instant buy 0.01 EURUSD at 1.13853 [Invalid volume] 2016.04.01 18:59:45 failed instant buy 0.01 EURUSD at 1.13861 [Invalid volume] 2016.04.01 18:59:50 failed instant buy 0.01 EURUSD at 1.13854 [Invalid volume] 2016.04.01 18:59:55 failed instant buy 0.01 EURUSD at 1.13855 [Invalid volume] 2016.04.01 19:00:00 failed instant buy 0.01 EURUSD at 1.13849 [Invalid volume] 2016.04.01 19:00:05 failed instant buy 0.01 EURUSD at 1.13851 [Invalid volume] 2016.04.07 14:13:40 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:13:45 failed instant buy 0.01 EURUSD at 1.13927 [Invalid volume] 2016.04.07 14:13:50 failed instant buy 0.01 EURUSD at 1.13930 [Invalid volume] 2016.04.07 14:13:55 failed instant buy 0.01 EURUSD at 1.13918 [Invalid volume] 2016.04.07 14:14:00 failed instant buy 0.01 EURUSD at 1.13894 [Invalid volume] 2016.04.07 14:14:05 failed instant buy 0.01 EURUSD at 1.13880 [Invalid volume] 2016.04.07 14:21:28 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:21:33 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:21:38 failed instant buy 0.01 EURUSD at 1.13983 [Invalid volume] 2016.04.07 14:21:43 failed instant buy 0.01 EURUSD at 1.13976 [Invalid volume] 2016.04.07 14:21:48 failed instant buy 0.01 EURUSD at 1.13965 [Invalid volume] 2016.04.07 14:21:53 failed instant buy 0.01 EURUSD at 1.13972 [Invalid volume] 2016.04.07 14:23:30 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:23:35 failed instant buy 0.01 EURUSD at 1.13978 [Invalid volume] 2016.04.07 14:23:40 failed instant buy 0.01 EURUSD at 1.13982 [Invalid volume] there are no trading operations
Hello,
can use a function like this...
//==========================================================================================================================================================================================================// //Normalize Lots //==========================================================================================================================================================================================================// double NormalizeLot(double LotsSize) { //--------------------------------------------------------------------- if(IsConnected()) { return(MathMin(MathMax((MathRound(LotsSize/MarketInfo(Symbol(),MODE_LOTSTEP))*MarketInfo(Symbol(),MODE_LOTSTEP)),MarketInfo(Symbol(),MODE_MINLOT)),MarketInfo(Symbol(),MODE_MAXLOT))); } else { return(LotsSize); } //--------------------------------------------------------------------- }

- 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
I'm trying to publish my EA to the market but the automatic validation gives me an error, in metaeditor its all ok 0 errors and 0 warnings.
Can somebody help me?
Thank you
test on EURUSD,H1 (netting) 2016.04.01 18:59:40 failed instant buy 0.01 EURUSD at 1.13853 [Invalid volume] 2016.04.01 18:59:45 failed instant buy 0.01 EURUSD at 1.13861 [Invalid volume] 2016.04.01 18:59:50 failed instant buy 0.01 EURUSD at 1.13854 [Invalid volume] 2016.04.01 18:59:55 failed instant buy 0.01 EURUSD at 1.13855 [Invalid volume] 2016.04.01 19:00:00 failed instant buy 0.01 EURUSD at 1.13849 [Invalid volume] 2016.04.01 19:00:05 failed instant buy 0.01 EURUSD at 1.13851 [Invalid volume] 2016.04.07 14:13:40 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:13:45 failed instant buy 0.01 EURUSD at 1.13927 [Invalid volume] 2016.04.07 14:13:50 failed instant buy 0.01 EURUSD at 1.13930 [Invalid volume] 2016.04.07 14:13:55 failed instant buy 0.01 EURUSD at 1.13918 [Invalid volume] 2016.04.07 14:14:00 failed instant buy 0.01 EURUSD at 1.13894 [Invalid volume] 2016.04.07 14:14:05 failed instant buy 0.01 EURUSD at 1.13880 [Invalid volume] 2016.04.07 14:21:28 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:21:33 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:21:38 failed instant buy 0.01 EURUSD at 1.13983 [Invalid volume] 2016.04.07 14:21:43 failed instant buy 0.01 EURUSD at 1.13976 [Invalid volume] 2016.04.07 14:21:48 failed instant buy 0.01 EURUSD at 1.13965 [Invalid volume] 2016.04.07 14:21:53 failed instant buy 0.01 EURUSD at 1.13972 [Invalid volume] 2016.04.07 14:23:30 failed instant buy 0.01 EURUSD at 1.13980 [Invalid volume] 2016.04.07 14:23:35 failed instant buy 0.01 EURUSD at 1.13978 [Invalid volume] 2016.04.07 14:23:40 failed instant buy 0.01 EURUSD at 1.13982 [Invalid volume] there are no trading operations