[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A/D Line code



PureBytes Links

Trading Reference Links

A 3/29 post requested code for A/D line. This has worked for me:

Inputs: Prime(10000), Price1 (Close of data1), Price2 (Close of data2);
Var: ADLine(0);

IF CurrentBar = 1 then ADLine = Prime;

ADLine = ADLine + Price1 - Price2;

Plot1(ADLine,"A/D line");

I don't know if that's any different than a previous post since I don't do
EL myself.

FPI