九毛八公式指标
内外比公式码: 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;