Discussion of article "Calculating mathematical expressions (Part 2). Pratt and shunting yard parsers"

 

New article Calculating mathematical expressions (Part 2). Pratt and shunting yard parsers has been published:

In this article, we consider the principles of mathematical expression parsing and evaluation using parsers based on operator precedence. We will implement Pratt and shunting-yard parser, byte-code generation and calculations by this code, as well as view how to use indicators as functions in expressions and how to set up trading signals in Expert Advisors based on these indicators.

If you launch the EA in the Strategy Tester, the result will most likely be not very good. However, what's important, is that the EA trades and trading is managed by parsers. They do not give ready-made profitable systems but provide and additional tool for finding strategies.

An example of trading using signals calculated by expressions

An example of trading using signals calculated by expressions

Author: Stanislav Korotky

Reason: