TablesLike / Publications
Forum
Im getting 2 errors one is ')' - unexpected end of program and the other is '{' - unbalanced parentheses
{ // Get the current fast and slow moving averages double fastMA = iMA ( _Symbol , 0 , FastMA, 0 , MODE_SMA , PRICE_CLOSE , 0 ); double slowMA = iMA ( _Symbol , 0 , SlowMA, 0 , MODE_SMA , PRICE_CLOSE , 0 ); // Determine the trade type based on the moving averages if (fastMA >