以下是同花顺黄金柱均线指标公式
STICKLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3)
AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),OPEN,CLOSE,6,0),coloryellow;
STICKLINE(VOL/REF(VOL,1)>1.9
AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),OPEN,CLOSE,6,0),coloryellow;
HORLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3)
AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),MIN(REFX(&LOW,1),MIN(REFX(&LOW,2),REFX(&LOW,3))),3,2),colorblue;
HORLINE(VOL/REF(VOL,1)>1.9 AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),MIN(REFX(&LOW,1),MIN(REFX(&LOW,2),REFX(&LOW,3))),3,2),colorblue;
STICKLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3)
AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),OPEN,CLOSE,6,0),coloryellow;
STICKLINE(VOL/REF(VOL,1)>1.9
AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),OPEN,CLOSE,6,0),coloryellow;
HORLINE(VOL>REFX(&VOL,1) AND VOL>REFX(&VOL,2) AND VOL>REFX(&VOL,3)
AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),MIN(REFX(&LOW,1),MIN(REFX(&LOW,2),REFX(&LOW,3))),3,2),colorblue;
HORLINE(VOL/REF(VOL,1)>1.9 AND OPEN<REFX(&CLOSE,1) AND OPEN<REFX(&CLOSE,2) AND OPEN<REFX(&CLOSE,3),MIN(REFX(&LOW,1),MIN(REFX(&LOW,2),REFX(&LOW,3))),3,2),colorblue;
MA1:MA(CLOSE, N1),colorwhite;
MA2:MA(CLOSE, N2),coloryellow;
MA3:MA(CLOSE, N3),colorblue;
MA4:MA(CLOSE, N4),colorred;
MA5:MA(CLOSE, N5),colorgreen;
MA6:MA(CLOSE, N6),colormagenta;
MA7:MA(CLOSE, N7),colorcyan;
MA8:MA(CLOSE, N8),colorgray;
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL>1.79*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),coloryellow;
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0)));
STFZ:=TJ3=1;
CL:=STFZ AND TP;
TJCL:=FILTER(CL,3);
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}