Rank: Newbie
Groups: Registered, Registered Users Joined: 9/15/2005(UTC) Posts: 6
|
Hello!
Does anyone know what is behind the forecastosc function? I would like to se how it is calculated.
Many thanks!
D
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
This is my guess for MetaStock's default ForecastOsc(C,5):
[code:1:3a7093cef0]
pds:=Input("Time periods",1,260,5)+1;
pds1:=Input("Signal periods",1,260,3);
FcastOsc:=(C/LinearReg(C,pds)-1)*200;
0;
Mov(FcastOsc,pds1,E);
FcastOsc
[/code:1:3a7093cef0]
jose '-)
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 9/15/2005(UTC) Posts: 6
|
Thanks Jose!
I tried it but it brings different results compared to forecastosc :(
Do you have any other idea?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
The question is: how different?
Plot the two indicators in the same window, and you'll see that the differences between the two are microscopic.
Try not to get hung up on minuscule details, but rather, ponder as to why you would want to use this oscillator - and then think of a better way to build it.
jose '-)
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.