网友求助:
图中钱袋出现时提示选股,源码:AA:=REF(CLOSE,1);
杭:SMA(MAX(CLOSE-AA,0),3,1)/SMA(ABS(CLOSE-AA),3,1)*100,COLORDD00FF,LINETHICK3;
龙:SMA(MAX(CLOSE-AA,0),22,1)/SMA(ABS(CLOSE-AA),22,1)*100,LINETHICK5;
DRAWICON(CROSS(杭,龙),龙,9);DRAWICON(CROSS(龙,杭),龙,6);
解答如下:
AA:=REF(CLOSE,1);
杭:=SMA(MAX(CLOSE-AA,0),3,1)/SMA(ABS(CLOSE-AA),3,1)*100;
龙:=SMA(MAX(CLOSE-AA,0),22,1)/SMA(ABS(CLOSE-AA),22,1)*100;
CROSS(杭,龙);