I been using the Universal Oscillator basically since it first came out and have left the default bandedge setting at 20. However I would like to be adjust the bandedge to 50, as was demonstrated in S&C. Unfortunately, when i do this, all I get is a bunch of up and down zigzags, which almost looks like a 2 period rsi or something. Any ideas why this is happening?
Announcement
Collapse
No announcement yet.
Universal Oscillator by John Ehlers
Collapse
X
-
assjls
Replace line 78 which is currently as follows
b1 = 2*a1*Math.cos(1.414*180/BandEdge);
with the following
b1 = 2*a1*Math.cos((1.414*180/BandEdge)*Math.PI/180);
That should correct the issue
Alex
Originally posted by assjls View PostI been using the Universal Oscillator basically since it first came out and have left the default bandedge setting at 20. However I would like to be adjust the bandedge to 50, as was demonstrated in S&C. Unfortunately, when i do this, all I get is a bunch of up and down zigzags, which almost looks like a 2 period rsi or something. Any ideas why this is happening?
-
Comment