网友求助:

我用是飞狐网络版的,其中凡是有INDEXV和INDEXC的大盘函数的指标,都没有显示结果。请问应如何调整才能支持这两个函数呢?谢谢。

 

解答如下:

G1 :(MA(CLOSE,N)-MA(CLOSE,M))/MA(CLOSE,M)*100,LINETHICK1;
G2
:(MA(CLOSE,P)-MA(CLOSE,P1))/MA(CLOSE,P1)*100,COLORBLUE,LINETHICK0;
ZS1
:(MA(INDEXC,N)-MA(INDEXC,M))/MA(INDEXC,M)*100,colorgreen,LINETHICK2;
ZS2
:(MA(INDEXC,P)-MA(INDEXC,P1))/MA(INDEXC,P1)*100,colorYELLOW,LINETHICK0;
QRM:EMA(G1-ZS1,1),PRECISion2,LINETHICK0;
QRS:EMA(G2-ZS2,1),PRECISION2,LINETHICK0;
stickline(qrs>=0,0,qrs,8,1),colorred;
stickline(qrs<0,0,qrs,8,0),colorcyan;
显强:IF(QRS>0
OR QRM>0,
1,0),COLORWHITE,LINETHICK0;
L显强:barslast(显强<=0),colorWHITE,LINETHICK0;
M显强:count(显强>0,M),LINETHICK0;
LM强:barslast(QRM<=0),colorWHITE,LINETHICK0;
LS强:barslast(QRS<=0),colorblue,LINETHICK0;
基准:
0,color999999,LINETHICK1;