|
|||||||||||||||||||
|
|||||||||||||||||||
| Special offer: buy MetaStock (try for free) | Reuters QuoteCenter Real-Time Data (get a free month) | EOD Data |
|
To: Metastockusers[at]yahoogroups.com Date: Sunday, May 22, 2005, 12:31:37 PM Subject: [Metastockusers] Weekly Indicator needed Hi Roy, Could this daily formula be converted into a weekly formula? Hope you can help... Bsetup:=Sum(C Ref(C,-9) >= Ref(C,-13); BCD:=HighestSince(1,Peak(1,Bsetup,.001),(C<=Ref(L,-2)) + PREV); BUY:=BCD-ValueWhen(1,Bsetup,BCD)=13 AND Ref(BCD-ValueWhen(1,Bsetup,BCD)=13,-1)<>1; buy Norman =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From: Roy Larsen To: Metastockusers[at]yahoogroups.com Date: Monday, May 23, 2005, 12:44:08 AM Subject: [Metastockusers] Weekly Indicator needed Hi Norman Try this. I'm not sure that I've treated the Peak() function correctly, bit it appears to just be operating as an Init or IsDefined() function. I've only tested it on one chart and the 6 hits all tally. Hope this is of some help. The weekly timing code could be made much simpler using Peak() with DayofWeek() but the timing could be less accurate in the event of missing data bars. This formula needs "Calendar Week Counter" indicator (search s4t) Code:
all formulas for MetaStock all formulas
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators and systems are submitted by anonymous users. Therefore S4T™ does not take any responsibility for it's quality. If you use any of this information, use it at your own risk. You are responsible for your own trading decisions. Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade. In no case will S4T™ be responsible for your trading gains or losses. |
|
|