RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
DRAWICON(RSI1 RSI2,3,7);
DRAWICON(RSI1 RSI2,2.2,8);
A3:=RSI1 RSI2;
RSIX:IF(A3,3,0),colorred;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1 LWR2,4,7);
DRAWICON(LWR1 LWR2,3.2,8);
A4:=LWR1 LWR2;
LWRX:IF(A4,4,0),colorred;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE BBI,5,7);
DRAWICON(CLOSE BBI,4.2,8);
A5:=CLOSE
BBIX:IF(A5,5,0),colorred;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
DRAWICON(MMS MMM,6,7);
DRAWICON(MMS MMM,5.2,8);
A6:=MMS
MTMX:IF(A6,6,0),colorred;
BIAS:=(C-MA(C,N2))/MA(C,N2);
DIF:=(BIAS-REF(BIAS,16));
DBCD:=SMA(DIF,76,1);
MM:=MA(DBCD,5);
DRAWICON(DBCD MM ,7,7);
DRAWICON(DBCD MM,6.2,8);
A7:=DBCD
BIASX:IF(A7,7,0),colorred;
持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0;
支撑:=LLV(持股,3);
下跌:=MA(持股,12);
转向:=CROSS(持股,下跌);
MA1:=MA(持股,5);
向下:=CROSS(MA1,持股) AND MA1
DRAWICON(持股 下跌 ,8,7);
DRAWICON(持股 下跌,7.2,8);
A8:=持股
持股X:IF(A8,8,0),colorred;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N3),N3)/EMA(EMA(ABS(MTM),N3),N3);
MAZL:=MA(ZLGJ,5);
DRAWICON(ZLGJ MAZL,9,7);
DRAWICON(ZLGJ MAZL,8.2,8);
A9:=ZLGJ MAZL;
TMTX:IF(A9,9,0),colorred;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE OPEN,QJJ*(HIGH-LOW),IF(CLOSE OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));
HSL:=(XVL/20)/1.15;
攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
GJJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
资金流量:=LLJX,LINETHICK0;
DRAWICON(资金流量 0,10,7);
DRAWICON(资金流量 0,9.2,8);
A10:=资金流量
PJJX:IF(A10,10,0),colored;
TYP:=(IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWICON(CCI REF(CCI,1),11,7);
DRAWICON(CCI REF(CCI,1),10.2,8);
A11:=CCI REF(CCI,1);
CCIX:IF(A11,11,00), colored;
TR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD 0 AND HD LD,HD,0),14);
DMM:=EMA(IF(LD 0 AND LD HD,LD,0),14);
PDI:DMP*100/TR;
MDI:DMM*100/TR;
ADX:EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:EMA(ADX,6);
DRAWICON(ADX REF(ADX,1),12,7);
DRAWICON(ADX REF(ADX,1),11.2,8);
A12:=ADX REF(ADX,1);
MDIX:IF(A12,12,0), colored;
MA1:EMA(CLOSE,5);
MA2:EMA(CLOSE,10);
MA3:EMA(CLOSE,20);
MA4:EMA(CLOSE,60);
DRAWICON(MA2 MA3,13,7);
DRAWICON(MA2 MA3,12.2,8);
A13:=MA2
EXPX:IF(A13,13,0); colored;
MID:=(HIGH+LOW+CLOSE)/3;
CR:SUM(MAX(0,HIGH-REF(MID,1)),26)/SUM(MAX(0,REF(MID,1)-LOW),26)*100;
DRAWICON(CR REF(CR,1),14,7);
DRAWICON(CR REF(CR,1),13.2,8);
A14:=CR REF(CR,1);
CRX:IF(A14,14,0); colored;
涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12 AND A13 AND A14) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12 AND A13 AND A14,1)=0,15,0),coloryellow,LINETHICK1;
上涨6:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 ,6,0);
上涨10:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10,10,0);
上涨14:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12 AND A13 AND A14,14,0);
晴天:MACDX+KDJX+RSIX+LWRX+BBIX+MTMX+BIASX+持股X+TMTX+PJJX+CCIX+MDIX+EXPX+CRX=53,LINETHICK0;
雨天:MACDX+KDJX+RSIX+LWRX+BBIX+MTMX+BIASX+持股X+TMTX+PJJX+CCIX+MDIX+EXPX+CRX 0 AND MACDX+KDJX+RSIX+LWRX+BBIX+MTMX+BIASX+持股X+TMTX+PJJX+CCIX+MDIX+EXPX+CRX 53,LINETHICK0;
雪天:MACDX+KDJX+RSIX+LWRX+BBIX+MTMX+BIASX+持股X+TMTX+PJJX+CCIX+MDIX+EXPX+CRX=0,LINETHICK0;