higher timeframe candle data to open orders on lower timeframe of the same symbol
Perhaps you should read the manual. Timeseries and Indicators Access. What is the second argument?
How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
Perhaps you should read the manual. Timeseries and Indicators Access. What is the second argument?
How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
Yes, obviously!
- For manual trading, search the CodeBase (or Market) for indicators displaying H4 Pivot Points.
- For MQL coding, you can use for example the iHigh() or iLow() functions with PERIOD_H4, but there are other ways to accomplish the same goal, so follow up on the links provided by William's post.
Fresh new candle on H4 and as soon as the Close[0] go below Open[0] . A sell order is open on the M5. Is this possible in MQL4 or MQL5
Yes, obviously!
- For manual trading, search the CodeBase (or Market) for indicators displaying H4 Pivot Points.
- For MQL coding, you can use for example the iHigh() or iLow() functions with PERIOD_H4, but there are other ways to accomplish the same goal, so follow up on the links provided by William's post.
Lets clear a few things up first.
- Orders are not associated with any time frame. It does not matter what time-frame is active on the chart, be it H4 or M5 or any other. They are just orders that generate deals that generate positions. If you have more than one chart open on different time-frames but all on the same symbol, then any orders or positions will appear on all of those charts at the same time.
- So if you are looking to place an order when the "close" of the current H4 bar falls below the "open" of the current H4 bar, then you can place the order on any chart irrespective of time-frame of that chart.
I would like to use the H4 high or low of the current candle to open a buy or sell order on the M5. Is this possible?