通達信發現莊家主圖指標公式原始碼

指标公式分享發表於2024-03-10
{ 通達信發現莊家主圖指標公式原始碼 }

支撐線:EMA((O+C)/2,20),DOTLINE,COLORCYAN;
妖股起爆:MA(CLOSE,25)+MA(CLOSE,25)*20/100*0.35,COLORRED,LINETHICK2;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
壓力線:(MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25),DOTLINE,COLORYELLOW;
趨勢:=MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1,LINETHICK2,COLORRED;
STICKLINE(趨勢>LOW AND 趨勢<high,趨勢,min(min(open,close),趨勢),2,0),colorgreen;
STICKLINE(趨勢>MIN(C,O) AND 趨勢<max(c,o),趨勢,min(open,close),2,0),colorgreen;
STICKLINE(趨勢>HIGH,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(趨勢>HIGH,HIGH,LOW,0,0),COLORGREEN;
VAR23:=100*MA(MA((C-REF(C,1)),6),6)/MA(MA(Abs((C-REF(C,1))),6),6);
回撥買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND crOSS(VAR23,MA(VAR23,2));
XG:=趨勢>HIGH AND 回撥買 AND L<=趨勢;
STICKLINE(XG,C,O,3,0),COLORLIMAGENTA;
DRAWICON(XG,L,28);
DRAWTEXT(XG,LOW,'發現莊家'),COLORYELLOW;

相關文章