//+----------------------------------------------+ //|| 指示器输入参数 //+----------------------------------------------+ input string SirName="ResSup"; //图形对象名称的第一部分 input ENUM_TIMEFRAMES TimeFrame=PERIOD_H1; //搜索极值的图形周期 input uint SignalBar=1; // 用于搜索极值的条形码 input uint iPeriod=24; //价格极值搜索期 input uint iSize=15; //当前图表中以条为单位的水平长度 input uint Digits_=0; //价格四舍五入数位 input color Color_Bg = clrLavender; //背景颜色 //---- input color Color_Up = clrDodgerBlue; //阻力线颜色 input STYLE Style_Up = SOLID_; //阻力线样式 input Width Width_Up = width_4; //阻力线厚度 //---- input color Color_1 = clrBlueViolet; //0.764纤维水平的颜色 input STYLE Style_1 = DASHDOTDOT_; //飞博水平样式 0.764 input Width Width_1 = width_1; //菲波级厚度 0.764 //---- input color Color_2 = clrDarkOrange; //0.618纤维水平的颜色 input STYLE Style_2 = DASH_; //菲波级风格 0.618 input Width Width_2 = width_1; //菲波级厚度 0.618 //---- input color Color_3= clrGray; //斐波水平 0.5 的颜色 input STYLE Style_3 = SOLID_; //飞博等级样式 0.5 input Width Width_3 = width_1; //菲波级厚度 0.5 //---- input color Color_4 = clrDarkOrange; //0.382纤维水平的颜色 input STYLE Style_4 = DASH_; //菲波级风格 0.382 input Width Width_4 = width_1; //菲波级厚度 0.382 //---- input color Color_5 = clrBlueViolet; //0.236斐波水平的颜色 input STYLE Style_5 = DASHDOTDOT_; //飞波级样式 0.236 input Width Width_5 = width_1; //菲波级厚度 0.236 //---- input color Color_Dn = clrMagenta; //辅助线颜色 input STYLE Style_Dn = SOLID_; //支持线条风格 input Width Width_Dn = width_4; //支撑线粗细 //---- input uint FontSize=2; //价格标签的大小

ResSupFibo:
指标显示一种品种的价格走势, 并伴随斐波纳契回撤标记。
作者: Nikolay Kositsin