Maybe another geek can correct me, but I have done EasyLanguage, C++, PHP, ASM, HTML, etc... the core of programming is loops or control structures. They are all the same at the core.
All you need are control stuctures to detect the break of support and resistance (for entry), and a sequence...