文华期货指标公式大全,多空主图指标公式源码下载:
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE1(买线 =卖线,REFX1(HHV(H,0),10000),REFX1(LLV(L,0),10000),5,0),COLOR000055;
STICKLINE1(买线 卖线,REFX1(HHV(H,0),10000),REFX1(LLV(L,0),10000),5,0),COLOR663300;
DRAWNUMBER1(ISLASTBAR, C,C,1),COLORMAGENTA;
DRAWLINE(CROSS(BACKSET(L=LLV(L,21),BARSLAST( H=HHV(H,21))+1),0.5),H,CROSS(BACKSET(H=HHV(H,21),BARSLAST( L=LLV(L,21))+1),0.5),L,0),COLORC100FF;
DRAWLINE(CROSS(BACKSET(H=HHV(H,21),BARSLAST( L=LLV(L,21))+1),0.5),L,CROSS(BACKSET(L=LLV(L,21),BARSLAST( H=HHV(H,21))+1),0.5),L,0),COLORC100FF;
DRAWLINE(CROSS(BACKSET(L=LLV(L,35),BARSLAST( H=HHV(H,35))+1),0.5),H,CROSS(BACKSET(H=HHV(H,35),BARSLAST( L=LLV(L,35))+1),0.5),L,0),COLORWHITE;
DRAWLINE(CROSS(BACKSET(H=HHV(H,35),BARSLAST( L=LLV(L,35))+1),0.5),L,CROSS(BACKSET(L=LLV(L,35),BARSLAST( H=HHV(H,35))+1),0.5),L,0),COLORWHITE;
DRAWLINE(CROSS(BACKSET(L=LLV(L,49),BARSLAST( H=HHV(H,49))+1),0.5),H,CROSS(BACKSET(H=HHV(H,49),BARSLAST( L=LLV(L,49))+1),0.5),L,0),COLORYELLOW;
DRAWLINE(CROSS(BACKSET(H=HHV(H,49),BARSLAST( L=LLV(L,49))+1),0.5),L,CROSS(BACKSET(L=LLV(L,49),BARSLAST( H=HHV(H,49))+1),0.5),L,0),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TJ:=D
TJ1:=D
上边线:IF(BARSLAST(TJ),REF(HIGH,BARSLAST(TJ)),NULL),COLORWHITE;
下边线:IF(BARSLAST(TJ),REF(LOW,BARSLAST(TJ)),NULL),COLORMAGENTA;
STICKLINE1(D,上边线*0.996,下边线*1.005,8,0),COLORYELLOW;
STICKLINE1(C O,O,C,3,1),COLORRED;
STICKLINE1(C O,H,C,0,0),COLORRED;
STICKLINE1(C O,L,O,0,0),COLORRED;
STICKLINE1(C O,O,C,3,0),COLORCYAN;
STICKLINE1(C O,H,L,0,1),COLORCYAN;
STICKLINE1(TJ,O,C,2,0),COLORFF00FF;
STICKLINE1(TJ1,O,C,2,0),COLORGREEN;
降:=HHV(EMA(C,3),5),COLORCYAN;
升:=LLV(EMA(C,3),5),COLORRED;
走势:=EMA(C,3),COLORYELLOW;
线上多:IF(走势 降,降,NULL),COLORCYAN,LINETHICK2;
线下空:IF(走势 升,升,NULL),COLORMAGENTA,LINETHICK3;
SJTJ:=1;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
STICKLINE1(X2 =X3 AND SJTJ,LOW,HIGH,0,1),COLORRED;
STICKLINE1(X2 =X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE1(X2 X3 AND SJTJ,LOW,HIGH,0,1),COLORCYAN;
STICKLINE1(X2 X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORCYAN;
STICKLINE1(CROSS(X3,X2) AND SJTJ,OPEN,CLOSE,3.2,0),COLORCYAN;
STICKLINE1(CROSS(X2,X3) AND SJTJ,OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE1((CLOSE OPEN) AND (X2 X3) AND SJTJ,CLOSE,OPEN,3.2,2),COLORCYAN;
STICKLINE1((CLOSE OPEN) AND (X2 =X3) AND SJTJ,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE1((CLOSE OPEN) AND (X2 X3) AND SJTJ,CLOSE,OPEN,3.2,0),COLORCYAN;
STICKLINE1((CLOSE OPEN) AND (X2 =X3) AND SJTJ,CLOSE,OPEN,3.2,0),COLORRED;
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1) =9.8/100;
STICKLINE1(A AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE =9.8/100;
STICKLINE1(B AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
STICKLINE1(B,H,L,0,0),COLORGREEN,LINETHICK1;
STICKLINE1(B,O,C,3.5,0),COLOR008800;
STICKLINE1(B,O,C,2,0),COLOR00AA00;
STICKLINE1(B,O,C,1,0),COLOR00CC00;
STICKLINE1(B,O,C,0.2,0),COLOR00FF00;
指标编写破解微信[13156572780]:0,RGB(191,191,191),NODRAW;
//更多软件指标编写、修改、破解;请添加微信:13156572780,公众号:千寻指标公式,官网:yunxi518.com
STICKLINE1(A,H,L,0,0),COLORYELLOW,LINETHICK1;
STICKLINE1(A,O,C,3.5,0),COLOR008888;
STICKLINE1(A,O,C,2,0),COLOR00AAAA;
STICKLINE1(A,O,C,1,0),COLOR00CCCC;
STICKLINE1(A,O,C,0.2,0),COLOR00FFFF;