Hello Friends
Can anybody guide me about how to use scanning future of AmiBroker?
If I want to scan list of stocks matching following conditions:
1. ADX is >30 and rising
2. Last bar was streddling 20EMA ie. H>20EMA>L
2. Close > previous close and L > 20EMA
Sudesh
Can anybody guide me about how to use scanning future of AmiBroker?
If I want to scan list of stocks matching following conditions:
1. ADX is >30 and rising
2. Last bar was streddling 20EMA ie. H>20EMA>L
2. Close > previous close and L > 20EMA
Sudesh
If you want all the above conditions to be met, then the AFL is:
Buy = ADX(14) > 30 AND PDI(14) > MDI(14)
AND H > EMA(C,20) AND EMA(C,20) > L
AND C > Ref(C,-1) AND L > EMA(C,20);
AND H > EMA(C,20) AND EMA(C,20) > L
AND C > Ref(C,-1) AND L > EMA(C,20);
Praveen.