Forum

ERROR 4105

Hi i'm trying to build an hedging EA (to learn mql4). Here's the code #define MAGICMA 20141405 //--- Inputs input double Lots = 1 ; input int sl = 5 ; input int tp = 10 ; float NetLots( string symbol) { if ( OrdersTotal () > 0 ) { double shorts = 0 ; double