~~~~~~高手帮忙改个大智慧-L2指标公式~~谢谢啦!~~~~~

2024-11-02 20:32:31
推荐回答(1个)
回答1:

多头:0,COLOR0000FF;STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;
□空头:0,COLORFF937F;STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),COLORFF937F;
VAR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交总量:VOL,POINTDOT;
主买:IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSEVAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
主买占百分比:买盘/100000,COLORRED;
主卖:IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));
主卖占百分比:-卖盘/100000,COLOR00FF00,POINTDOT;
震动调整:=(买盘 + 卖盘);
STICKLINE((震动调整 < 1),1,震动调整,3,0),COLOR70DB93;
买卖量差百分比:(买盘+卖盘)/100000,COLORFF00FF;
STICKLINE((买卖量差百分比 < 0),0,买卖量差百分比,3,0),COLORWHITE,LINETHICK0;
VAR2:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,2,0),COLORFF0000;
STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,2,0),COLORFFFFFF;
STICKLINE((买盘 > 0),买盘,0,2,0),COLOR0000FF;
成交量大于3日:BETWEEN(V,MA(V,3)*1.1,MA(V,3)*3),POINTDOT,COLOR6699FF;