[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 164
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
It's not working.
Sorry. Script code. It's working. Checked it out.
Please tell me how to spell the operator that pauses in milliseconds. I keep forgetting. I remember once forgetting it and then looking for it for a long time. Again, I don't remember where I looked for it. I will probably spend a long time looking for it again.
Please tell me how to spell it - I've forgotten again.
Please tell me how to spell the operator that pauses in milliseconds. I keep forgetting. I remember once forgetting it and then looking for it for a long time. Again, I don't remember where I looked for it. I will probably spend a long time looking for it again.
Please, tell me how to spell it - I've forgotten it again.
Sleep()
Sleep()
Oh, right, thank you very much.
Hello. Can you please tell me how to check if there is a position opened on the current bar and if there is, then prohibit opening new ones. From the next bar this restriction is removed. Sleep() does not work.
When opening a position, remember the time
And in the deal opening condition put a condition
This should work, if I'm not mistaken.
Good afternoon. Can you please tell me how to check if there is a position opened on the current bar and if there is, then prohibit opening new ones. Starting from the next bar the restriction is removed. Sleep() does not work.
Something curious:(
The indicator is in the process of calculating profit and loss. I want to put the results in comments (output on the screen):
Without last line (commented out) everything works as it should.
But as soon as you leave it uncommented, all you see are just the candlesticks and nothing more. Rebooting MT didn't help.
What can it be?
Something curious:(
The indicator is in the process of calculating profit and loss. I want to put the results in comments (output on the screen):
Without last line (commented out) everything works as it should.
But as soon as you leave it uncommented, all you see are just the candlesticks and nothing more. Rebooting MT didn't help.
What can it be?
All variables of int type are integers. When dividing an integer by an integer, the answer is also an integer. And if the first number is less than the second, the answer will always be 0. This may be the problem.
If you have a possibility - change all the types to double.