飞狐多种卖法主图指标公式

[复制链接]
查看149 | 回复0 | 2021-8-21 12:49:33 | 显示全部楼层 |阅读模式

DRAWTEXTEX(1,0,5,0,'绿色填充带-股价格远离30日均线%20'),COLORgreen;
DRAWTEXTEX(1,0,5,20,'蓝色填充带-股价格远离30日均线%30'),COLOrblue;
DRAWTEXTEX(1,0,5,40,'绿色小箭头-上引线过长,放量收阴'),COLOr53a23a;
DRAWTEXTEX(1,0,5,60,'绿色圆点-MACD长期0上后2线大数值死叉'),COLOr00823a;
DRAWTEXTEX(1,0,5,80,'k线灰色填充-价格突破BOLL上轨,高位提示'),COLOr888888;
a1:=(c/ma(c,30)-1)*100;
{指标之家-股票公式网站 www.tdxclub.com}
FILLRGN(a1>20,(l+h)/2,min(c,o)),colorgreen;
FILLRGN(a1>30,(l+h)/2,min(c,o)),colorblue;
a2:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW);
drawicon(a2>=0.6 and v>ref(v,1) and c<o and ref(c,1)>ref(o,1) and c/ref(c,1)<0.99,H*1.01,5);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
a3:=(count(macd>0,30)>=25 and cross(dea,dif)and ref(dea,1)>=1)or (ref(all(macd>0,10),2) and cross(dea,dif) and ref(dea,1)>=1);
drawicon(a3=1,h*1.017,11);
KLINE(o,h,l,c,0);
MID:=MA(CLOSE,26);
UP:=MID + 2*STD(CLOSE,26);
A4:=h>up;
STICKLINE(a4,(c+o)/2,max(c,o),7,0),color555555;

202108211222.jpg

202108211222.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则