Attachments forums

List of attachments posted on this forum.


All files on forums: 161128

Re: WPR Indicators for MT4

mrtools, Sat Apr 26, 2025 10:16 am

Cazz223 wrote: Tue Apr 22, 2025 7:11 pm Hi, Mr. Tools,
I noticed that the OverBought and OverSold settings don't have effect on MA_Cross.
I experimented by fiddling with the following lines (as in pix attached)

Could you kindly comment if they are aligned with the intent of the indicator please?

Thank you
Williams %R (WPR) On-chart

Hello, the ma cross is the wpr smooth crossing the channel middle line and nothing to do with the overbought and oversold settings. The overbought and oversold settings are mainly used in placing the outer bands in the channel. But, found something I missed in the last version should be fixed in the version I am posting.

On the draw arrow function it should be

if (trend[i] == 1) drawArrow("2",1,i,arrowsUpColor,arrowsUpCode,false);
if (trend[i] ==-1) drawArrow("2",1,i,arrowsDnColor,arrowsDownCode,true);


not

if (trend[i] == 1) drawArrow("2",1,i,arrowsUpColor,arrowsUpCode,false);
if (trend[i] ==-1) drawArrow("2",1,i+1,arrowsDnColor,arrowsDownCode,true);


For additional On-chart indicators, please see:
All files in topic