[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EquisMetaStock Group] Incorporating daily & weekly criteria into same exploration - HELP!



PureBytes Links

Trading Reference Links

There is only two ways of incorporating weekly and daily into one the one scan.

 

These are:

1.                Use Roy and Jose’s excellent code for creating daily into a weekly equivalent.  Roy posted a Moving Average example a couple of weeks back, so you may want to check the archives.

2.                Convert the moving average into a weekly proxy. The very close equivalent of a 30 week moving average is a 180 day moving average on a daily chart.  

 

Hope this helps.

 

Regards,

Tim


From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of awlaimeng
Sent: Wednesday, 20 July 2005 15:02
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Incorporating daily & weekly criteria into same exploration - HELP!

 

I am trying to create an exploration and run it in DAILY periodicity
mode but with a combination of criteria in daily & weekly periodicity.
Basically I need the last 2 consecutive DAILY candles to be black and
the 30-WMA WEEKLY moving average to be moving upwards.

Black() AND Ref(Black(),-1) {daily periodicity)
AND
Mov(C,30,W)>Ref(Mov(C,30,W),-1) {weekly periodicity}
AND Ref(Mov(C,30,W),-1)>Ref(Mov(C,30,W),-2) {weekly periodicity}

My question – how do I incorporate both the daily & weekly criteria in
the same exploration? Any suggestion will be much appreciated.

Best regards,
ALM










YAHOO! GROUPS LINKS