Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 371
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
then i'm no help) need to go through the entire advisor.
I've changed everything to double, it's working fine now, I need to test the rest of the points =) If I make the EA make a good profit, I can post it if necessary =)
I would have forgotten what the problem was because I don't understand why it didn't work properly and I'm glad I didn't!)
I've changed everything to double, it's working fine now, I need to test the rest of the points =) If I make the EA make a good profit, I can post it if necessary =)
I would have liked to forget it otherwise, I don't know why it didn't work out as I should have done =) I'm glad I didn't forget it.)
You can, why not)
You're welcome).
The road will walk, I, too, at first had such moments, headache, but when you solve the problem, there is a kind of satisfaction, and that feeling is priceless))
The time after signal 1 must be recorded and not changed until signal 2 arrives, with signal 1 repeatedly occurring while waiting for signal 2, but the time must remain unchanged since signal 1 was first received.
Here is the code in general, it is inserted at the beginning and the whole part up to the place I have given below, here is the Expert Advisor itself in which you should insert the beginning https://www.mql5.com/ru/code
You start the night at about 00:00 and it trades till a certain time, after that it closes the trades and the EA.
It needs to be a little more complicated. A variable depends on signal 1, so as long as there is no signal 2, the data used by signal 1 will be updated, changing the variable, but I need the variable to change once. Subsequent changes to the variable only after signal 2. In short, switch 1 is triggered, triggers one and nothing else changes until switch 2 is triggered. But, as switch 1 uses certain data to switch on, it will process it again, and you only need to do it once.
Here is the code in general, it is inserted at the beginning and the whole part up to the place I have given below, here is the Expert Advisor itself in which you should insert the beginning https://www.mql5.com/ru/code
You start the night at about 00:00 and it trades till a certain time, after that it closes the trades and the EA.
So?! Does it work?)
It needs to be a little more complicated. A variable depends on signal 1, so as long as there is no signal 2, the data used by signal 1 will be updated, changing the variable, but I need the variable to change once. Subsequent changes to the variable only after signal 2. In short, switch 1 is triggered, triggers one and nothing else changes until switch 2 is triggered. But, as switch 1 uses certain data to switch on, it will process it again, and you only need to do it once.
I've given you the basics, go ahead and do it yourself! Why are you so lazy... as you described it, so I wrote it, without even saying thank you;)
I gave you the basics, go ahead and do it yourself! Why are you so lazy... I wrote as you described it, and you didn't even say thank you;)
So what?! Does it work?:)
well, yeah. You can check it yourself=) set the amount above 700 dollars and test it=) 5 minute interval
You could also modify it and make it start every night by itself =)