It says what you ave to do: check your paranthesis!
Im sorry but im very new to coding and dont understand a thing..I simply wanted to code this simple EA i copy and pasted the code from some guy on Youtube. I now made a couple tweaks to the end of program error and now i have only 1 error
"Expressions are not allowed in a global scope"
and when i erase the "(" i get 42 errors
Please help me out.
Thank you
New code
void OnTick(); ( // We Calculate The Ask Price double Ask=NormalizeDouble(SymbolInfoDouble{{_Symbol,SYMBOL_ASK),_Digits}; // We Calculate the Bid Price double Bid=NormalizeDouble(SymbolInfoDouble{_Symbol,SYMBOL_BID),_Digits;}; // Create A string for the signal string signal-""; // Create an array for prices MqlRates PriceInformation[];

- www.mql5.com
Please edit your posts and
use the code button (Alt+S) when pasting code
Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!
Comment ( «««««««««««««« Open parentheses "The current signal is: ",signal,"\n", "AwesomeValue: "(DoubleToString(AwesomeOscillatorValue),"\n", "Buy Signal Value: ",SignalValue,"\n", "Sell Signal Value; "0-SignalValue),"\n", ««««««« missing token after last comma. } ««««««««««««««««« Closing brace without opening brace. No closing parentheses.
Thanks William.
Though it seems everything is okay except the one error im getting of "Expressions not allowed on a global scope"
Sending me to the line after the void tick
Heres the code
void OnTick(); ( // We Calculate The Ask Price double Ask=NormalizeDouble(SymbolInfoDouble{{_Symbol,SYMBOL_ASK),_Digits}; // We Calculate the Bid Price double Bid=NormalizeDouble(SymbolInfoDouble{_Symbol,SYMBOL_BID),_Digits;}; // Create A string for the signal string signal-""; // Create an array for prices MqlRates PriceInformation[];
void OnTick();
; not required

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Good Day..i need help with running this E without Errors....It is Giving Me two specific errors "Unexpected End Of Program" & "Unbalanced Paranthesis"
"Unexpected End Of Program Error"
This IS The Code
AND FOR THE UNBALANCED PARENTHESIS" error