极品短线(主图源码A:=EMA((EMA(CLOSE,6)+EMA(CLOSE,7)+EMA(CLOSE,8))/3,3),COLORYELLOW;
轴线:=EMA(A,4),COLORLIMAGENTA;
A2:=EMA((EMA(CLOSE,23)+EMA(CLOSE,24)+EMA(CLOSE,25))/3,3),COLORYELLOW;
AA:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLORYELLOW;
AAA:=EMA(EMA(EMA(AA,1),2),3);
BB:=EMA((EMA(C,13)+EMA(C,14)+EMA(C,15))/3,3);
CC:=BB-(AA-BB);
CCC:EMA(EMA(EMA(CC,1),2),3);
开口值1:=HHV(AA,1)/LLV(CC,1)*100-100,NODRAW;
起:EMA(开口值1,5),NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
AA1:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLORYELLOW;
AAA1:=EMA(EMA(EMA(AA1,1),2),3);
BBB1:=EMA((EMA(C,23)+EMA(C,24)+EMA(C,25))/3,3);
CC1:=BBB1-(AAA1-BBB1);
CCC1:=EMA(EMA(EMA(CC1,1),2),3);
IF( AAA>轴线 AND AAA>REF(AAA,1),AAA,DRAWNULL),COLORYELLOW,LINETHICK4;
IF( CCC<轴线 AND CCC>REF(CCC,1),CCC,DRAWNULL),COLORYELLOW,LINETHICK2;
STICKLINE(C/REF(C,1)>1.091,C,O,2,0),COLORFF1CAE;
BDGD:=C=HHV(C,150);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
突破:=CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;
STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF;
BDDD:=C=LLV(C,150);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:REF(C,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,低点,低点,8,0),COLORWHITE;
BDGD1:=C=HHV(C,30);
GDSJ1:=BARSLAST(FILTER(CROSS(0.8,BDGD1),2))+1;
高点1:REF(C,GDSJ1),COLORRED,POINTDOT,LINETHICK1;
突破1:=CROSS(C,REF(高点1,1)),COLORBLUE,POINTDOT,LINETHICK0;
STICKLINE(GDSJ1<=6,高点1,高点1,8,0),COLORBROWN;
BDDD1:=C=LLV(C,30);
DDSJ1:=BARSLAST(FILTER(CROSS(0.8,BDDD1),2))+1;
低点1:REF(C,DDSJ1),COLORRED,POINTDOT,LINETHICK1;
STICKLINE(DDSJ1<=6,低点1,低点1,8,0),COLORWHITE;
N1:=6;
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
NN:=MIN(RSI2,RSI3);
AAB:=CROSS(NN,80) AND C>REF(C,1)*1.05;
BBA:=NN>=80 AND RSI2>=REF(RSI2,1) AND RSI3>=REF(RSI3,1);
CCA:=(H+L)/2;
IF(AAB OR BBA,CCA,DRAWNULL)CIRCLEDOT,COLORYELLOW;
STICKLINE(C/REF(C,1)>1.091,C,O,2,0),COLORFF1CAE;
上一篇:通达信《双指监控》副图公式分享 下一篇:通达信主图公式源码