大智慧强势回调主图指标公式
2020/11/30 18:44:13
所属板块:=BKNAME;
每股市盈率:=DYNAINFO(39);
每股净资产:=FINANCE2(4);
每股收益:=FINANCE2(3);
流通盘大小:=FINANCE2(37)/1000000*100;
DRAWTEXTABS(10,28,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,COLORCYAN;
DRAWTEXTABS(10,48,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORCYAN;
DRAWTEXTABS(10,68,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORCYAN;
DRAWTEXTABS(10,88,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORCYAN;
DRAWTEXTABS(10,08,'所属板块:'+所属板块),COLORCYAN;
{强势回调}
MA13:MA(C,13),COLORRED,LINETHICK2;
K1:=BACKSET(MA13<REF(MA13,1),2);
PARTLINE(MA13,K1,RGB(0,200,0)),COLOR00CC33,LINETHICK2;
MA34:=EMA(C,34);
MA55:=EMA(C,55);
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=MA(RSV,2.5);
D:=MA(K,2.5);
J:=3*K-2*D;
JJ:=J<20;
STICKLINE(REF(J,1)<20 AND EMA(C,13)>REF(EMA(C,13),1) AND NOT(JJ),(C+O)/2,O,5,0),ColorFF00FF;
DRAWTEXT(REF(J,1)<20 AND EMA(C,13)>REF(EMA(C,13),1) AND NOT(JJ) ,L-0.3, '←强势回调'),ColorFF00FF;
{金蜘蛛}
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA34);
L1:=MIN(MIN(MA5,MA13),MA34);
一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
STICKLINE(一阳穿三线,O,C,2,0),Color00FFFF;
DRAWTEXT(一阳穿三线,L-0.1, '金蜘蛛'),Color00FFFF;
{金叉113}
Ma1:=EMA(C,1);
金叉:=CROSS(MA1,MA13) AND MA34>REF(MA34,1) AND V>REF(V,1)*1.20;
STICKLINE(金叉,O,(C+O)/2,3,0),Color0080FF;
DRAWTEXT(金叉,L-0.2, '←113金叉'),ColorFFFFFF;
ac:=AMOUNT/(VOL);
yy:=MA(ac,13);
lll:=(C-yy)/yy*100;
MIDc := MA(CLOSE,22);
UPPERc:= MIDc + 2*STD(C,22);
LOWERc:= MIDc - 2*STD(C,22);
bba:=(C-lowerc)/(upperc-lowerc);
LIFENGcyc:=(REF(lll,1)<-15 AND REF(bba,1)<0 AND lll>REF(lll,1));
STICKLINE(lifengcyc>0,C,O,8,0),colorred;
STICKLINE(lifengcyc>0,C,O,7,0),color1029FF;
STICKLINE(lifengcyc>0,C,O,6,0),color1040FF;
STICKLINE(lifengcyc>0,C,O,4,0),color1083FF;
STICKLINE(lifengcyc>0,C,O,2,0),color10ABFF;
STICKLINE(lifengcyc>0,C,O,1.5,0),color10D0FF;
STICKLINE(lifengcyc>0,C,O,1,0),color10FFFF;
DRAWTEXT(LIFENGcyc>0,LOW*0.99,'刀☆'),LINETHICK5,colordd00dd;
{操盘手BS}
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorYELLOW,linethick4;
drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorFFFF00,linethick4;
PT := REF(HIGH,1)-REF(LOW,1);
{金印组合}
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.03 AND ABS(O-C)/O<0.02 AND C>MA(C,30);
JYZHV:=V<REF(V,1) ;
JYZH:=JYZHK AND JYZHV;
DRAWTEXT(JYZH,L,'←金印'),linethick3,coloryellow;
{以下定义坚决买进}
var77:=ema(amount/vol/100,3);
var88:=ema(var77,88);
var99:=ema(var77,88)*0.85;
varah:=var99*0.87;
varbh:=low<varah and close>ref(close,1)*1.02;
drawtext(filter(varbh,6),l-0.08,'←坚决买进'),linethick3,colorff00ff;
{以下设置强势狙击}
BB05:=atan(((MA(C,5))/ref((MA(C,5)),1)-1)*100)*180/3.1416;
BB10:=atan(((MA(C,10))/ref((MA(C,10)),1)-1)*100)*180/3.1416;
BB30:=atan(((MA(C,30))/ref((MA(C,30)),1)-1)*100)*180/3.1416;
强势狙击:=filter(BB30>30 and BB10>45 and cross(BB05,60),10);
drawtext(强势狙击,LOW*0.98,'←强势狙击'),linethick3,colorwhite;
{以下定义资金进场}
VAR3e:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));
VAR4e:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));
VAR5e:=VAR3e>REF(VAR4e,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR5e AND COUNT(VAR5e,30)=1,low,'←资金进场'),linethick3,COLORYELLOW;
{以下定义顶底背离}
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←底背离'),linethick3,Color0000FF;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'←顶背离'),linethick3,Color00FF80;
看 股吧公式 www. kanguba.com
其它股票公式列表