EA31337 / EA31337-strategies-sandbox

:page_facing_up: Playground for EA strategies.
2 stars 0 forks source link

Complete AC, AD & ADX strategy classes. #1

Open kenorb opened 8 years ago

kenorb commented 8 years ago

Finish 3 classes (AC, AD & ADX) with its parent Strategy class.

The goal is to have 2 methods per each strategy:

Note: The current code is just prototype to give some guidance, as I haven't tried to compile it, so it may have some syntax errors to fix.

Check MQL4, MQL5 and OOP docs for further details. The code should compile and work under both versions. For version compatibility, you may use external classes (probably won't be necessary).

You can test code by implementing void OnTick() on every tick whether the conditions are working. You can consider running visual backtest with some tick data. This may just work briefly.

kenorb commented 8 years ago

/cc @LemonBoy