同花顺非常准的趋势主图指标公式

[复制链接]
查看380 | 回复0 | 2021-8-20 23:23:10 | 显示全部楼层 |阅读模式

N1=13;N2=55;N3=65;M=5;
MA$1:MA(CLOSE, N1);
MA$2:MA(CLOSE, N2);
MA$3:MA(CLOSE, N3);
CG:=MA((LOW+HIGH+CLOSE*2)/4,n1);
FHH:=HHV(CG,M);
FH1:=HHV(CG,3);
FH2:=HHV(CG,2);
FLL:=LLV(CG,M);
FL1:=LLV(CG,3);
FL2:=LLV(CG,2);
STICKLINE(MA$1>=FLL ,MA$1,FLL,7,1),color0000AA;
STICKLINE(MA$1<=FHH,MA$1,FHH,7,1),color008800;
PARTLINE(FH1,FH1>REF(FH1,1),RGB(255,0,0),FH1<REF(FH1,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(FH2,FH2>REF(FH2,1),RGB(255,0,0),FH2<REF(FH2,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(FHH,FHH>REF(FHH,1),RGB(255,0,0),FHH<REF(FHH,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(FL1,FL1>REF(FL1,1),RGB(255,0,0),FL1<REF(FL1,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(FL2,FL2>REF(FL2,1),RGB(255,0,0),FL2<REF(FL2,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(FLL,FLL>REF(FLL,1),RGB(255,0,0),FLL<REF(FLL,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(CG,CG>REF(CG,1),RGB(255,0,0),CG<REF(CG,1),RGB(0,255,0)),LINETHICK1;
//XA:FORCAST(CLOSE,N1);
//PARTLINE(XA,XA>REF(XA,1),RGB(255,0,0),XA<REF(XA,1),RGB(0,255,0)),LINETHICK1;STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),colorcyan;STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,8,0),colorcyan;
STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),colorcyan;
STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,8,0),colorcyan;
STICKLINE((OPEN < CLOSE),HIGH,LOW,0,0),colorred;
STICKLINE((OPEN < CLOSE),OPEN,CLOSE,6,1),colorred,LINETHICK3;
STICKLINE((OPEN < CLOSE),OPEN,CLOSE,6,0),coloryellow;

202108202253.jpg

202108202253.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则