百分比:=5; zig(3,百分比);{此行可省}; 波峰距离: PEAKBARS(3,百分比,1),NODRAW; 波谷值:=TROUGH(2,百分比,1); 波谷距离:=TRO...
{分时顶底画线} 分时顶:HHV(H,480),COLORFF00FF,DOTLINE; 分时底:LLV(L,480),COLORRED,DOTLINE; {力柱} FF:=(C-...
P:=1; QS:zig(3,P),COLORGREEN; IF(QS>=REF(QS,1),QS,DRAWNULL),COLORRED; DRAWICON(REF(QS,1...
P:=5; QS:zig(3,P),COLORGREEN; IF(QS>=REF(QS,1),QS,DRAWNULL),COLORRED; ↑:=TROUGHBAR...
老笔:=0; G:=MA(C,5);D:=MA(C,10); HH:=REF(H,5)=HHV(H,11); LL:=REF(L,5)=LLV(L,11); FG01:=BacKS...
上证顶:=CONST(BArslAST(DATE<=1150612));{上证指数股灾周期} 上市周期:=CONST(BARSCOUNT(C)); 股灾周期:=CONST(D...
A:=EVERY(BETWEEN(C/REF(C,1),0.97,1.03),5); STICKLINE(A,OPEN,CLOSE,1,0),COLORBLUE; DRAwrECT...
{标准公式} {DIF:EMA(CLOSE,12)-EMA(CLOSE,26); DEA:EMA(DIF,9); macd:(DIF-DEA)*2,COLORSTICK;} {Ma...
N1:=20; N2:=10; N3:=5; AA:=REF(H,N1)=HHV(H,2*N1+1); QY:=BacKSET(AA,N1+1); CC:=FILTER(QY,N1...
M1:=3; {预估成交量} TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD...