以下是14年你必须用的“涨跌测量60天--主图源码”看股价明明白白(无源码的请下载附件导入)
DA:=MAX(MA(C,60),MA(C,120));
DB:=MIN(MA(C,60),MA(C,120));
红持股:C>DA,COLORRED,NODRAW;
绿持币:C<DB,COLORGREEN,NODRAW;
黄观望:DA>=C AND C>=DB,COLORYELLOW,NODRAW;
STICKLINE(C>DA,0.5,1.0,3,0),COLORRED,LINETHICK2;
STICKLINE(C<DB,0.5,1.0,3,0),COLORGREEN,LINETHICK2;
STICKLINE(DA>=C AND C>=DB,0.5,0.8,2,0),COLORYELLOW,LINETHICK2;
654211295.png
|