将内外比改写成预警公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

内外比公式码:GG:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(V*100,BARSCOUNT(C))),1.05,0.95);ZZ:=IF(GG=0,MA(C,BARSCOUNT(C)),SUM(AMOUNT,BARSCOUNT(C))/SUM(V*100,BARSCOUNT(C)));AA:IF(PERIOD<1,POW(C/ZZ,3)*100,0),COLOR00FFFF;100,COLORRED;BB:EXPMA(AA,20),COLORFFFFFF;STICKLINE(BB>REF(BB,1),100,103,1,1),COLOR0000AA;STICKLINE(BB>REF(BB,1) AND EXPMA(AA,20)>EXPMA(AA,120),100,103,1,0),COLOR0033FF;STICKLINE(BB=6 OR (AA>110 AND AA-BB>=2)) AND C=HHV(C,30),106,6);DRAWICON(AA-BB>4 AND AA>=108 AND C=HHV(C,30),104,2);

解答:

 GG:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(V*100,BARSCOUNT(C))),1.05,0.95);

 ZZ:=IF(GG=0,MA(C,BARSCOUNT(C)),SUM(AMOUNT,BARSCOUNT(C))/SUM(V*100,BARSCOUNT(C)));
 AA:=IF(PERIOD<1,POW(C/ZZ,3)*100,0),COLOR00FFFF;
 BB:=EXPMA(AA,20),COLORFFFFFF;
XG1:=(AA-BB>=6 OR (AA>110 AND AA-BB>=2)) AND C=HHV(C,30); 
XG2:=AA-BB>4 AND AA>=108 AND C=HHV(C,30);
XG: XG1 OR XG2;

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