通达信四大名爹之放牛郎指标公式
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);
MA5:=MA(C,60);MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);
MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);
N1:=9;M11:=3;M22:=3;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)
-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);
放牛郎公式:=EMA(A1,5),LINETHICK1,COLORFF6600;
A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10,COLORFF0099;
A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1),LINETHICK1,COLOR33FF00;
恨爹不成刚:MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3),LINETHICK2,COLORRED,LINESTICK;
怨爸不双江:IF(恨爹不成刚<REF(恨爹不成刚,1),恨爹不成刚,DRAWNULL),LINETHICK2,COLOR7FFF00,LINESTICK;
放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);
金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);
SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)
AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
我爸卢俊卿:=IF(LAST(OPEN<MA30,10,1) AND (放牛郎博客 OR 金牛)
AND CCI<-180 AND (J<0 OR REF(J<0,1)) AND (SLY OR REF(SLY,1)) AND 恨爹不成刚<10
AND C<MA1 AND C<MA2 AND C<MA30*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98,0.5,0);
李双江:=IF((A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,30) OR L=LLV(L,30))
AND C>REF(C,1)*0.905 AND LLV(K20,5)<10 AND (SSLY OR REF(SSLY,1))
AND C<MA(C,30)*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98
AND (J<10 OR REF(J<5,1)) AND 恨爹不成刚<3,0.5,0);
AA:=恨爹不成刚<0 AND C<MA(C,30)*0.85;BB:=恨爹不成刚<2 AND C<MA(C,30)*0.82;
李刚:=IF((AA OR BB) AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98 AND (J<10 OR REF(J<5,1)),0.5,0);
CXY:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 AND C>O AND H/L>1.038;
王军:=IF((恨爹不成刚<3 OR REF(恨爹不成刚<3,1)) AND C<MA(C,30)*0.85 AND CXY,0.5,0);
DRAWICON(我爸卢俊卿>0,35,24);DRAWICON(我爸卢俊卿>0,30,24);DRAWICON(我爸卢俊卿>0,25,24);
DRAWICON(李双江>0,45,25);DRAWICON(李双江>0,40,25);DRAWICON(李双江>0,35,25);
DRAWICON(李刚>0,55,26);DRAWICON(李刚>0,50,26);DRAWICON(李刚>0,45,26);
DRAWICON(王军>0,15,13);DRAWICON(王军>0,25,13);DRAWICON(王军>0,20,13);
DRAWTEXT(我爸卢俊卿>0,42,'我爸卢俊卿'),COLORYELLOW;
DRAWTEXT(李双江>0,52,'我爸李双江'),COLORGREEN;
DRAWTEXT(李刚>0,62,'我爸是李刚'),COLORWHITE;
DRAWTEXT(王军>0,32,'我爸是王军'),COLORMAGENTA;
DRAWICON(怨爸不双江>85 AND 怨爸不双江<95,93,6);DRAWICON(恨爹不成刚<5,6,3);
- 上一篇公式:通达信有备而来指标公式
- 下一篇公式:通达信机构大户量能指标公式