PureBytes Links
Trading Reference Links
|
I have an
indicator. If the High of the indicator is > 80 for the day, I want
to:
<SPAN
class=940010317-21072003>
Calculate:
UP = High - Open;
<SPAN
class=940010317-21072003>
Then I want to
calculate a moving average of UP. But I only want a moving average of UP
data when my indicator is > 80. If indicator for the day is not
>80, UP should not be added to the moving average.
<SPAN
class=940010317-21072003>
How do I do
this?
<SPAN
class=940010317-21072003>
<SPAN
class=940010317-21072003>Thanks,
<SPAN
class=940010317-21072003>
<SPAN
class=940010317-21072003>
<FONT face="Vladimir Script" color=#000080
size=5>Rick
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|