Description:
This nifty indicator evaluates four different types of regression—linear, quadratic, logarithmic, and exponential—to find the one that fits your data the best. It's like having a personal assistant that does all the heavy lifting for you!
Every time a new tick hits, this analysis is automatically run, keeping you up-to-date with the latest market movements.
// ---- inputs// dp_limiter It should be >2 . If not it will be autoset to default value// endpos Last value position to the right. It should be >0. If not it// will be autoset to default value// record [true] - record on; [false] - record offexternint dp_limiter = 100; // Number of data pointsexternint endpos = 0; // Last value positionexterndouble multStdDev = 1.96; // Bands separationexternbool record = false; // Record info into a file text
In the top-left corner of your chart, you'll see four values popping up. These numbers represent the dispersion of your data in relation to its regression. The smaller the value, the better the fit. Plus, this indicator has a handy feature that lets you record these values into a text file for further analysis—perfect for those who love to dig deeper!



Comments 0