Lesson 7 Price action Ket hop Volume VSA – EA MetaTrader 5
I. Main function 1. Auto caculate lot size 2. Auto trailling ATR 3. Using volume indicator and moving average indicator 4. Condition buy or sell 2. Backtest. II. Main function code 1. Volume indicator declaration //+——————————————————————+ //| Expert initialization function | //+——————————————————————+ int OnInit() { if(!m_symbol.Name(_Symbol)) return INIT_FAILED; // Set Trade parameter trade.SetTypeFillingBySymbol(m_symbol.Name()); trade.SetExpertMagicNumber(m_magicnumber); trade.SetDeviationInPoints(Slippage); // … Read more