Disliked{quote} I'm interested in testing these numbers. This is my version. {file} {image}Ignored
Inserted Code
//+------------------------------------------------------------------+
// Composite Score (0–100)
int NoiseScore()
{
double eff = 1.0 - ATR_Efficiency(Lookback); // low eff = noise
double comp = MathMin(CompressionValue(0)/3.0,1.0);
double adx = MicroADX();
double adxNoise = (adx < 15) ? 1.0 : (adx > 30 ? 0.0 : (30-adx)/15.0);
double score = 0;
if(Formula == Simple)
score = (eff + comp + adxNoise)/3.0;
else
if(Formula == Weighted)
score = (0.5*eff + 0.2*comp + 0.3*adxNoise);
return (int)(score*100.0);
}
//+------------------------------------------------------------------+ .ex4/.ex5 files can't be fixed or modified / I'm not a coder!
1