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

[EquisMetaStock Group] Re: reversal days



PureBytes Links

Trading Reference Links

------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.

To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5285
------------------------------------------------------------------------

THANKS A LOT!

I will study that book!
And thanks for those links too!


--- In equismetastock@xxxx, grizz003 <no_reply@xxxx> wrote:
> > I donīt know how to write in the Metastock language 
> 
> Go to Files Box on the left of this message board and download the 
> FormulaBook.ZIP. This is a great tutorial on the Metastock Formula 
> Language.
> > 
> > So it would look something like this:
> > IF THIS DAY HIGH IS HIGHER THAN YESTERDAY HIGH AND IF THIS DAY 
> > CLOSE  IS LOWER THAN YESTERDAY CLOSE --> SELL
> >
> > IF THIS DAY LOW IS LOWER THAT YESTERDAY LOW AND THIS DAY CLOSE IS 
> > HIGHER THAT YESTERDAY CLOSE --> BUY
> > 
> 
> One approach is to use the Reference( array, periods ) function.
>   Ref(high,-1) {gives yesterday's high}
>   Ref(low,-1)  { gets yesterday's close }
>   high = todays high from the ARRAY
> Then try setting up variables called "SELL," "Buy"
> Your formula might look something like this:
>   SellIt := high>ref(high,-1)and close<ref(close,-1);
>   BuyIt := Low<ref(low,-1)and close>ref(close,-1);
> 
> Now we need a way to display your formula as a custom indicator to 
> see if it works as we think it should. For this, we need to display 
a 
> +1 to buy or -1 to sell or a zero to do nothing. The IF(statement 
or 
> formula,[then},{else}) does a nice job at this. We add these 2 
lines 
> to your formulas...
>   IF(SellIt,{then}-1,{else}0);
>   IF(BuyIt,{then}+1,{else}0);
> 
> The above 4 lines in a custom indicator and the tutorial will get 
you 
> on your way. Also visit these 2 web sites for more on formulas to 
do 
> everything:
>   http://www.guppytraders.com/Metastock%20Formulas/formula%
20index.htm
>   http://eis.pl/kr/AFM/index-en.html
> 
> Grizz


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTmEAA/jd3IAA/BefplB/TM
---------------------------------------------------------------------~->

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/