- Steps on trading on a session
- First candle of newyork session
- Counting pending orders with Ctrade problem
Hi guys im doing this EA but using date, time and timezone confuses me. Can you help me make a function that will return true if its New York Session or return true if its the first 3hours of New York Session? Thank you so much :)
what you think we are? your nannies? don't you know how to look for yourself? search google and/or codebase. There are lots of different indicators and eas that you can modify and copy to suite your needs. OR HIRE A BLOODY CODER and dont be lazy.
what you think we are? your nannies? don't you know how to look for yourself? search google and/or codebase. There are lots of different indicators and eas that you can modify and copy to suite your needs. OR HIRE A BLOODY CODER and dont be lazy.
not true. there is many codes in codebase that have time filters. You can learn how to code it yourself by reading the code in a working ea or indicator, as i have already described.
codebase? here in this forum? ok ok ill look and check it, thanks
- You know when NY session starts.
- Only you know timezone difference between NY and your broker. And when they change. (DST)
- Show us your attempt (using the CODE button) and state the nature of your problem.
No free help (2017)
- www.mql5.com
yes. there is link at top of this forum page haha. or as one of mql5 GODs has said in 3. Show us your attempt, using the src button, and describe what you have already tried, and what the result was, and why it is different to what you wanted.
Hi
Try this one:
int startNY =14; int endNY=22; bool isSession(){ int hour = TimeHour(TimeCurrent()); string text = ""; if(startNY<endNY){ if(hour>=start && hour<endNY{ return(true); } }else{ if(hour>=startNY || hour<endNY){ return(true); } } } return(false); }
Have a nice weekend
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use