通达信分时好帮手主图指标公式
2020/10/7 18:30:59
量价:=(VOL/CLOSE)/3;
A2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
A3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
A6:=A2+A3;DD1:=1;比:=A2/A3;
AAA1:=STRCAT(STRCAT('买= ',CON2STR((100*A2)/A6,0)),'%');
AAA2:=STRCAT(STRCAT('卖= ',CON2STR((100*A3)/A6,0)),'%');
AAA3:=STRCAT(STRCAT('差= ',CON2STR((100*(A2-A3))/A6,0)),'%');
DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORRED;
DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN;
DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;
IF(MACD.DEA<0,C,DRAWNULL),COLORYELLOW ,LINETHICK9;
A1:=IF((CURRBARSCOUNT = 1),((VOL * 240) / FROMOPEN),VOL);
AA2:=((A1 * 10000) / FINANCE(7));
AA3:=CONST(BARSLAST((AA2 = HHV(AA2,180))));
A4:=IF((CURRBARSCOUNT <= (AA3 + 1)),CONST(REF(((((CLOSE + OPEN) + HIGH) + LOW) / 4),AA3)),DRAWNULL);
A5:=A4;
止盈价:A5,COLORYELLOW;
止盈:=VARCAT(VARCAT('止赢价:',VAR2STR(止盈价,2)),'元');
DRAWTEXT_FIX(ISLASTBAR,0.99,0.99,1,止盈)COLOR8000FF;
投股票 网 www.tou18. cn
股市公式下载推荐