C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- A股:CAPITAL/1000000,LINETHICK0,COLOr0088ff;
- 实际量:=VOL,LINETHICK0;
- AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),POINTDOT,COLORRED;
- 主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL /2)),LINETHICK0,COLORGREEN;
- STICKLINE(C>=REF(C,1) ,0,VOL,2.5,1),COLORRED;
- STICKLINE(C<REF(C,1),0,VOL,2.5,1),COLORGREEN;
- STICKLINE(主买>0,0,主买,2.5,0),COLORRED;
- STICKLINE(主卖<0 ,0,主卖,2.5,0),COLORGREEN;
- 资金异动:=VOL/MA(VOL,55)*100,COLORYELLOW;
- STICKLINE(资金异动>100 ,0,VOL,1,0),COLORYELLOW;
- DRAWTEXT((主买+主卖>0),(V *1.5),'★'),COLORYELLOW;