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

[amibroker] EXploration help



PureBytes Links

Trading Reference Links

Hi
 
I need a exploration for following condition

buy
1- weighted MA 5 close > WMA6 open
2- close > wma(20)
3- ADX > 20 with +DI >-DI
4- Kstoch(8,3)cross  above 40

sell
1- weighted MA 5 close < WMA6 open
2- close < wma(20)
3- ADX > 20 with +DI <-DI
4- Kstoch(8,3)cross  below 60

AB Code
//Momemtum Method

//Momemtum Method

Cond1= WMA(5,C)>WMA(O,6) AND ADX(14)>20 AND PDI(14)>MDI(14) AND Cross
(StochK(8,3),40) AND C>WMA(C,20);
Cond2= WMA(5,C)<WMA(O,6) AND ADX(14)>20 AND PDI(14)<MDI(14) AND Cross
(60,StochK(8,3)) AND C<WMA(C,20);
Buy=IIf(Cond1 ,1 ,0);
Sell=IIf(Cond2 ,1,0);
Filter =1;
AddColumn( Buy, "Bullish", 1 );
AddColumn( Sell, "Bearish", 1 );

I have coded for this as abive but there are no signals generated 
Can it be altered any way to genetrade signals . Advise appreciated

Regards





------------------------ 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/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/