[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 327
![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
I'll give it a shot, thanks.
Thank you so much, it seems to be working.
And regarding the previous post, am I right about the array? Or am I wrong?
Your 5th parameter is 0 - i.e. the last bar!
make it like this:
Excerpt from doc:
Thank you very much, it seems to be working
and about the previous post, about the array, am i right? or not
Thank you very much, it seems to be working.
And regarding the previous post, about the array, am I right or not?
I made the same mistake myself, I've been programming for 5 years, I thought it made no difference which side the array was filled from :)
But MQL4 proves that there is a difference, however I would like to understand EE. Gurus, clarify?
Thanks to colleagues in MQL5!
mql4-russian.chm -http://ruforum.mt5.com/threads/10397-mql4-russian.chm?p=1067754&viewfull=1#post1067754
Is it possible to get the indicator lines to be shown on the chart during the test and not after its completion?
Respectfully, Shurkin.
Is it possible to get the indicator lines to be shown on the chart during the test and not after its completion?
Regards, Shurkin.
The easiest and dumbest way:
Thanks to colleagues in MQL5!
mql4-russian.chm -http://ruforum.mt5.com/threads/10397-mql4-russian.chm?p=1067754&viewfull=1#post1067754
Oh, that's what I need!!! And one more question, I don't know too much about the concept, where to read it in which section, arrays are not the same
I am trying to write a simple indicator based on RSI (the analogue is RandomIndicatorSignals mq4).
I am trying to write a simple indicator based on RSI (for the analogue of this indicator RandomIndicatorSignals.mq4 from the article MQL4 Language for Dummies. Custom Indicators (Part 1)(https://www.mql5.com/ru/articles/1500).
The idea is simple, if RSI draws a top or a trough, it draws an arrow on the chart.
It seems to be ok, but in my opinion RSI value buffer for each candle is not filled, because of this it doesn't work. Here is the code.
If you remove the logical errors, it works fine
If you remove the logical errors, everything works fine
))) Thanks for the tutorial, it means I'm not completely lost in programming)))) I will continue to learn
The easiest and dumbest way: