PureBytes Links
Trading Reference Links
|
hello
I just joined the group, but I have seen Archives from
a years ago where the DiNapoli Osc Predictor was
discussed. I wanted to know if anyone out there was
willing to share any files or information on how to
create the Oscillator Predictor Bands. I have written
something myself, but not quite sure if it is correct.
it takes the Osc value and predicts the price band and
seems to be correct, but wanted to see if someone else
had something more.
Code below
{Indicator: Osciallator Predictor}
Inputs: Length(8), OB(2.5), OS(-2.0);
value1=summation(High,Length-1);
value2 = (OB*Length)+value1;
Value2= value2/(Length-1);
value3=summation(Low,Length-1);
value4 = (OS*Length)+value3;
value4= value4/(Length-1);
plot1(value2,"OB");
plot2(value4,"OS");
|