当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是【薄荷系列】【全部解密】之九:个股生命线(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=MA(C,1)/MA(REF(C,18),18)*100;
- 大盘趋势:MA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,LINETHICK2,COLOR00FFFF;
- 个股生命线:MA(FORCAST(VAR1,20),6)+大盘趋势,COLOR00FF00,LINETHICK2;
- VAR2:=MA(O,1)/MA(REF(O,18),18)*100;
- VAR3:=MA(H,1)/MA(REF(H,18),18)*100;
- VAR4:=MA(L,1)/MA(REF(L,18),18)*100;
- SP:=VAR1;
- KP:=VAR2;
- ZG:=VAR3;
- ZD:=VAR4;
- STICKLINE(KP>=SP ,SP ,KP,7,0 ),COLORFF2020;
- STICKLINE(KP>=SP ,SP ,KP,4,0 ),COLORFF2020;
- STICKLINE(KP>=SP ,SP ,KP,2,0 ),COLORFFFF00;
- STICKLINE(SP>KP,SP,KP,7 ,0 ),COLOR2020FF;
- STICKLINE(SP>KP,SP,KP,4 ,0 ),COLORB0B0FF;
- STICKLINE(SP>KP,SP,KP,2 ,0 ),COLOR00FFFF;
- STICKLINE(SP>KP,KP,ZD,0.5,0 ),COLOR00FFFF;
- STICKLINE(SP>KP,SP,ZG,0.5 ,0 ),COLOR00FFFF;
- STICKLINE(KP>=SP,SP,ZD,0.5 ,0 ),COLORFFFF80;
- STICKLINE(KP>=SP,KP,ZG,0.5 ,0 ),COLORFFFF80;