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

[EquisMetaStock Group] Filter to inadequates cross signals



PureBytes Links

Trading Reference Links

Hi,
How to make a filter in the "Symbols" of the "Expert Advisor" to filter inadequate signals of cross above or below of the a curve? 
Ex:

a1:=Mov(C;8,E); 
a2:=Mov(C,21,E); 
b1:=Ref( Mov(C,100,E) , -50); 
{-----------------------------------}
z1:=Cross(a1,a2);
z2:=Ref(z1,-1); {Buy}
z3:=Cross(a2,a1);
z4:=Ref(z3,-1); {Sell}
{-----------------------------------}
{Filtro}
k1:=if( z2<b1, z2, ???); {so that it gives the signal of purchase below of b1 }
k2:=if( z4>b1, z4, ???); {so that it gives the signal of venda above of b1 }
k1; {Buy}
k2; {Sell}

Thanks for any advice.

[Non-text portions of this message have been removed]





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