把以下二指标叠加成一个
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

指标一:VAR1:=AMOUNT/VOL/100; VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,34)/VAR1/100;VAR4:=DMA(VAR2,VOL/VAR3); AA:100*(C-VAR4)/VAR4; BB:MA(AA,13)+STDP(AA,13);指标二:换手:=100*V/CAPITAL; STICKLINE(c>ref(c,1),v,0,7,1),color330099;STICKLINE(换手>8,v/2.5,0,6.9,0),COLORgreen;STICKLINE(c<=ref(c,1),v,0,7,1),COLORbbbbbb;量:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE

解答:

 VAR1:=AMOUNT/VOL/100; 

VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,34)/VAR1/100;
VAR4:=DMA(VAR2,VOL/VAR3); 
AA:100*(C-VAR4)/VAR4,LAYER0; 
BB:MA(AA,13)+STDP(AA,13),LAYER0;
S1:=(HHVALL(AA)-LLVALL(AA));
S2:=(HHVALL(AA)-LLVALL(AA))/HHVALL(V);
S3:=LLVALL(AA);
换手:=100*V/CAPITAL; 
量:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
STICKLINE(c>ref(c,1),S3,S3+V*S2,7,1),color330099;
STICKLINE(换手>8,S3,S3+(v/2.5)*S2,6.9,0),COLORgreen;
STICKLINE(c<=ref(c,1),S3,S3+v*S2,7,1),COLORbbbbbb;
均差:EMA(量,7) - EMA(量,19),COLORGREEN,LINETHICK0;
POLYLINE(C>0,均差*S2+S3),COLORGREEN;

选股票看什么指标最好 >股票指标网