一个出现紫k线的选股公式源码

X:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,7)+MA(CLOSE,13)+MA(C,21))/5;
牛熊线:X,COLORWHITE,LINETHICK2;

ZDF:=(C-REF(C,1))/REF(C,1)*100;
 STICKLINE(ZDF>9.85,O,C,3.2,0),COLOR0000FF;
 STICKLINE(ZDF<-9.85,O,C,3.2,0),COLORFF0000;
 DRAWTEXT(ZDF>9.85,L*0.95,'涨停'),COLORRED;
 DRAWTEXT(ZDF<-9.85,L*0.96,'跌停'),COLORBLUE;
 A4:=MA(C,20);
 A5:=(C>MA(C,5));   
 A6:=(MA(C,5)>MA(C,10));  
 A7:=(C>MA(C,10));A8:=(MA(C,5)>MA(C,20));   
 A9:=(C>MA(C,20));A10:=REF(A4,1);   
 A11:=(A4>A10);
 AVX:=(((((IF(A5,10,(0-10))+IF(A6,10,(0-10)))+IF(A7,10,(0-10)))+
 IF(A8,10,(0-10)))+IF(A9,10,(0-10)))+IF(A11,10,(0-10)));
 SC:=REF(AVX,1)<=0 AND AVX>0;
 A1:=AVX>10 AND AVX>=REF(AVX,1) AND AVX>=REF(AVX,2);
 A2:=AVX=60;
 A3:=SC OR A1 OR A2 ;
 STICKLINE(A3,O,C,1.3,0),COLORMAGENTA;
 STICKLINE(A2,O,C,1.3,0),COLORYELLOW;
 CX:=BARSLAST(NOT(A3));
 CX1:=BARSLAST(NOT(A2));
 STICKLINE(A3>0,REF(L,CX)*0.96,REF(L,CX)*0.965,4,0)COLOR0000FF;
 DRAWNUMBER(A2,REF(L,CX)*0.95,CX1)COLORYELLOW;

V1:=DMA((((H+L)+(C*2))/4),0.9);
 HY1:=REF(EMA(V1,3),1);
 DK:=(MA((C-HY1)*28,2))*0.1;
 HS:=V*100/CAPITAL;
 ZL:=MA(HS,4);
 DH:=MA(HS,9);
 ZH:=MA(HS,17);
 SH:=MA(HS,34);
 JL:=(ZL+DH+ZH+SH)/4;
 ZLNL:=(ZL-JL);
 AA1:=DK>=0 AND DK>=REF(DK,1) AND C>=X;AA2:=ZLNL>=0 AND ZLNL>=REF(ZLNL,1) AND C>=X;
 DRAWICON(AA2,L*0.97,27);

DRAWTEXT_FIX(1,0.00,0.00,0,'提示1:线下休息,上线操作'),COLORE837EC;
 DRAWTEXT_FIX(1,0.00,0.05,0,'提示2:粉柱为潜伏点,配合资金使用'),COLORE837EC;
 DRAWTEXT_FIX(1,0.00,0.10,0,'提示3:绿钻机构进'),COLORE837EC;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图