//#@Fname=SBFX //#@comment=本指标为BLG(中国)Mr:涞金老师定制,该指标仅供参考,并且该指标为本机构内部使用,不作为商业用途,具体咨询维森:duwy212
//#@control=
//#@FuncType=
//#@style=买入信号:Line0,技术指标,2,0,1,5,255;卖出信号:Line0,技术指标,2,0,1,5,65280;世博多头防线:Line0,技术指标,2,0,1,5,65535;
//#@availperiod=2147430400
//#@param=
//#@isDrawCurve=1
//#@Fdesc=世博多头防线
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
DRAWGBK(V>1,STRIP(RGB(129,142,148),RGB(0,0,0),1));
Var1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
买入信号: IF(Var2<MA(Var3,6),MA(Var3,6),Var2),colorred,linethick2 ;
卖出信号: IF(Var1>MA(Var3,6),MA(Var3,6),Var1),colorgreen ,linethick2;
世博多头防线: MA(Var3,6),coloryellow ,linethick2 ;
|
