在筹码线指标中持仓线变绿色时做选股
-
相关简介:编写要求: VAR1:=DMA(AMOUNT/V/100,V/CAPITAL); 筹码线:VAR1*1.1; 牛熊线:COST(75); 持仓线:MA(CLOSE,20), COLORGRAY; STICKLINE(C0,O,C,4,0) ,COLORBLUE; STICKLINE(C0,H,L,0.4,0) ,COLORBLUE; A:=CLOSE筹码线 AND CLOSE牛熊线 AND CLOSE持仓线; B:=CLOSE筹码线 AND CLOSE牛熊线 AND CLOSE持仓线; STIC
-
文章来源:股海网作者:股海网发布时间:2015-06-09浏览次数:
编写要求:
VAR1:=DMA(AMOUNT/V/100,V/CAPITAL); 筹码线:VAR1*1.1; 牛熊线:COST(75); 持仓线:MA(CLOSE,20), COLORGRAY; STICKLINE(C>0,O,C,4,0) ,COLORBLUE; STICKLINE(C>0,H,L,0.4,0) ,COLORBLUE; A:=CLOSE>筹码线 AND CLOSE>牛熊线 AND CLOSE>持仓线; B:=CLOSE>筹码线 AND CLOSE<牛熊线 AND CLOSE>持仓线; STICKLINE(A>0,O,C,4,0), COLORYELLOW; STICKLINE(A>0,H,L,0.4,0), COLORYELLOW; STICKLINE(B>0,H,L,0.4,0) ,COLORMAGENTA; STICKLINE(B>0,O,C,4,0), COLORMAGENTA; IF(CLOSE>牛熊线,牛熊线,DRAWNULL),COLORMAGENTA ,LINETHICK2; IF(CLOSE>持仓线,持仓线,DRAWNULL),COLORGREEN ,LINETHICK2; IF(CLOSE>筹码线,筹码线,DRAWNULL),COLORRED, LINETHICK2; 请问老师COST和CAPITAL 这2个函数对选股有什么影响
www.guhai.com.cn股海网解答:
持仓线:=MA(CLOSE,20);