原公式源码:
VAR1:3,LINETHICK1,COLORRED;
VAR100:100,,LINETHICK2,COLORYELLOW;
VAR90:90,LINETHICK1,COLORLIRED;
VAR80:80,LINETHICK3,COLORRED;
VAR70:70,LINETHICK2,COLORYELLOW;
VAR60:60,LINETHICK4,COLORLIMAGENTA;
VAR40:40,LINETHICK1,COLOR9966FF;
VAR0:0,LINETHICK3,COLORRED;
VAR3:((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))),COLORD9D919,LINETHICK3;
DRAWICON(CROSS(VAR3,VAR1),0,25);
DRAWICON(CROSS(VAR3,VAR60),60,1);
=======================
预警公式
VAR3:=((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)));
VAR60:=60;
牛股线:CROSS(VAR3,VAR60);
预警公式也可这样:
VAR3:=((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)));
牛股线:CROSS(VAR3,60); |