九毛八公式指标
我在网上看到的这个强弱指标,但是通达信装不上,请老师修成能装上通达信的指标,谢谢 源码: LC:=REF(CLOSE,1); 品种0:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; IC:=REF(INDEXC,1); 指数0:=SMA(MAX(INDEXC-IC,0),N,1)/SMA(ABS(INDEXC-IC),N,1)*100; 品种强弱:品种0,COLORGREEN; 指数强弱:指数0,COLORMAGENTA,LINETHICK2; 强弱度:品种强弱-指数强弱,COLORWHITE,LINETHICK0; STICKLINE(品种强弱<指数强弱,品种强弱,指数强弱,5,0),COLORGREEN; STICKLINE(品种强弱>指数强弱,品种强弱,指数强弱,5,0),COLORRED;
公式模块:
N:=14;
LC:=REF(CLOSE,1); 品种0:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; IC:=REF(INDEXC,1); 指数0:=SMA(MAX(INDEXC-IC,0),N,1)/SMA(ABS(INDEXC-IC),N,1)*100; 品种强弱:品种0,COLORGREEN; 指数强弱:指数0,COLORMAGENTA,LINETHICK2; 强弱度:品种强弱-指数强弱,COLORWHITE,LINETHICK0; STICKLINE(品种强弱<指数强弱,品种强弱,指数强弱,2,0),COLORGREEN; STICKLINE(品种强弱>指数强弱,品种强弱,指数强弱,2,0),COLORRED;