PureBytes Links
Trading Reference Links
|
Wiro, I hope you realize that the highest/lowest price of month can only
be truly known at the end of month:
---8<--------------------------
NuMonth:=Month()<>Ref(Month(),-1);
Hi:=HighestSince(1,NuMonth,H);
Lo:=LowestSince(1,NuMonth,L);
Hi;Lo
---8<--------------------------
For hindsight-based month's highs/lows:
---8<------------------------------------
{ Month's High/Low points in retrospect }
NuMonth:=Month()<>Ref(Month(),-1)+(Cum(1)=2);
x:=Mod(Cum(NuMonth),2)*2-1;
y:=Cum(1)>2;
HiPoint:=y*Abs(
Zig(x*(H>=HighestSince(1,NuMonth,H)),2,$))=1;
LoPoint:=y*Abs(
Zig(x*(L<=LowestSince(1,NuMonth,L)),2,$))=1;
{ Month's Highs/Lows in hindsight }
Hi:=HighestSince(1,HiPoint,H);
Lo:=LowestSince(1,LoPoint,L);
{ Plot on price chart }
Hi;Lo
---8<------------------------------------
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, "Wiro Hardy" <wiro.pribadi@xxx>
wrote:
>
> Hello,
> Can anybody help me about this:
>
> I would like to know the formula to find the highest price that has
> occured in this month. I plan to put it to work with Metastock's
> exploration. By knowing this I hope I can write the formula to find
> the lowest price that has ocured in this month and then write my full
> exploration formula.
>
> Thanks for any help.
>
> Best regards,
> Wiro.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Transfer from your equities account.
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|