Page 1744 of 2170

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 4:30 am
by mrtools
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));

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 4:34 am
by mrtools
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
Know awhile back in Forex TSD days we had a hi/lo jurik channel that was using jurik calculations, let me see if I can find it.

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 5:34 am
by Chickenspicy
mrtools wrote: Tue Jan 10, 2023 4:34 am Know awhile back in Forex TSD days we had a hi/lo jurik channel that was using jurik calculations, let me see if I can find it.
Do you mean this one mrtools?

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 5:46 am
by Chickenspicy
mrtools wrote: Sun Sep 20, 2020 12:01 pm That indicator is a renamed histo version of Mladen's jurik hilo channel, have this version with alerts and arrows.
Image
Or maybe this one?

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 5:54 am
by Chickenspicy
Hmm this looks something like it

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 6:01 am
by Naughty 77
Dear Mr Tools

Im very curious to know if a smoothing option can be added to your G-Channel indicator in some way ?

Thank you kindly

Regards
Naughty 77

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 6:59 am
by mrtools
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.

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 7:03 am
by mrtools
Naughty 77 wrote: Tue Jan 10, 2023 6:01 am Dear Mr Tools

Im very curious to know if a smoothing option can be added to your G-Channel indicator in some way ?

Thank you kindly

Regards
Naughty 77
That code disappeared when my laptop died but shouldn't be hard to bring it back but think on that indicator smoothing would make it lag too much.

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 7:48 am
by Josephfiyin
Dear Mr Tools,

Please can you make the attached indicator MTF.

Thanks for your help.

Re: MT4 Indicator requests and ideas

Posted: Tue Jan 10, 2023 8:06 am
by andrei-1
mrtools wrote: Tue Jan 10, 2023 4:30 am 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));
Thanks.
r-k :lolno: I don't know how to work with rates_total.

I found a solution. :razz: