Position & Risk
Size exposure using equity, stop distance and actual specifications.
Search official trade, runtime and compilation codes and warnings. Calculate risk using actual contract specifications.
Size exposure using equity, stop distance and actual specifications.
Estimate margin, tick value and price-move value.
A mathematical scenario, not a forecast of strategy returns.
Calculations run locally in your browser. Inputs are not uploaded or saved. Terminal and broker margin rules apply; estimates exclude slippage, commission and swap.
1171 matching records
| Platform / category | Code / constant | Official meaning | Troubleshooting |
|---|---|---|---|
| MT4 · Compiler warnings | 45 | Difference between the signs of operands in the operations of comparison. Example: (char) c1> (uchar) c2 | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 46 | Problems with function importing - declaration of #import is required or import of functions is closed | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 47 | Too large description - extra characters will not be included in the executable file | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
| MT4 · Compiler warnings | 48 | The number of indicator buffers declared is less than required | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT4 · Compiler warnings | 49 | No color to plot a graphical series in the indicator | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT4 · Compiler warnings | 50 | No graphical series to draw the indicator | YI GOLD suggestionsVerify symbol, timeframe, indicator handle, BarsCalculated and copied element counts. Wait for data availability rather than filling missing prices with zeros. MetaQuotes |
| MT4 · Compiler warnings | 51 | 'OnStart' handler function not found in the script | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 52 | 'OnStart' handler function is defined with wrong parameters | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compiler warnings | 53 | 'OnStart' function can be defined only in a script | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 54 | 'OnInit' function is defined with wrong parameters | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compiler warnings | 55 | 'OnInit' function is not used in scripts | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 56 | 'OnDeinit' function is defined with wrong parameters | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compiler warnings | 57 | 'OnDeinit' function is not used in scripts | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 58 | Two 'OnCalculate' functions are defined. OnCalculate () at one price array will be used | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT4 · Compiler warnings | 59 | Overfilling detected when calculating a complex integer constant | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 60 | Probably, the variable is not initialized . | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 61 | This declaration makes it impossible to refer to the local variable declared on the specified line | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 62 | This declaration makes it impossible to refer to the global variable declared on the specified line | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 63 | Cannot be used for static allocated array | YI GOLD suggestionsCheck length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access. MetaQuotes |
| MT4 · Compiler warnings | 64 | This variable declaration hides predefined variable | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 65 | The value of the expression is always true / false | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 66 | Using a variable or bool type expression in mathematical operations is unsafe | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 67 | The result of applying the unary minus operator to an unsigned ulong type is undefined | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 68 | The version specified in the #property version property is unacceptable for the Market section; the correct format of #property version id "XXX.YYY" | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 69 | Empty controlled statement found | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 70 | Invalid function return type or incorrect parameters during declaration of the event handler function | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compiler warnings | 71 | An implicit cast of structures to one type is required | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 72 | This declaration makes direct access to the member of a class declared in the specified string impossible. Access will be possible only with the scope resolution operation :: | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 73 | Binary constant is too big, high-order digits will be truncated | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 74 | Parameter in the method of the inherited class has a different const modifier, the derived function has overloaded the parent function | YI GOLD suggestionsCompare each argument and reference mode with the official signature. Validate ranges and preserve relevant failure context. MetaQuotes |
| MT4 · Compiler warnings | 75 | Negative or too large shift value in shift bitwise operation , execution result is undefined | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 76 | Function must return a value | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 77 | void function returns a value | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 78 | Not all control paths return a value | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 79 | Expressions are not allowed on a global scope | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 80 | Check operator precedence for possible error; use parentheses to clarify precedence | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 81 | Two OnCalCulate() are defined. OHLC version will be used | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 82 | Struct has no members, size assigned to 1 byte | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 83 | Return value of the function should be checked | YI GOLD suggestionsReview the warning line, types, initialization and return values in MetaEditor. Evaluate runtime consequences and correct the warning even when compilation succeeds. MetaQuotes |
| MT4 · Compiler warnings | 84 | Resource indicator is compiled for debugging. That slows down the performance. Please recompile the indicator to increase performance | YI GOLD suggestionsCheck permitted terminal sandbox paths, names, access flags, formats and handles. Record open failures without granting permissive directory access. MetaQuotes |
Official meanings and YI GOLD suggestions are presented separately. References are verified during version builds; page visits do not fetch external sites.