同花顺事半功倍副图指标
源码
X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;
X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;
X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;
X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;
X5:=V/CAPITAL*(C+O+L+H)/4;
x6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
x7:=IF(x6 0,X5,0-X5);
x8:=H-MAX(C,O)-(MIN(C,O)-L);
x9:=(x7+x8)/2+C-REF(C,1);
x10:=SUM(x9,0)+100;
x11:=EMA(x10,5)+100;
x12:=EMA(x10,13)+100;
x13:=EMA(x10,34)+100;
x14:=EMA(x10,60)+100;
x15:=EMA(x10,120)+100;
x16:=(x11-x12)/EMA(C,13)*100;
x17:=(x11-x13)/EMA(C,13)*100;
x18:=(x11-x14)/EMA(C,13)*100;
x19:=(x11-x15)/EMA(C,13)*100;
x20:=(x19-x16);
y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
y3:=y1-y2;
y4:=100-y3;
y5:=(0-(EMA(y4,1)-50))+50;
y6:=(0-(EMA(y4,12)-50))+50;
Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
Z3:=(Z1-Z2-50)*1.032+50;
Z4:=(2*C+H+L+O)/5;
Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
P0:X4-X1+x20+y5-y6,coloryellow;
P4:(Z3-Z5)/2+P0,colorgreen;
DRAWTEXT(CROSS(p4,p0) AND p4 40,(p4-10),'△'),colored;