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

[EquisMetaStock Group] Indicator Builder



PureBytes Links

Trading Reference Links

Hi guys, I'm learning how to program in Metastock language, and I 
thought it would be a good exercise try to build an indicator that 
plots the highest prices of a stock during the time. The fuction 
Highest do it already, but my aim here is the learning process. 

So, I wrote an algorithm but I not able to write it at Metastock 
language.

Algorithm:

The variable maxclose stores the highest close until until a new 
high is reached.

begin

If c<maxclose

then print maxclose

else maxclose:=c
     print max close

end



I would appriciate if someone could help me.

Thanks.









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> 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/