【ADXRClassic】
[code]Inputs: MyRange (NumericSimple);Variables: var0(0);
var0 = 0;
If CurrentBar < MyRange Then Begin
If CurrentBar = 1 Then
var0 = ADXClassic(MyRange)
Else
var0 = (ADXClassic(MyRange) + ADXClassic(MyRange)[CurrentBar]) * .5;
End
Else
var0 = (ADXClassic(MyRange) + ADXClassic(MyRange)[MyRange - 1]) * .5;
ADXRClassic = IntPortion(var0);
[/code]
页:
[1]