hi matrixbiz
What's mean with "global scope"? The variables in begin of script to define the parameters of indicators ect?
See attached # 1EA_Test_Template. I need this to test function of scripts.
Let it run in strategytester and it works.
Open Ea with MetaEditor and activate the inactive script
after int start()
Now compile and let it run in strategytester, the EA don't trade. See the error message in journal.
Quote:
Originally Posted by matrixebiz
How do you fix a "'CloseHour' - expression on global scope not allowed" error?
|