Attachments forums

List of attachments posted on this forum.


All files on forums: 159943

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

chris006, Tue Aug 19, 2025 6:33 am

Made a customised version of Panel1 - corrected ADR% calculation. Also:
  • automatic decimals in price,
  • bidratio calculation,
  • yesterday bidratio (yesterday high and low) vs today price (=breakout of yesterday high or low)
  • today range vs average ADR
chris006 wrote: Mon Aug 18, 2025 1:39 am Hi Xard,

I see that the Panel 1 (version XU v016) shows a different value for ADR% than previous versions of the indicator.

In file XU PANELS NEW , at line 348 the code is:

double adrAvgRaw = (adr5 + adr10 + adr20) / 3;

Previous calculations included yesterday's ADR with the calculation being something as:

double averageADR= ((yrange + fiveDRange + tenDRange + twentyDRange) / 4);

Is the change in calculation deliberate?
XARD: Thanks for pointing it out -- it should be double averageADR= ((yrange + fiveDRange + tenDRange + twentyDRange) / 4);
All files in topic