//+------------------------------------------------------------------+ //| BOSSNoiseSweep.mq5| //| MMQ — Muhammad Minhas Qamar | //| www.mql5.com/en/articles/23491 | //+------------------------------------------------------------------+ #property copyright "MMQ — Muhammad Minhas Qamar" #property link "https://www.mql5.com/en/articles/23491" #property description "Sweeps the retained-coefficient count against a rising noise level on a trend-vs-range task and prints an accuracy grid." #property version "1.00" #property strict #include input int Alphabet = 4; input int Window = 24; input int SeriesLen = 240; //+------------------------------------------------------------------+ //| Trending shape: drift plus a small oscillation and noise. | //+------------------------------------------------------------------+ void MakeTrend(double &out[],int len,double noise) { ArrayResize(out,len); for(int i=0;i