网友求助:
VAR0:=(HIGH + LOW + CLOSE)/3;
VAR1:=IF(HIGH=LOW,1,HIGH - MAX(OPEN,CLOSE));
VAR2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN) - VAR0);
VAR3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE) - LOW);
VAR4:=IF(HIGH=LOW,1,VAR0 - MIN(CLOSE,OPEN));
VAR5:=VOL/IF(HIGH=LOW,4,HIGH - LOW);
VAR6:=VAR1 * VAR5;
VAR7:=VAR2 * VAR5;
VAR8:=VAR3 * VAR5;
VAR9:=VAR4 * VAR5;
短线资金:EMA((SUM(((VAR9 + VAR8)- (VAR6 + VAR7)),180)),25),LINETHICK2,COLORYELLOW;
中线资金:EMA(短线资金,60),COLORFFFF33;
长线资金:EMA(中线资金,90),COLORRED;
解答如下:
VAR0:=(HIGH + LOW + CLOSE)/3;
VAR1:=IF(HIGH=LOW,1,HIGH - MAX(OPEN,CLOSE));
VAR2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN) - VAR0);
VAR3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE) - LOW);
VAR4:=IF(HIGH=LOW,1,VAR0 - MIN(CLOSE,OPEN));
VAR5:=VOL/IF(HIGH=LOW,4,HIGH - LOW);
VAR6:=VAR1 * VAR5;
VAR7:=VAR2 * VAR5;
VAR8:=VAR3 * VAR5;
VAR9:=VAR4 * VAR5;
短线资金:=EMA((SUM(((VAR9 + VAR8)- (VAR6 + VAR7)),180)),25);
LAST(C<REF(C,1))>=3 AND LAST(短线资金>REF(短线资金,1))>=2;