Discussion of article "Calculating mathematical expressions (Part 2). Pratt and shunting yard parsers" - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
From the parser's point of view, a variable cannot have 2 values: bid and ask.
This problem has been solved. I need a list of variables from the expression.
Forum on trading, automated trading systems and testing trading strategies.
Discussion of the article "Calculating mathematical expressions (Part 2). Pratt and sorting station parsers"
fxsaber, 2020.09.03 09:11
The main difficulty, is to determine the names of all the variables in the expression. So that you can then write something similar.
TestSuiteEvaluator evaluator("EURUSD=1.5;GBPUSD=2.5;AUDUSD=5");