should codify that:
ADX indicator if the tilt increases, beginning to work. I wrote:
# Region Calculations
private double Value1 ()
(
return (ADX (30) [0] - ADX (30) [1]) / ADX (30) [1];
)
private double Value1B ()
(
return (ADX (30) [1] - ADX (30) [2]) / ADX (30) [2];
)
Then:
# Region OrderRouting
private void ManageOrder ()
(
if (ADX (30) [0]! = 0 & & ADX (30) [1]! = 0)
Value1 ();
double level 1;
if (ADX (30) [1]! = 0 & & ADX (30) [2]! = 0)
Value1B ();
double level1B;
Okay or is there a better way?
Thank you.
Ciao.
Italy

Comment