以下是同花顺极品短线指标公式

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;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。