[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 342
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
Breakeven advisor (version 4)
https://www.mql5.com/ru/code/10251
Please write the code of the formula that calculates the lot at 3 per cent risk of free funds. Thank you
Напишите, пожалуйста, код формулы, рассчитывающей лот при риске 3мя процентами свободных средств. Благодарю
Can you please give me the code to open a deal only the first 10 minutes of each hour (I open at the beginning of the hour, close at take profit and reopen the deal - this is a loss-making one)?
Look - here on this forum, Sator posted a theme "Only useful fiqs from Kim IV" - carefully re-read - find fi - time restriction on the work of the owl.
As one of the many options available:
If you know how to place at least one pending order, it should be easy to open three.
Each order can be assigned its own magik (this will make it easier to track the order) with corresponding TP levels to that magik.
Yes, thanks, I guess I've been working too hard and missed the magician option, I'll give it a try.
Thank you for your reply.
Look - here on forum Sator posted a topic "Only useful fie from Kim I.V." - read it carefully - you will find fie - time restriction of owl operation.
Thank you.
https://forum.mql4.com/ru/38949/page9#434297
I tried it this way and that way... the time limit is set by hours (and minutes)... only by minutes is needed...
Thank you.
https://forum.mql4.com/ru/38949/page9#434297
I've tried it this way and that way... the limit is in hours (and minutes)... I just need the minutes...
exclude the clock...
Thank you.
https://forum.mql4.com/ru/38949/page9#434297
I tried it this way and that way... the limitation takes place by hours (and minutes)... I only need to do it by minutes...
Here are some more examples - adjust to your conditions...
2. Please tell me how to make my EA stop trading at 21h00min and start at 01h00min on the next day.
int start()
{ if (Hour()>20 && Hour<2) return(0); ..... }3. Please tell me how to make my EA stop trading at 21h00 and start at 01h00 the next day only. I think this is not very hard, even for beginner, but I am a total zero in programming. Therefore, if possible, please give me more details, point by point.
Can someone tell me a piece of code, which will allow to make certain actions, for example, every 10 min.
Declare a variable
datetime StartTime=0;
You can add the following code to the initialization block
StartTime=0;
Then, in the start of the EA, we write:
If you don't want to show your tees and stops DC.....