波段买点操作主图公式改为选股公式
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: 请高手帮忙改下 ,买入提示不多, Z:=MA(C,120); VAR3:=(MA(C,5)-Z)/Z; VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3); D1:DRAWTEXT(CLOSEZ AND REF(VAR4,1)30 AND VAR4REF(VAR4,1) AND REF(VAR4,1)REF(VAR4,2) ,0.99*LOW ,'★
-
文章来源:股海网作者:股海网发布时间:2019-09-16浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
Z:=MA(C,120);
VAR3:=(MA(C,5)-Z)/Z;
VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);
D1:DRAWTEXT(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) ,0.99*LOW ,'★B'),COLORRED;
D2:DRAWTEXT(REF(VAR4,1)<7 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.1,0.99*LOW ,'★B'),COLORGREEN;
D3:DRAWTEXT(CROSS(VAR4,5) AND VAR3<-0.3,0.99*LOW ,'★B'),COLORBLUE;
在这先谢过大大。。。
VAR3:=(MA(C,5)-Z)/Z;
VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);
{以上为公式主体}
红颜色B买点:
CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) ;
绿B买点:
REF(VAR4,1)<7 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.1;
蓝B买点:
CROSS(VAR4,5) AND VAR3<-0.3;