Originally Posted by igorad There is one of the last versions of the FractalChannel indicator with ability to pre-smooth the Upper/Lower Band Price. Code: //---- input parameters extern int TimeFrame = 0; //TimeFrame in min extern int UpBandPrice = 2; //Upper Band Price(ex.2 for High) extern int LoBandPrice = 3; //Lower Band Price(ex.3 for Low) extern int FractalSize = 2; //Fractal Size in bars (ex. 1-3 bars,2-5 bars,3-7 bars) extern double Margins = 0; //Channel Margins (ex.0.3) extern int PreSmooth = 1; //Pre-smoothing period extern int PreSmoothMode = 0; //Pre-smoothing method(0...26) extern int ChannelMode = 0; //Channel Mode:0-Fractal Channel,1-Chaos Bands Regards, Igor
//---- input parameters extern int TimeFrame = 0; //TimeFrame in min extern int UpBandPrice = 2; //Upper Band Price(ex.2 for High) extern int LoBandPrice = 3; //Lower Band Price(ex.3 for Low) extern int FractalSize = 2; //Fractal Size in bars (ex. 1-3 bars,2-5 bars,3-7 bars) extern double Margins = 0; //Channel Margins (ex.0.3) extern int PreSmooth = 1; //Pre-smoothing period extern int PreSmoothMode = 0; //Pre-smoothing method(0...26) extern int ChannelMode = 0; //Channel Mode:0-Fractal Channel,1-Chaos Bands