Download MetaTrader 5
To add comments, please log in or register
Deposit to your account via PayPal
lajcld
14
lajcld 2014.04.28 00:33 

Hi, when I compile this code I get 2 erros

1.'tanh' - left parenthesis expected

2.'tanh' - semicolon expected

MT4 metaeditor build 471

Please help.

whroeder1
13641
whroeder1 2014.04.28 01:56  
stentasch:

Hi, when I compile this code I get 2 erros

1.'tanh' - left parenthesis expected

2.'tanh' - semicolon expected

MT4 metaeditor build 471

  1. Current released build 625 - why haven't you upgraded?
  2. Maybe post the actual error messages that include the line number. No mind readers here. What you posted has no error.
    #import "AdaptradeBuilderLib.ex4"
       :
       double tanh(double x);
    #import
    :
        double HiddenNodes[];           // Hidden nodes
        ArrayResize(HiddenNodes, NHidden);  
    :
            HiddenNodes[i] = tanh(HiddenNodes[i]);
    

/
To add comments, please log in or register