You can't do that. You can only initialize variables with constants before start()
int a = 2; int b = 2+2; // error -- '+' - comma or semicolon expected int c = a + b; // error -- 'a' - initialization expected // error -- '+' - comma or semicolon expected // error -- 'b' - expression on global scope not allowed int start(){ return(0); }
thanks to phy and Rosh.
it helps me to determine the start of trend or reversal ( i think so)
:)
it helps me to determine the start of trend or reversal ( i think so)
:)

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
extern datetime thedate=( i want to insert today's date here )
how?
i tried TimeDay(CurTime()) but it didnt work