您的位置 首页 通达信公式

通达信牛郎织女牛回头指标公式

N:=10;
{DRAwrECTREL(0,25,130,999,RGB(0,0,1)),NOFRAME;}
天:100,COLORLIBLUE;
DRAWTEXT(ISLASTBAR,天,'天'),COLORRED;
鹊桥:0,COLORGRAY;
DRAWTEXT(ISLASTBAR,鹊桥,'鹊桥'),COLORGRAY;
地:-100,COLORLIGREEN;
DRAWTEXT(ISLASTBAR,地,'地'),COLOR408000;
VAR22:=((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)))*(100);
VAR33:=EMA(VAR22,10);
VAR44:=EMA(VAR33,10);
VAR55:=(3)*(VAR33)-(2)*(VAR44);
VAR66:=EMA(VAR55,5);
织女:(EMA(VAR66,1)),COLOR007700,LINETHICK1;
DRAWTEXT(ISLASTBAR,织女,'织女'),COLORGRAY;
牛郎:(REVERSE(织女)),COLORLIRED;
DRAWTEXT(ISLASTBAR,牛郎,'牛郎')COLORGRAY;
趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))
/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);
底部:=5;
DRAWTEXT((crOSS(趋势,底部)),0,'◥◤'),COLOR4080FF;
DRAWTEXT(CROSS((趋势),底部),-1,'◢◣'),COLOR4080FF;
{STICKLINE(VARA1 AND (VARA6),-40,40,10,1),COLOR2894FF;}
VARB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
VARB3:=EMA(VARB2,7);
VARB4:=EMA(VARB3,10);
VARB5:=(3)*(VARB3)-(2)*(VARB4);
VARB6:=EMA(VARB5,5);
趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));
{探底:IF((趋势<=5),58,0),COLORFF00FF;};
桥1:=EMA(VARB6,1);
牛回头:IF(REF((COUNT((桥1<=REF(桥1,1)),5)=5),1) AND (桥1>REF(桥1,1)),10,0) AND C>MA(C,120),COLORMAGENTA;
STICKLINE(牛回头,-10,10,1,0),COLORMAGENTA;
DRAWTEXT(牛回头,10,' 牛回头'),COLORMAGENTA;
DRAWTEXT(牛回头,0-10,' 牛回头'),COLORMAGENTA;
mtm1:=MA((CLOSE-REF(CLOSE,13))*31,5),LINETHICK1,COLOR7711EE;
VARF1:=MA(HHV(HIGH,485),17);
VARF2:=MA(HHV(HIGH,222),17);
VARF3:=MA(HHV(HIGH,96),17);
VARF4:=MA(LLV(LOW,485),17);
VARF5:=MA(LLV(LOW,222),17);
VARF6:=MA(LLV(LOW,96),17);
VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+VARF3*0.558)/6,17);
VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF3*0.65)/6,17);
VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3*0.68)/6,17);
VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);
VARFB:=IF(C=C,VARFA,VARFA*DAY);
VARFC:=LOW;
VARFD:=REF(LOW,1);
VARFE:=SMA(Abs(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;
VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);
VARf10:=LLV(LOW,30);
VARF11:=HHV(VARFF,30);
绝佳买点:=IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),100)/(200);
W:=COST(10)*0;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;
DEA:=EMA(DIFF,9),COLORYELLOW;
macd:=2*(DIFF-DEA)*231,STICK,COLORRED,LINETHICK1;
大底:CROSS(绝佳买点,300),COLORRED;
STICKLINE(大底,-70,70,3,1),COLORRED;
DRAWTEXT(大底,70,'大底'),COLORRED,LINETHICK2;
DRAWTEXT(大底,-70,'大底'),COLORRED,LINETHICK2;
反弹:CROSS(绝佳买点,120),COLORLIRED;
STICKLINE(反弹,-50,50,2,0),COLORLIRED;
DRAWTEXT(反弹,50,' 反弹'),COLORLIRED,LINETHICK2;
DRAWTEXT(反弹,-50,' 反弹'),COLORLIRED,LINETHICK2;
超跌:CROSS(绝佳买点,50),COLORLIBLUE;
STICKLINE(超跌,-30,30,1,0),COLORLIBLUE;
DRAWTEXT(超跌,30,' 超跌'),COLORLIBLUE,LINETHICK2;
DRAWTEXT(超跌,-30,' 超跌'),COLORLIBLUE,LINETHICK2;
{DRAWTEXT(CROSS(绝佳买点,1.20000) ,-32,'疯牛'),COLORYELLOW,LINETHICK2 ;
DRAWTEXT(CROSS(绝佳买点,7.00000) ,88,'疯牛3'),COLORCYAN,LINETHICK4;}
{DRAWTEXT(CROSS(绝佳买点,3.60000) ,28,'疯牛2'),COLORFF00FF,LINETHICK4;
DRAWTEXT(CROSS(绝佳买点,2.40000) ,-55,'疯牛1'),COLORFFFFCC,LINETHICK3 ; };

通达信牛郎织女牛回头指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/94689.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部