Check trades count compilation errors
-
Check trades count generates the following incorrect MQL:
77 extern string inp19="(19) Check BUY trades count MAX";
78 extern sign inp19_Compare=<=; //
79 extern int inp19_CompareCount=20; //
80
81 extern string inp20="(20) Check SELL trades count MAX";
82 extern sign inp20_Compare=<=; //
83 extern int inp20_CompareCount=20; //1170 if (countinp19_CompareCompareCount) {block9(19);} else {/* Yellow output /}
1205 if (countinp20_CompareCompareCount) {block13(20);} else {/ Yellow output */}along with the following compilation errors:
'sign' - declaration without type line 78
'sign' - declaration without type line 82
'countinp19_CompareCompareCount' - undeclared identifier line 1170
'countinp20_CompareCompareCount' - undeclared identifier line 1205What should the lines with errors actually say?
-
Simply uncheck the "Compare" parameter. And use those checkboxes only when you want to quickly optimize some parameter. For real input parameters I will recommend to use the "Constants"