int Crossed (double line1 ,double line2){ static int last_direction =0; static int current_direction =0; if(line1>line2)current_direction=1; if(line1<line2)current_direction=2; if (current_direction!=last_direction){ last_direction=current_direction; return(last_direction); } else { return(0); } //<--YOU MISS IT HERE!!! } //<--AND HERE=) //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+
And it is only the beginning of code!
Be careful, use special editors that can highlight things like this!
hasayama:
And it is only the beginning of code!
Be careful, use special editors that can highlight things like this!
thx a lot man and any idea about such an editor thx for an advice
Try Notepad++ http://notepad-plus-plus.org/
flo's freeware - Notepad2 I use the code folding option.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i know that this whole code is wrong maybe but can someone explain me why there is a mistake with the one bracket thx ?