Afl code

#1
HI,

it is possible to write afl code idea is three moving avrg 5 50 and 100
if 5 moving avrg cross 50 up side and if both moving avrg above 100 moving avrg then buy.

If 5 moving avrg cross 50 down side but above 100 then exit buy only dont short.

if 5 moving avrg cross 50 down site and if both moving avrg is below 100 avrg then sell.

If 5 moving avrg cross 50 up side but below 100 then exit sell only dont long.


Please try ..


Thanks in advance
 

umeshmandal

Well-Known Member
#2
HI,

it is possible to write afl code idea is three moving avrg 5 50 and 100
if 5 moving avrg cross 50 up side and if both moving avrg above 100 moving avrg then buy.

If 5 moving avrg cross 50 down side but above 100 then exit buy only dont short.

if 5 moving avrg cross 50 down site and if both moving avrg is below 100 avrg then sell.

If 5 moving avrg cross 50 up side but below 100 then exit sell only dont long.


Please try ..


Thanks in advance
I dont use Amibroker so not much idea but am sure Google it and you will find Triple MA cross AFL's may be different values, but should serve your purpose!
 

Similar threads