DRAWGBKLAST(CLOSE>0,STRIP(RGB(55,75,55),RGB(10,10,20),0));
{原神猴探月公式 将原神猴线改名能量线}
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
能量线:YJD,precis2;{探测能量动力,很像KDJ公式的J值}
中线:=0;
PARTLINE(YJD,中线);
DRAWTEXT(cross(YJD,中线),0,'●'),COLORred,ALIGN1;{买入点2}
能量线1:=能量线>=0;
能量线2:=能量线<=0;
{原 庄家克星的抄底逃顶公式 将山水线改名抛留线,去掉倒影线}
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,5);
Var3:=HHV(HIGH,4);
Var5:=(Var1-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
Var6:=SMA(Var5,2,1);
sK:EMA((Var1-Var2)/(Var3-Var2)*100,4),LINETHICK0,precis2;
sD:EMA(0.667*REF(sK,1)+0.333*sK,2),LINETHICK0,precis2;
sJ:2*sK-1*sD,LINETHICK0,precis2;
sKD差:sK-sD,colorred,LINETHICK0,precis2;
抛留线: SMA(Var6,2,1),COLOR889999,LINESTICK;
金叉:if(CROSS(sK,sD),抛留线,0),colorffffff,LINETHICK2;{买入点}
VERTLINE(CROSS(金叉,0.1),2),COLORffffff;
FILLRGN(0,能量线,能量线1,RGB(255,48,48)),LAYER7;