There are a part of my EA that make what it should do, but do in a complicated way.
I want someone to rewrite this part so I understand what is on it. Here's a preview :
if (iBars(NULL, 0)<(count+1)*10) break;
if (CopyBuffer(hrsi, 0, count*10+1, 10, tr)<10) return (-2);
ArrayResize(rs, ArraySize(rs)+10);
for (int i = 0; i < 10; i ++)
{
rs[i+count*10] = tr[10-i-1];
if (rs[i+count*10]<=RsiBuyResetLevel) { lastIndex = i+count*10; break; }
}
count ++;
if (lastIndex!=-1) break;This analyzes the previous candle to find a RSI value out of "rsibuyresetlevel". But it's easy to identify that the code isn't clear.
If there's interest on that, let's discuss on chat. Thanks.
---------------------
Meu EA está com um trecho mal escrito, confuso, mas está funcionando exatamente como deveria, o único problema é que não consigo entender como ele funciona exatamente.
Gostaria de alguém disposto a entender um trecho específico dele e reescrever de forma simples e funcional.
Qualquer dúvida podemos conversar no chat. Obrigado
Bewerbungen
Frist nicht eingehalten
39
19%
Frist nicht eingehalten
8
50%