Help requierd..

#1
Dear member please help me to write afl of Given condition with scan

cond 1 = 2 nd candle open is greater then 1st candle close
cond 2 = 2 nd candle open is less then 1st candle high

cond 3= 2 nd candle close is greater then 1st candle close
cond 4 2 nd candle close is less then 1st candle high

cond 4= 3 rd candle open is greater then 2nd candle close
cond 5 = 3 rd candle open is less then 2nd candle high

cond 6= 3 rd candle close is greater then 2nd candle close
cond 7= 3 rd candle close is less then 2nd candle high
 

Attachments

#2
Wrong place to open this thread, hence not giving solution.
Pardon my arrogance, but you must know where to post such request.
You open this thread in Amibroker section, and I or somebody else may give answer.
But not here.
Sorry friend.
 

doss186

Well-Known Member
#4
I think you are searching for BullFlag pattern. Try this

CLOSE <= REF(CLOSE,1) AND REF(CLOSE,1) > REF(CLOSE,2) AND
REF(CLOSE,2) > REF(CLOSE,3) AND
REF(CLOSE,3) >= REF(CLOSE,4) AND
ABS((REF(HIGH,1) - REF(LOW,1))) >= ABS((REF(HIGH,3) - REF(LOW,3)) * 2 AND
DIP(14) > DIN(14) AND
REF(ADX(14),1) > REF(ADX(14),2) AND
REF(ADX(14),2) > REF(ADX(14),3) AND
REF(VOLUME,1) > REF(VOLUME,2) AND
REF(VOLUME,2) > REF(VOLUME,4) AND
REF(VOLUME,1) > REF(VOLUME,4) * 2
 

Similar threads