How to verify the correctness of the custom stock formula?

excuse me: how to verify the correctness of the custom stock formula?

for example, the following multi-line content, including assignment, function, and compound calculation:

BOLL:MA (CLOSE,M);
UB:BOLL+2*STD (CLOSE,M);
LB:BOLL-2*STD (CLOSE,M);

if there is an error in the content of the validation, you can return the error location (number of rows and columns) and error type.

Aug.11,2021

this is McGrammar. You need to do a parser of Mai Grammar.

you can refer to
h5 syntax executor Demo

Code address: https://github.com/jones2000/.

Menu