yes that is what i want
and i dont know what to do with your code
i know a little c# not mql
ji2gy7:
yes that is what i want
and i dont know what to do with your code
The 2nd code block is a Function ( https://book.mql4.com/basics/functions ) you can add it at the very end of your code . . .
The first block returns ( https://book.mql4.com/operators/function ) if the time is outside of the time you want to allow trading to happen . . . you can, for example, add it at the top of your start() function . .
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
Hi,
would someone be generous to help me and attach a simple traing hours function to this ea
i have tried to add the function iTime but with no success