Re: MT4 Indicator requests and ideas

17432
andrei-1 wrote: Mon Jan 09, 2023 7:24 pm Trend direction && force index

I think it's the same thing. But the result is different. :eh:
I want to get rid of the loop, but it doesn't work. :sad:

Code: Select all

double absHighest(int i2){int i; double result=0;

   for(i=length-1;i>=0;i--){if(result<MathAbs(B3[i2+i])){result=MathAbs(B3[i2+i]);}}
   
   result=MathMax(MathAbs(ArrayMaximum(B3,length,i2)),MathAbs(ArrayMinimum(B3,length,i2)));
   
   return(result);
}
Image

Image
In the newest code looks like absHighest was replaced by

Code: Select all

double absVal = 0;  for (int k=0; k< 3*inpTrendPeriod&& (r-k)>=0; k++)  absVal = fmax(absVal,fabs(wrk[r-k].tdf));
These users thanked the author mrtools for the post (total 2):
Chickenspicy, andrei-1


Re: MT4 Indicator requests and ideas

17438
chickensword wrote: Tue Jan 10, 2023 4:14 am I’m having a new idea 💡 heikin ashi filtered? Instead of smoothed
And heikin ashi volume combo

Any coders think it’s possible? With gratitude
Found a couple of older versions, that are adaptive and using heiken ashi hi/lo for the Gann calculations.
These users thanked the author mrtools for the post (total 2):
Chickenspicy, RodrigoRT7


Who is online

Users browsing this forum: areteus1, bongisgood, ffsss, Grapeshot [Bot], losajoca, Proximic [Bot], WhatsApp [Bot], Yandex [Bot] and 122 guests