配色: 字号:
擒牛绝技 主图原码(经)
2017-07-18 | 阅:  转:  |  分享 
  
擒牛绝技主图原码MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);FA:=BARSLAST(CROSS
(MA10,MA5))ANDCROSS(MA5,MA10);FB:=FAANDMA5>MA30ANDMA10>MA30
ANDMA10>REF(MA10,1);DRAWTEXT(FB,L-0.58,''★红牛''),COLORRED;V1:=EMA
(CLOSE,5);V2:=EMA(EMA(CLOSE,90)1.01,10);DRAWTEXT(CROSS(V1,V2),V1
+0.05,''牛起步''),COLOR00FF00;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK1
:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))100),5);AK:=EMA((((CLOS
E-VAR1)/(VAR2-VAR1))50),13);AB:=CROSS(AK1,AK);DRAWTEXT((
AB=1),(LOW0.99),''○牛窝''),COLORYELLOW;AA1:=AMOUNT/V;BB1:=L0.9;CC1:=(C-REF(C,1))/REF(C,1)100>1.2;DD1:=LV99FF;DRAWTEXT(老鼠仓,L0.99,''老鼠仓''),COLOR0099FF;VAR3AA:=IF((CLOSE>REF
(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05)AND((H
IGH)/(CLOSE)<1.01)AND(VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>9
0),45),(LOW)(0.93),''★大胆搏''),COLOR00FFFF;DRAWTEXT(FILTER((VAR4AA>
90),35),(LOW)(0.99000001),''★加仓''),COLOR00FFFF;A1AA:=9;A2AA:=(REF(
CLOSE,A1AA+1)-0.5),84),(HIGH)(1.05
),''小心变盘''),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)
/SMA(ABS(C-VAR6),6,1)100;DRAWTEXT(CROSS(82,VAR7),H1.01,''▼逃顶''),C
OLORYELLOW;N:=5;A1:=BACKSET(ISLASTBAR,PEAKBARS(1,N,1)+1);A2:=A1>R
EF(A1,1);B1:=BACKSET(ISLASTBAR,PEAKBARS(1,N,2)+1);B2:=B1>REF(B1,1
);C1:=BACKSET(ISLASTBAR,PEAKBARS(1,N,3)+1);C2:=C1>REF(C1,1);A11:=
BACKSET(ISLASTBAR,TROUGHBARS(2,N,1)+1);A21:=A11>REF(A11,1);B11:=B
ACKSET(ISLASTBAR,TROUGHBARS(2,N,2)+1);B21:=B11>REF(B11,1);C11:=BA
CKSET(ISLASTBAR,TROUGHBARS(2,N,3)+1);C21:=C11>REF(C11,1);①:DRAWLI
NE(B2,H,A2,H,0),COLORBLUE;②:DRAWLINE(C2,H,B2,H,0),COLORCC6633;③:I
F(A1,PEAK(1,N,1),DRAWNULL),COLORFFAA00;④:DRAWLINE(C2,H,A2,H,0),CO
LORLIBLUE;⑤:DRAWLINE(B21,L,A21,L,0),COLORYELLOW;⑥:DRAWLINE(C21,L,
B21,L,0),COLORFF00FF;⑦:DRAWLINE(C21,L,A21,L,0),COLORBROWN;⑧:IF(A1
1,TROUGH(2,N,1),DRAWNULL),COLORRED;T1:=CONST(HHVBARS(V,N));T0:IF(
CURRBARSCOUNT<=N+7,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL);IF(CURR
BARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT;DRAWTEXT(ISLASTBAR,T0,''量能平
台'');A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))100;A5:=EMA(CLOSE,12)
-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5<-0.1ANDA5>A6);财神:IF(A7,LLV
(L,21),DRAWNULL)COLORRED,CIRCLEDOT;AA:=CYS;MIDD:=MA(CYS,20);CC:=M
IDD+0.85STD(CYS,10);TM6:=AA>CC;A0:=(L+H+C2)/4;工作:=EMA(A0,14)COL
ORYELLOW,LINETHICK1;度假:=EMA(A0,25)COLORYELLOW,LINETHICK1;A1X:=(工作
-REF(工作,1))/REF(工作,1)100;A2X:=(度假-REF(度假,1))/REF(度假,1)100;G:=BA
RSLAST(CROSS(A1X,0));MA(CLOSE,20);V3:=(1+7/100)(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);豆豆:=C;HD:=FILTER(C1,10);LD:=FILTER(
C2,10);A:=REF(C,BARSLAST(HD));B:=REF(L,BARSLAST(LD));T2:=BARSLAS
T(HD)>BARSLAST(LD)ANDNOT(LD);压力:IF(T1,A,A),COLORYELLOW,POINTDOT
,LINETHICK3;支撑:IF(T2,B,B),COLORGREEN,POINTDOT,LINETHICK3;LC:=REF(
CLOSE,1);RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-L
C)),3,1))100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(88,RSI),(HIGH1.02),''顶背离''),COLOR1880FF;X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))3.141610;EMA8:=EMA(C,8);
献花(0)
+1
(本文系网络藏书库首藏)