[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 518

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
Hi all!
Please help me write this indicator.
I want it to show min and max for the last n number of bars.
I've started to write the code, but I can't figure out how to write the logic correctly.
MQL4 Tutorial-->Variables--> Arrays--> Task 26.:Find the minimum and maximum price values of the last n bars. (extremumprice.mq4)
MQL4 Tutorial-->Variables-->Assets-->Task 26.:Find maximal and minimal price value of the last n bars (extremumprice.mq4)
Thank you very much for the link)
I read the textbook but forgot about this example.
Thank you again!
Good evening everyone.
I tried to write an indicator (it's my first indicator) that should display minimum and maximum price value among the last n bars.
I can't seem to understand what i've got wrong.
Please help me to understand what i am trying to do!
The countdown starts from 1 bar.
Good evening. Please help me solve this problem: there are two curves, one with coordinates ay1, ay2 ... ayN, the other with coordinates by1, by2 ... byN. It is required to find out whether there is such a value of K, at which the condition SUM((ayN-K*byN)^2)/N <=C, where C is some number.
Good evening.
I'm a bit of a "crucian" when it comes to coding :) I am building an Expert Advisor based on Fibonacci indicator. I am not paying attention to the strategy so far. The problem is 7 Fibonacci levels, how to make each level crossed set only 2 different pending orders and no more.
I would appreciate any tips.
Sorry for my awkward russian.
Use multiple of periods.
e.g. for H1
extern int FastEMA=12;
extern int SlowEMA=26;
extern int SignalSMA=9;
if you want the same values for H3
set it on H1
extern int FastEMA=36;
extern int SlowEMA=78;
extern int SignalSMA=27;
does not work for all indices,
Appendix: Example of a stochastic implementation for an arbitrary TF
Good evening everyone.
I tried to write an indicator (it's my first indicator) which should display minimum and maximum price value among the last n bars.
I can't figure out where I'm going wrong.
Please help me to understand what i want to do!
The countdown starts from 1 bar.
Good evening! Tell me, would it be enough to put one or two arrows?