Equilibrium: Good day, please help me, I can not debug my Expert Advisor (opening and closing orders do not work by criterion as expected (by crossing stochastics every time), open at stochastics very rarely and I can not understand why ((((), here is a screenshot and the program:
I want to repeat my question. I have an indicator (the upper indicator in the picture) that gives ONLY these signals. I need to transform these signals into a "solid" signal (bottom indicator in the picture). Help if you know how to do it!
P.S.
The MACD indicator in the picture is only used to illustrate my problem.
I got an answer from TaraasBY (for which thank you very much):
You fill the indicator buffer, in case there is no value in it, with the previous (not empty) value:
if (gda_BUF1[pos] == EMPTY_VALUE)
{
if (gda_BUF1[pos+1] != EMPTY_VALUE) gda_BUF1[pos] = gda_BUF1[pos+1];
}
But it doesn't work for me.How to link ExtMapBuffer1[i] and ExtMapBuffer1[pos]?
I want to repeat that indicator from MACD only for example! How to repeat above mentioned construction in it?
Good day, please help me, I can not debug my Expert Advisor (opening and closing orders do not work by criterion as expected (by crossing stochastics every time), open at stochastics very rarely and I can not understand why ((((), here is a screenshot and the program:
No stochastic intersection found (I mean code)
Hi all.
Help me to get the code right.
When the first condition Bid > Line_2 is met, the second condition RSI<30 is lost, i.e. the RSI indicator line goes above value 30.
How to link two conditions correctly?
If someone has seen such an implementation, please give me a link.
Hi all.
Help me to get the code right.
When the first condition Bid > Line_2 is met, the second condition RSI<30 is lost, i.e. the RSI indicator line goes above value 30.
How to link two conditions correctly?
If someone has seen such an implementation, please give me a link.
I need to transform these signals into a "solid" signal (bottom indicator in the picture).
Help if you know how to do it!
P.S.
The MACD indicator in the picture is only used to illustrate my problem.
I got an answer from TaraasBY (for which thank you very much):
You fill the indicator buffer, in case there is no value in it, with the previous (not empty) value:
But it doesn't work for me.How to link ExtMapBuffer1[i] and ExtMapBuffer1[pos]?
I want to repeat that indicator from MACD only for example! How to repeat above mentioned construction in it?
How do I connect ExtMapBuffer1[i] and ExtMapBuffer1[pos]?
Here is the code of the indicator. I want to repeat that the MACD indicator is just for example, how can I repeat the above-mentioned structure in it?
Like this (as applied to MACD):
The easiest and most effective way is to search CodaBase for the word "RSI" in already implemented EAs.
Thanks, I'll keep looking.
So (as applied to the MACD):
Thanks, it's working, but only one bar LATER! Is there anything else you can do?
So (as applied to the MACD):
Thanks, it's working, but only one bar LATER! Is there anything else you can do?
Try this.
Vinin:
No stochastic intersection found (I mean code)