Analysis in the Adx language


In the Adx language, the Analyze allows to group the rules of technical analysis by topic.

A rule is defined as a bullish or bearish rule, when a rule is validated, the signal is a bullish signal if the rule is bullish or a bearish signal if the rule is bearish.

Structure


analyze "Anlyze Name" :
      //Parameters declaration
begin
      // Body of the analysis
      // Declaration of variables and rules
end

Parameters


An analysis can use parameters, this makes it possible to create generic analyses that can be run with different values.

param : parameterName = <expression> "Parameter explanation" ; // Comments

Variables


var : variableName1 = <expression>, variableName2 = <expression> ; // Comments