Want ambibrokar afl code for following setup

Dear Sir,
I want ambibrokar afl code for following setup.
scan and list the stocks when its DI+ crosses above 40 and DI- crosses above 40 separately.

Please help