通达信盛博狙击机构源码
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
持股线:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;
操作线:=持股线-(EMA(C,3)-持股线),COLOR00FFFF,LINETHICK2;
波段线:=MA(C,5),COLORWHITE,LINETHICK2;
S:=(波段线>操作线);
DD:=持股线<REF(持股线,1);
TT:=BARSLAST(CROSS(持股线,波段线));
买点:=TT<=4 AND C>持股线 AND C>波段线;
A1:=FILTER(买点,4);
T2:=BARSLAST(A1);
卖点:=FILTER(T2<=4 AND C<持股线 AND C<波段线,4);
{DRAWICON(卖点,H*1.02,2);}
T3:=BARSLAST(波段线>持股线 AND CROSS(持股线,C));
买点2:=T3<=3 AND CROSS(C,波段线) AND CROSS(C,持股线) AND 波段线>持股线;
T4:=BARSLAST(买点2);
卖点2:=FILTER(T4<=3 AND C<波段线,4);
VAR2:=(C-REF(C,1))/REF(C,1)*100;
VAR3:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,3,1);
J:=3*VAR4-2*VAR5;
VAR6:=J>1*REF(J,1);
VAR7:=LLVBARS(L,50);
VAR8:=SUM(V,VAR7);
VAR9:=HHVBARS(H,50);
VAR10:=SUM(V,VAR9);
VAR11:=(C-REF(O,VAR9))/REF(O,VAR9)*100;
VAR12:=VAR10/CAPITAL*100;
VAR13:=(C-REF(O,VAR7))/REF(O,VAR7)*100;
VAR14:=VAR8/CAPITAL*100;
VAR15:=MA(WINNER(C),3.00)*100;
VAR16:=EMA(VAR4,3.00);
A2:=EMA(VAR4,3.00);
A3:=EMA(A2,3.00);
A4:=EMA(A3,3.00);
A5:=EMA(A4,3.00);
A6:=EMA(A5,3.00);
A7:=EMA(A6,3.00);
VAR17:=EMA(A7,3.00);
VAR18:=EMA(VAR17,3.00);
VAR19:=EMA(VAR18,3.00);
AA:=EMA(A5,6.00);
低吸区域:=LLV(J,AA),LINETHICK2,COLOR0000FF;
上:=IF(MA(H,3)*1.05,30,0)*10-AA;
下:=IF(MA(L,3)*0.96,30,0)*2/低吸区域;
中:=IF(MA(H,3)*1.05,30,0);
电:=J;
高抛区域:=HHV(J,60),COLOR00FFFF;
支撑:=LLV(AA,13);
B0:=MA(C,3);
B01:=MA(C,4);
B1:=(H+L+C)/3;
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=B2-B3;
决策线:=MA((B1-B3)/B4,2)*100,COLORMAGENTA,LINETHICK2;
B6:=HHV(B1,4*15);
B7:=LLV(B1,4*15);
B8:=B6-B7;
B9:=MA((B1-B7)/B8,2)*100;
BA:=HHV(B1,16*15);
BB:=LLV(B1,16*15);
BC:=BA-BB;
BD:=MA((B1-BB)/BC,2)*100;
顶线:=98;
底线:=1;
机构进场:(CROSS(决策线,J) OR CROSS(决策线,A2)) AND CROSS(C,持股线),COLORYELLOW;
TT2:=BARSLAST(机构进场);
机构骗钱:TT2<=3 AND C<持股线 ,COLORGREEN;
- 上一篇公式:通达信动力线副图指标
- 下一篇公式:通达信猛虎捕食副图指标