PureBytes Links
Trading Reference Links
|
Charles,
1) Delete any code in Column A, 2) Delete any code in Column B, 3) Copy and paste the code below into the Filter.
{Filter} (Cross(Mov(C, 8,E),Mov( C,13,E)) AND Cross(Mov(C, 13,E),Mov( C,21,E))) OR (Cross(Mov(C, 13,E),Mov( C,21,E)) AND BarsSince(Cross( Mov(C,8,E) ,Mov(C,13, E)))< BarsSince(Cross( Mov(C,13, E),Mov(C, 8,E))));
All the best.
Rob
----- Original Message ---- From: cherotree1 <mass54thcob@xxxxxxxxx> To: equismetastock@xxxxxxxxxxxxxxxx Sent: Wednesday, 9 July, 2008 6:12:25 PM Subject: [EquisMetaStock Group] Re: Triple Moving Average Crossover
Preston, Ron and Rob,
Thank you all for your great suggestions! I looked at all of your input and due to my lack of understanding of a lot of this Metastock stuff, the formula Rob submitted was the one that was easiest for me to understand, and enter into the software; and it works (although with one false signal, which I can live with). I still have a steep learning curve to climb to gain a better understanding of how to program this software to get it to do what I want.
I do have one additional question. When using Rob's suggestion and printing out the results, "ColA" and "ColB" print out with corresponding numbers. How do I eliminate the printing of ColA and ColB and still generate the same results? Thanks again for your great help! Peace!
Charles
--- In equismetastock@ yahoogroups. com, Rob Tinley <gazumped2@x ..> wrote: > > Charles, > Perhaps the following will help. > {Column A} > Cross(Mov(C, 8,E),Mov( C,13,E)) AND > Cross(Mov(C, 13,E),Mov( C,21,E)); > {Column B} > Cross(Mov(C, 13,E),Mov( C,21,E)) AND > BarsSince(Cross( Mov(C,8,E) ,Mov(C,13, E)))< > BarsSince(Cross( Mov(C,13, E),Mov(C, 8,E))); > {Filter} > colA OR colB; > Rob > > > > ----- Original Message ---- > From: cherotree1 <mass54thcob@ ...> > To: equismetastock@ yahoogroups. com > Sent: Monday, 7 July, 2008 7:12:52 PM > Subject: [EquisMetaStock Group] Re: Triple Moving Average Crossover > > >
Preston, > > Thank you for the reply! Of the suggestions that you mentioned, I > have experimented with the "cross" function and I have had success > with it using 2 moving averages but I can't seem to figure out how > to utilize "cross" with 3 MA's (probably related to my lack of > knowledge attempting to write Metastock code!). I have attempted to > use "cross" in the original formula that I have posted in my > original message but I keep receiving errors. Any idea of how I > would incorporate "cross" into my original formula? > > I have not tried your other 2 suggestions yet. I decided to attempt > to tweak the formula I have been working with since I am receiving > the desired results; just not WHEN the crossover occurs. Any > additional assistance from you is appreciated. Peace! > > Charles > > --- In equismetastock@
yahoogroups. com, pumrysh <no_reply@ .> wrote: > > > > Charles, > > > > I can think of several methods that you could use. > > Those being the cross function, barssince function, and the ref > > function. > > > > One of the gurus popularizing multiple moving averages was Daryl > > Guppy. > > An explorer based on his ideas can be found at: > > > > http://trader. online.pl/ MSZ/e-ex- > > Guppy_Multiple_ Moving_Average_ Exploration. html > > > > > > Notice that the exploration uses column D for the present value > and > > column E for yesterdays. > > The exploration then specifically looks for a less than zero value > > for yesterday and a greater than zero value for today. I would > also
> > point out that the exploration uses oscillators but the idea is > still > > the same using moving averages. > > > > > > The cross function is pretty straight forward. > > ColumnD: AB/CROSS > > Cross(Mov(CLOSE, 8,E),Mov( CLOSE,13, E)); > > > > Finally there is the barssince function which will tell you how > many > > bars have elapsed since the event: > > ColumnD: B/Since > > BarsSince(Cross( Mov(CLOSE, 8,E),Mov( CLOSE,13, E))); > > > > Hope this helps, > > > > Preston > > > > > > --- In equismetastock@ yahoogroups. com, "cherotree1" <mass54thcob@ > > > wrote: > > > > > > I am using the following code to identify securities in which 2 > > > shorter term moving averages are above a longer term
moving > average: > > > > > > Col A MOV-8: mov(c,8,e) > > > Col B MOV-13: mov(c,13,e) > > > Col C MOV-21: mov(c,21,e) > > > > > > Filter: > > > colA>colB AND colB>colC > > > > > > > > > The above code DOES give me a list of ALL securities which meet > > that > > > criteria (including columns with the various moving averages > > > printed) but I was attempting to include code which will > identify > > > these securities WHEN they first meet that criteria (a > crossover). > > > Any suggestions on how I would program this into the above > formula > > > would be appreciated. Peace! > > > > > > Charles > > > > > > > > > > Start at the new Yahoo!7
for a better online experience. www.yahoo7.com. au >
Start at the new Yahoo!7 for a better online experience - Start Here.
__._,_.___
__,_._,___
|