通达信蛟龙出水副图指标公式
源码
蛟龙: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2 , COLORYELLOW;
龙宫: IF(CROSS(蛟龙,MA(蛟龙,10)) AND 蛟龙<=10,35,0),LINETHICK3 , COLORMAGENTA;
蛟龙出宫: IF(CROSS(蛟龙,MA(蛟龙,10)) AND 蛟龙<35,70,0),LINETHICK3 ,
斩龙剑: IF(CROSS(MA(蛟龙,9),蛟龙) AND 蛟龙>70,110,72),LINESTICK ,
Var1:=DRAWICON(CROSS(蛟龙,62),68,1);
Var2:=DRAWICON(CROSS(蛟龙,72),70,1);
Var3:=DRAWICON(CROSS(蛟龙,66),72,1);
Var4:=DRAWICON(CROSS(蛟龙,68),66,1);
Var5:=DRAWICON(CROSS(76,蛟龙),70,2);
Var6:=DRAWICON(CROSS(68,蛟龙),84,2);
Var7:=DRAWICON(CROSS(66,蛟龙),80,2);
Var8:=DRAWICON(CROSS(64,蛟龙),70,2);
买入警戒: IF(蛟龙<=10,30,0),STICK ,COLORFFA2AE,LINETHICK5;
买入信号: IF(CROSS(蛟龙,10),45,0),STICK ,COLORRED ,LINETHICK4;
DRAWTEXT(买入信号,40,'关注!!!') , COLORYELLOW;
卖出警戒: STICKLINE(蛟龙>=90,70,40,4,0) , COLORGREEN;
卖出信号: IF(CROSS(84,蛟龙),100,0),STICK ,COLOR77AAFF,LINETHICK5;
DRAWTEXT(卖出信号,98,'逃!') ,COLOR77AAFF ;
海面: 72 ,COLORCYAN ;
天空: 105;
海底: 10;
蛟龙二: MA(蛟龙,9),LINETHICK2 ,COLORFF0000;
IF(CROSS(蛟龙,MA(蛟龙,6)) AND 蛟龙二<45,蛟龙二,0),COLORCCB3E2 ,LINETHICK3 ;