RTH on MT5
- EMA based on certain hours (RTH)
- EURUSD - Trends, Forecasts and Implications (Part 2)
- Market Hours Indicators
Hey, Is there any code or indicator that makes the chart only show the regular trading hours in the CFDs ? I am looking for this information for several weeks now, and cannot find anything.
There are indicators out there that highlight trading sessions. Try searching the keywords like "trading session indicator"
There are indicators out there that highlight trading sessions. Try searching the keywords like "trading session indicator"
Hey, Is there any code or indicator that makes the chart only show the regular trading hours in the CFDs ? I am looking for this information for several weeks now, and cannot find anything.
By regular you mean within the European and US sessions ?
The first problem you'll run into , is you'll need your ticks to be in GMT to construct that.
Just to expand upon your accurate post, CustomSymbolSetSessionQuote() is the key MQL5 standard function.
- www.mql5.com
And for some basic instruction regarding custom symbols...
Custom symbols: Practical basics
Stanislav Korotky, 2020.11.30 08:27
The article is devoted to the programmatic generation of custom symbols which are used to demonstrate some popular methods for displaying quotes. It describes a suggested variant of minimally invasive adaptation of Expert Advisors for trading a real symbol from a derived custom symbol chart. MQL source codes are attached to this article.