副图公式三合一(源码)

2011-03-02 19:12:00来源:本站整理浏览:115

N 2 100 9  M1 2 100 3  M2 2 100 3

这是3个附图指标我把他合并在一起了。

95,LINETHICK1,COLORRED;
0,LINETHICK1,COLORRED;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
DPYJ:(K+D)/2,COLORWHITE,LINETHICK2 ;

STICKLINE(DPYJ>95,0,95,2,0),COLORRED;
STICKLINE((DPYJ>94.2 AND DPYJ<95) ,0,95,2,0), COLORYELLOW ;
N:=5;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:8,COLORGREEN,LINETHICK0;
上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
0,LINETHICK2 ,COLORFFCC00;
T:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);
SL:=(T/REF(T,1)-1)*1200;
快短期趋势:=XMA(XMA(XMA(SL,3),3),3);
慢短期趋势:=XMA(XMA(XMA(SL,5),5),5);
X:=快短期趋势-慢短期趋势;
增速1:=X;
Y:=X;
趋势:=XMA(XMA(XMA(SL,29),29),29),COLORLIBLUE,LINETHICK1;
QW1:=趋势>REF(趋势,1);
趋势2:=XMA(XMA(XMA(SL,13),13),13),COLORMAGENTA,LINETHICK1;
QW2:=趋势>0;
趋势3:=XMA(XMA(XMA(SL,9),9),9);
QW3:=趋势3>趋势;
QA6:=趋势2>REF(趋势2,1);
QA8:=((FILTER(ATAN(EMA(快短期趋势,13)-REF(EMA(快短期趋势,13),1))>1 AND
EMA(快短期趋势,13)>REF(EMA(快短期趋势,8),1),10)) AND QA6 AND QW2
AND (ZIG(3,12)>MA(ZIG(3,12),2)));
QA8*10,COLORGREEN;
T1:=V;
SL1:=(T/REF(T,1)-1)*1000;
趋势5:=XMA(XMA(XMA(SL1,20),20),20),COLORYELLOW;
趋势6:=XMA(XMA(XMA(SL1,10),10),10),COLORMAGENTA;
QA9:=趋势6-趋势5;
J:3*K-2*D,COLORFFFFFF,LINETHICK1;
抄底:IF(J<=0,J,DRAWNULL),COLORBLUE,LINETHICK1;
风险:IF(J>=100,J,DRAWNULL),COLORRED,LINETHICK1;
警惕:IF(D>=80,D,DRAWNULL),COLORYELLOW,LINETHICK2;
顶:100,COLORFF00FF,LINETHICK1;
O轴:0,COLORFF00FF,LINETHICK1;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式