
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
Displaying it is irrelevant. It's not doing what you think.
Stop thinking hours and start thinking time. bool ItsBeenAnHour = TimeCurrent() - LastOrderClosedTime > 3600;
Displaying it is irrelevant. It's not doing what you think.
Stop thinking hours and start thinking time. bool ItsBeenAnHour = TimeCurrent() - LastOrderClosedTime > 3600;
Hello Whroeder, i think i have done it base on your idea;
but please don't be mad in case i didn't get it.
Thank You Whroeder1,
Also i will try to use meaningful variable names along with simplicity in my coding.
Could EA Really Live By Order_History Alone? (ubzen) - MQL4 and MetaTrader 4 - MQL4 programming forum
Count how many lost orders from the last profit order - MQL4 and MetaTrader 4 - MQL4 programming forum
Could EA Really Live By Order_History Alone? (ubzen) - MQL4 and MetaTrader 4 - MQL4 programming forum
Count how many lost orders from the last profit order - MQL4 and MetaTrader 4 - MQL4 programming forum
Please pardon my ignorance but are you saying i should use my code in #7 in my EA, that it is correct?
thanks for the links.
i believe once i read the links i should be good in history loop
I have finally done my best and its not working please find it in your heart to help me in what ever way a you can:
It will be so rude of me not to thank you guys for helping out, though the problem isn't solved yet i have temporary abandon it, well for the time being, i hope somebody out there find a way to solve this problem.
THANKS...
However, this is still not going to solve your problem, because you are only looking at "closed" orders. You have to remember that there might also be orders that are still open.
So, here is the exercise for you. Show your attempt at how you would solve that part of the problem, and I will help you figure it out.
However, this is still not going to solve your problem, because you are only looking at "closed" orders. You have to remember that there might also be orders that are still open.
So, here is the exercise for you. Show your attempt at how you would solve that part of the problem, and I will help you figure it out.
I just tested it now and it WORKED, i just cant thank you enough, your indeed a fine programmer.
in other to solve the "opening and close other" stuff, should we be looking at the OrdersTotal() instead of the OrdersHistoryTotal()
once again thank you.