jthornton:
I've created an EA that has been 100% accurate since 2012. It's based on the daily chart, but there have been HUGE drawdowns. I would like to put in a condition to only trade between 3:30pm and 4pm New York time. figure out how to get the server time and figure out the offset to match it to NY Time. |
|

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
I'm creating an EA for training. I've created an EA that has been 100% accurate since 2012. It's based on the daily chart, but there have been HUGE drawdowns. One thing that I've noticed is that my trade conditions are triggering during the day, but based on the value of the candle at the end of the day the trade would NOT have triggered.
I would like to put in a condition to only trade between 3:30pm and 4pm New York time.
I know there are functions like TimeCurrent(), Hour(), Minute(), etc. However, I can't figure out how to get the server time and figure out the offset to match it to NY Time.
Can anyone help me with this please?