Re: MT4 Indicator requests and ideas

17430
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);
}
Attachments
These users thanked the author andrei-1 for the post:
Chickenspicy


Who is online

Users browsing this forum: Ahrefs [Bot], Antonov, Applebot [Crawler], Bing [Bot], Google [Bot], guppiexl, Jimmy, muhammadFarooq2k20, ODJ, Proximic [Bot], Telegram [Bot], Tur005, warytrader, Yandex [Bot] and 71 guests