/* Change Logs */
/*
1. 1.0.1(2010-12-01) Initiate version.
2. 1.0.2(2011-04-06) Fix some repaint trail.
3. 1.0.3(2011-05-26) Add SetIndexDrawBegin() to be EA friendly.
4. 2.0.4(2011-08-01) Use main line to restruct the implementation.
5. 2.1.5(2011-09-01) Export for EA trading.
6. 2.1.6(2011-09-02) Make GlobalVariable unique to avoid conflicts.
7. 2.1.7(2011-09-02) Fix minor bugs.
8. 2.1.8(2012-02-29) Fine tune the trend mode 1 implementation.
*/