[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 363
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
Do I understand it correctly. A static variable does not lose its value between calls to start()?
yes. see here.
Why can it remove itself?
it is a script, located in the folder for scripts, it is executed once and deleted. move it to the folder for EAs and it will not be deleted
And why is it when you try to test only on H1, and less than that, only a black screen with the inscription waiting for update?
And how to test if I set a year, but it really takes about a month on H1, and manages to put only 6 positions, and then does not come to the end, whatever dates do not set?
And why is it when you try to test only on H1, and less than that, only a black screen with the inscription waiting for update?
And how to test if I set a year, but it really takes about a month on H1, and manages to put only 6 positions, and then does not come to the end, whatever dates do not set?
Do you even have a history?
Help me to improve the code. The idea is to get a robot that sets a custom TP and SL for all orders (open and pending)
Help me to improve the code. The idea is to get a robot that sets a custom TP and SL for all orders (open and pending)
Look at the "modify" script - it solves exactly the same problem
Error 130 is coming up for some reason....
One question here - check the normalisation of opening prices when placing orders, and for their compliance with min requirements - the tutorial has - see examples here-open and trawl (last two fi's on the page) and here... - requirements and limitations... The most important thing - clarify whether your broker allows for this account immediately, ie at the time of opening orders to put a stop and takeaway, if not, then only after installation and triggering of the order through a modification ... Everything.
check out the regular "modify" script - it solves exactly the same problem
Ok.
There is one question here - check the normalisation of opening prices when placing orders, as well as for their compliance with min requirements - the tutorial has - see examples here-open and trawl (the last two fi ries on the page) and here... - requirements and limitations... The most important thing - clarify whether your broker allows for this account immediately, ie at the time of opening orders to put a stop and takeaway, if not, then only after installation and triggering of the order through modification ... Everything.