Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1728
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
This code shows the signal on the 10th candle. I need to check the signal on each candle from 1 to N.
Change the order of the search.
You are searching from the depth of time to the present time and therefore find the "oldest signal".
Judging by iCustom - you have 4 and so the numbering.
the loop must be from 0 (more likely 1-2) and up to N
for(int i=0;i<n;i++)
Nothing has changed. The signal is still showing on the 10th candle
Nothing has changed. The signal is still shown on the 10th candle
Here is the function to analyse this signal of this indicator from my old archive, adjust it for your own needs...
Returns the last signal. 1 - upper sun, 0 - lower sun. -1 - no signal/error.
MakarFX
Thank you! It's working!
As far as I remember the FL11 indicator is crooked and you can't use it properly. Redrawing... Cycle should lead from 0 to the left and interrupt if a signal is found... Or, reset the time of the signal in the body of the cycle and print the result of each bar. But you will not learn anything with this indicator.
The picture should be inserted using the button or attached using the button
What is the correct indicator?
Any one that doesn't overdraw more than the logic, usually 0 bar, for fractals 2.
I am judging in terms of correct operation.