Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1229
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
Dear Professionals, could you please advise if it is possible to get the values of RSI for a week timeframe in the code of advisor, but to calculate the values for the week, which does not start on Monday, but for example from Wednesday (that is the week from Wednesday to next Wednesday). As far as I know it cannot be done with iRSI?
So far I can only see a way to write the code myself to calculate. Is there a simpler solution or a ready-made solution?
If you create an indicator handle on the W1 timeframe, it means that the indicator will be calculated on W1 bars: one bar, one week.
You need to create an indicator handle on the D1 timeframe (daily timeframe).
In general, the meaning of the phrase "(that is, one week from Wednesday until next Wednesday)" is not clear. It makes no difference which day of the week starts - the indicator is calculated on bars.
If you create an indicator handle on the W1 timeframe, it means that the indicator will be calculated on W1 bars: one bar, then one week.
You need to create an indicator handle on the D1 timeframe (daily timeframe).
In general, the meaning of the phrase "(that is, one week from Wednesday until next Wednesday)" is not clear. It doesn't matter which day starts the week - the indicator is calculated using bars.
I understand everything about the bars. But all the weekly bars start on Monday. Therefore, in order to get, for example, a week from Wednesday to Wednesday, I think I should write my own code based on daily bars.
I also do not fully understand the meaning of this calculation, but the customer asked.
I understand all about the bars. But all the weekly bars start on Monday. So in order to get the week from Wednesday to Wednesday for example, I guess I have to write my own code based on the daily bars.
I do not fully understand the meaning of this calculation either, but my client has asked me to do it.
The Expert Advisor opens trades based on RSI values. I don't understand the whole point of this calculation, but the client requested it and the EA opens orders on Mondays only with opening of a new weekly bar.
I understand all about the bars. But all the weekly bars start on Monday. So in order to get the week from Wednesday to Wednesday for example, I guess I have to write my own code based on the daily bars.
I also do not fully understand the meaning of such calculation, but the customer has asked me to do it.
I cannot understand the physical meaning. Therefore I am leaving.
Help solve the problem with displaying charts in MT5. The chart keeps updating and dragging to the left. And this is on all instruments.
Further on it keeps shifting to maximum history. In general it can't display the last week's information properly. the last day's candles constantly disappear, it blinks and moves to the left. How to fix it?
Help solve the problem with the chart display in MT5. The chart keeps updating and dragging to the left. And this is on all instruments.
It keeps on shifting to the maximum history. In general, it cannot display information for the last week normally. The candlesticks of the last day constantly disappear, it blinks and moves to the left. How to fix it?
It's just a time machine :)
Maybe you have some scripts/advisors/indicators running - they can shift the chart.
Help solve the problem with the chart display in MT5. The chart keeps updating and dragging to the left. And this is on all instruments.
It keeps on shifting to the maximum history. In general, it cannot display information for the last week normally. The candlesticks of the last day constantly disappear, it blinks and moves to the left. How to fix it?
Remove running indicators and EAs. Remove the cat from the keyboard. Clean any spilled coffee from the keyboard.
Remove running indicators and advisers. Remove the cat from the keypad. Clean any spilt coffee from the keyboard.
Thanks for the advice. Problem solved, just had to choose a server with a high ping.
Please explain why the blue area is not shaded? And how to fix it?
Is it even possible to produce two histograms in one indicator?
Please explain why the blue area is not shaded? And how to fix it?
Is it even possible to output two histograms in one indicator?
If the thickness for both histograms is set to '3'