Hi Bashir,
I use amibroker and i dont think it uses C++, but i learned basic rules how to code amibroker language, so if i would get the exact rules, i will try to translate.
If you wish you can email me directly the rules and conditions on all charts to mark48588@yahoo dot com
tia,
regards mark