通达信三色飞天主图指标 源码 贴图
2021-11-29 10:01:00来源:本站整理浏览:1128
通达信三色飞天主图指标 源码 贴图
DRAWTEXT_FIX(1,0,100,0,'★公式网 WWWGPXIAZAICOM★'),COLOR666666;
DRAWTEXT(CROSS((100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),99),C*1.02,'★'),COLORYELLOW;
VAR3:=EMA((EMA(C*V,3)/EMA(V,3)+EMA(C*V,6)/EMA(V,6)
+EMA(C*V,12)/EMA(V,12)+EMA(C*V,24)/EMA(V,24))/4,13);
白支撑:1.06*VAR3,COLORWHITE,LINETHICK2;
VAR4:=EMA(C,9);
紫上轨:EMA(VAR4*1.14,5)COLORFF00FF,LINETHICK2;
天线:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORRED,LINETHICK2;
飞天:MA(CLOSE,180),COLOR00B7FF,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
X:=REF(J,1)<10 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
X0:=REF(J,1)>99 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
K0:=REF(K,1)>83 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
K1:=REF(K,1)<11 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
STICKLINE(X,L ,L,20,0),COLOR008888;
STICKLINE(X,C ,O,1,0),COLORFF00FF;
STICKLINE(X0,O ,C,1,0),COLORWHITE;
STICKLINE(K0,O ,C,1,0),COLOR1880FF;
STICKLINE(K1,C ,O,90,2),COLOR00CCFF;
Y:=(MA(C,5)-REF(MA(C,5),1))/MA(C,5)>0.015;
JJ:=CLOSE>=REF(HHV(HIGH,300),1);
Q:=C/REF(C,1)>1.065;
突破1:=(Y AND JJ AND Q);
DRAWICON(突破1,L*0.91,11);
T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
必杀线:=DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK3,COLOR0000FF;
市场成本:IF(CURRBARSCOUNT<INTPART(PPART(4)*100/2),CONST(COSTEX(REF(C,3),REF(C,4)))*1.03,DRAWNULL),LINETHICK3,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT<4 AND CROSS(C,市场成本) AND C/REF(C,1)>1.05,L,'-突破买!'),COLORMAGENTA;
DRAWTEXT(市场成本 AND ISLASTBAR,市场成本*0.99,'市场成本');
A0:=((L + H) + (C * 2)) / 4;
AAA1:=EMA(A0,14);{WWW.GPXIAZAI.COM}
A1X:=(AAA1-REF(AAA1,1)) / REF(AAA1,1) * 100;
G1:=BARSLAST(CROSS(A1X,0));
真妖:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLOR00B7FF,LINETHICK2;
DRAWTEXT(ISLASTBAR,真妖,' 真妖'),COLORYELLOW;
MA3:=MA(C,3);
MA5:=MA(C,5),LINETHICK2;
压力:=HHV(MA5,60),LINETHICK2;
CY:=EMA((EMA(C*V,3)/EMA(V,3)+EMA(C*V,6)/EMA(V,6)
+EMA(C*V,12)/EMA(V,12)+EMA(C*V,24)/EMA(V,24))/4,18);
支撑:=1.06*CY,LINETHICK2;
上轨:=XS.LUP;
IF(上轨>REF(上轨,1),上轨,DRAWNULL),COLORRED;
史高:REF(HHV(H,BARSCOUNT(C)),1)LINETHICK0;
史高线:STICKLINE(CROSS(C,史高) AND HHV(H,3)=HHV(H,0),史高,史高,8,0)COLORWHITE;
DC:=EMA((C-EMA((2*C+H+L)/4,30))/EMA((2*C+H+L)/4,30)*10,3);
HY:=SCR(90)/10;
涨停:=C>REF(C,1)*1.098 AND C=H;
牛二1:=REF(COUNT(MA5>上轨,7)>=1 AND(MA5>REF(MA5,1) OR C>REF(C,1)OR C>O),1)AND CROSS(C,MA5) AND C>支撑 AND MA5>REF(MA5,1) AND C>O AND C>REF(C,1)*1.015 ;
牛二2:=REF(COUNT(MA5>上轨,8)>=1 AND CROSS(C,MA5),1) AND MA5>REF(MA5,1) AND C>O AND C>REF(C,1)*1.015 ;
牛二3:=REF(COUNT(EVERY(涨停 AND C>O,3),6)>=1 AND(MA5>REF(MA5,1) OR C>REF(C,1)OR C>O),1)AND CROSS(C,MA5) AND C>支撑 AND MA5>REF(MA5,1) AND C>O AND C>REF(C,1)*1.015 ;
DRAWTEXT(牛二1 OR 牛二2 OR 牛二3,L*0.93,'牛二')COLORCYAN;
- 上一篇公式:通达信黑马坑回调买副图指标 光头就买 源码 贴图
- 下一篇公式:通达信做空副图/选股指标 两个信号 源码 贴图