以下是同花顺多股线公式

同花顺多股线公式

一个好的指标不是吹出来的,而是朋友们自己试用后给的结果

源码

A:=(3*C+H+L+O)/6;

XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;

YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;

YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;

SMH:EMA(YCZXH,21),coloryellow,LINETHICK1;

SML:EMA(YCZXL,21),coloryellow,LINETHICK1;

SMJ:(SML+SMH)/2,coloryellow,LINETHICK1;

PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;

A1:EMA(PJ,3),colorwhite;

A2:EMA(PJ,5),colorwhite;

A3:EMA(PJ,7),colorwhite;

A4:EMA(PJ,9),colorwhite;

A5:EMA(PJ,11),colorwhite;

LX:=REF(XJ,1);

ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;

KX1:=(CLOSE>=OPEN) AND ZD>=50;

KX2:=(CLOSE<OPEN) AND ZD>=50;

KX3:=(CLOSE>=OPEN) AND ZD<50;

KX4:=(CLOSE<OPEN) AND ZD<50;

IF(A5<REF(A5,1),A5,DRAWNULL),colorcyan,LINETHICK1;

IF(A5>REF(A5,1),A5,DRAWNULL),colorred,LINETHICK1;

IF(A4<REF(A4,1),A4,DRAWNULL),colorcyan,LINETHICK1;

IF(A4>REF(A4,1),A4,DRAWNULL),colorred,LINETHICK1;

IF(A3<REF(A3,1),A3,DRAWNULL),colorcyan,LINETHICK1;

IF(A3>REF(A3,1),A3,DRAWNULL),colorred,LINETHICK1;

IF(A2<REF(A2,1),A2,DRAWNULL),colorcyan,LINETHICK1;

IF(A2>REF(A2,1),A2,DRAWNULL),colorred,LINETHICK1;

IF(A1<REF(A1,1),A1,DRAWNULL),colorcyan,LINETHICK1;

IF(A1>REF(A1,1),A1,DRAWNULL),colorred,LINETHICK1;

DRAWTEXT((CLOSE<MMM),MMM,’*’),COLOR00FF00,LINETHICK1;

DRAWTEXT((CLOSE>MMM),MMM,’*’),COLOR0000FF,LINETHICK5;

同花顺多股线公式

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