楠木軒

一躍而起選股技術指標公式源碼

由 梁丘憐翠 發佈於 財經

VAR1:=(CLOSE*2+HIGH+LOW)/4;

SK:=EMA(VAR1,13)-EMA(VAR1,55),COLORFF00FF, LINETHICK1;

SD:=EMA(SK,2), LINETHICK1;

多方能量:=2*(SK-SD)*3.8*20,COLORRED,LINETHICK2;

空方能量:=(-2)*(SK-SD)*3.8*20, LINETHICK2;

YUWEI:=MA(CLOSE,1)-MA(CLOSE,7);

MA1:=MA(C,3);

X:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,7)+MA(CLOSE,13)+MA(C,21))/5;

操盤線:=MA1;

多空線:=X;

趨勢:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);

判斷:=SMA(趨勢,3,1);

VAR2:=MA(CLOSE,20);

布林極限:=100*(CLOSE-VAR2)/STD(CLOSE,20);

布林值:=EMA(布林極限,10);

Y:=布林極限>=布林值;

A:=VOL*CLOSE;

B:=SUM(A,1)/SUM(VOL,1);

B1:=EMA(B,8);

敢死隊:=(B-B1)*100/B;

LB:=V/REF(MA(V,5),1);

HS:=V/CAPITAL*100;

去除停牌:=DYNAINFO(4)>0;

ST退本月解禁:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR NAMELIKE('退市') OR INBLOCK('本月解禁'));

XG:CROSS(操盤線,多空線) AND CROSS(多方能量,空方能量) AND CROSS(趨勢,判斷) AND 趨勢34.8,0.5) AND CROSS(YUWEI,0) AND CROSS(Y,0.5) AND ST退本月解禁 AND 去除停牌;