PureBytes Links
Trading Reference Links
|
Philippe, all is explained within the indicator's code.
Let's take a look at the indicator's engine, the main oscillator:
{ Countback oscillator }
C1:=Ref(C,-1);
x:=Sum((C>C1)*(C-C1),pds)
/Max(Sum(Abs(C-C1),pds),.000001)*100;
Now, break up the main components and plot them in their own window,
so they can be understood *visually*:
C>Ref(C,-1);
C-Ref(C,-1);
Sum((C>Ref(C,-1))*(C-Ref(C,-1)),21);
[ same as : Sum(If(C>Ref(C,-1),C-Ref(C,-1),0),21); ]
Sum(Abs(C-Ref(C,-1)),21);
And so on...
Explanation in plain English: I'll let you work it out.
Philippe, if you don't make an effort to understand MetaStock code,
you will not learn anything new here. Help yourself, and others will
help.
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, Philippe Bereau <p_bereau@xxx>
wrote:
>
> Hi José
>
> Could you please describe exactly the rules of your indicator
> "Countback-type oscillator"?
>
> Why posting a code if you don't explain what you're trying to do
with it!
>
> Kind regards
>
> Phil
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|