Rules in the Adx language
A rule is a formula (an expression) that represents a rule of technical analysis. A rule is to be defined as a bullish or bearish rule. When a rule is validated, the signal emitted by the rule is a bullish signal if the rule is bullish or a bearish signal if the rule is bearish.
Bullish rules
set "Rule name" as bullish rule : <expression> explain by "Explanation of the rule"; // comments
Bearish rules
set "Rule name" as bearish rule : <expression> explain by "Explanation of the rule" ;