Hello,
Can someone help me with this. I need to add this fix to the EA, that was offered by the original programmer years ago. I have attached the EA and the indi it looks at. Many thanks in advance!![](https://resources.faireconomy.media/images/emojis/64/1f601.png?v=15.1)
Code that should be added :
Code:
int previoussignal=0;
for(i=shift+1;i<=50;i++){
if(previoussignal!=0)continue;
if(iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i)>iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i+1))previoussignal=1;
if(iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i)<iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i+1))previoussignal=2;
Long conditions :
Code:
&& previoussignal==2
Short conditions :
Code:
&& previoussignal==1
Can someone help me with this. I need to add this fix to the EA, that was offered by the original programmer years ago. I have attached the EA and the indi it looks at. Many thanks in advance!
![](https://resources.faireconomy.media/images/emojis/64/1f601.png?v=15.1)
Code that should be added :
Code:
int previoussignal=0;
for(i=shift+1;i<=50;i++){
if(previoussignal!=0)continue;
if(iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i)>iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i+1))previoussignal=1;
if(iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i)<iCustom(NULL,0,"Renko_v1",periodatr,katr,0,i+1))previoussignal=2;
Long conditions :
Code:
&& previoussignal==2
Short conditions :
Code:
&& previoussignal==1
Attached File(s)