偷偷建仓(副图 源码)
VAR1:=REF(LOW,1);
VAR2:=((SMA(ABS((LOW - VAR1)),3,1) / SMA(MAX((LOW - VAR1),0),3,1)) * 100);
VAR3:=EMA(IF((CLOSE * 1.2),(VAR2 * 10),(VAR2 / 10)),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=((EMA(IF((LOW <= VAR4),((VAR3 + (VAR5 * 2)) / 2),0),3) / 1000) * VAR6);
偷偷建仓:STICKLINE(VAR7,0,VAR7,6,1),COLORRED;
短期见底:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*
10,STICK,COLORYELLOW,LINETHICK2;
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:SMA(VAR13,3,1),COLORFFFFFF;
D1:SMA(K1,3,1),COLORFFFFFF,LINETHICK2;
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K2:SMA(VAR21,3,1),COLOR0000FF;
D2:SMA(K2,3,1),COLOR0000FF,LINETHICK2;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K3:SMA(VAR34,3,1),COLORFF8800;
D3:SMA(K3,3,1),COLORFF8800,LINETHICK2;
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(VAR55,3,1),COLOR00FF00;
D55:=SMA(K55,3,1),COLOR008000;
DIBU:= K1<20 AND D1<20 AND K2<20 AND D2<20 AND K3<20 AND D3<20 AND D55<20;
STICKLINE(DIBU=1,-2,5,1,0),COLORRED;
TOBU:= K3>80 AND K2>80 ;
STICKLINE(TOBU=1,100,95,1,0) ,COLORGREEN;
DD:=-10;
黄色:=SMA(L,21,2)*0.95;
绿色:=SMA(C,2,1);
买:CROSS(绿色,黄色)*60;
80;
20;
45;
DRAWICON(LONGCROSS(D1,K1,0.1),D1,2),COLORRED;
DRAWICON(LONGCROSS(K1,D1,0.1),K1,1),COLORGREEN;
110;
- 上一篇公式:KDJ、MACD金叉共振
- 下一篇公式:超级副图(源码)