-
Don't double post
General rules and best pratices of the Forum. - General - MQL5 programming forum - Your code assumes that every H4 bar exists, false over the week end/market holidays. Don't assume, convert the iBarShift to MT5.
Find bar of the same time one day ago - Simple Trading Strategies - MQL4 and MetaTrader 4 - MQL4 programming forum - On MT5: Unless the chart is that specific pair/TF, you must Synchronize the terminal Data from the Server.
Timeseries and Indicators Access / Data Access - Reference on algorithmic/automated trading language for MetaTrader 5
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello, i'm newbie please help. I want to get pivot from candlestick value at 20:00 everyday at Timeframe H4. I already try this code but it seems not worked well.