Need Afl code foir exploration for 10% rising stocks

#1
Hi friends
can somebody post a afl code for these conditions please

find stocks that make 10% moves up and down in a year many times

some stocks fall 10% and begin rise then again they repeat this rise and fall

in fact some stocks do this over 10 times a year

how to explore for this in amibroker?

one way seems to be peak and trough function usage

another seems like using hhv and llv functions

another angle can be spot a major support and find stocks rising from there
but the figure changes for each stock

PEAK(C,10,1) RECENT FIRST PEAK AFTER 10% RISE
TROUGH(C,10,1) RECENT TROUGH AFTER 10% FALL

ANOTHER LOOK IS LIKE DARVAS BOX USES PERCENT CHANGE BETWEEN TOP AND BOTTOM

thanks
ford
 

Similar threads