|
马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
DRAWBAND(MA(CLOSE,60),RGB(80,0,0),MA(CLOSE,120),RGB(0,91,0));
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
MA5:=MA(CLOSE,5),COLORWHITE;
MA10:=MA(CLOSE,10),COLORYELLOW;
MA30:=MA(CLOSE,30),COLORMAGENTA;
MA60:=MA(CLOSE,60),COLORGREEN;
MA120:=MA(CLOSE,120),COLORLIMAGENTA;
MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;
VOL5:=MA(VOL,5),COLORWHITE;
VOL10:=MA(VOL,10),COLORYELLOW;
VOL40:=MA(VOL,40),COLORFF00FF;
量托:=VOL5=VOL40ANDCROSS(VOL10,VOL40)ANDREF(VOL10,1)REF(VOL40,1);
DRAWTEXT(量托,L-0.012,''量托''),COLORWHITE;
AA1:=BARSLAST(MA60MA30AND(MA30=MA10ORMA30MA10));
BB1:=REF(COUNT(CMA60,AA1)=AA1,1);
CC1:=CROSS(C,MA60)ANDVOLMA(VOL,5)AND(C-REF(C,1))/REF(C,1)*1003;
芙蓉出水:=BB1ANDCC1,COLOR00FF00;
DRAWTEXT(芙蓉出水,H+0.3,''芙蓉出水''),COLORFF00FF;
STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;
STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
ZJ:=AMOUNT/10000;{资金}
TM:=V-MA(V,10);{量填满}
一穿三:=MA1OANDMA2OANDMA3OANDMA1CANDMA2CANDMA3CANDCLOSEOPEN;
DRAWTEXT(一穿三,L-0.012,''一穿三''),COLORFF00FF;
STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;
{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;
STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)0.667,H,C,0.8,0),COLORBLUE;}
三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))=REF(L,3);
三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))REF(V,3));
三日价涨A:=C=REF(C,1);
三日价涨B:=CREF(C,1);
三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))=REF(L,3);
TIM:=IF(DATE1140214,1,0);
缩倍柱:=(VOL*1.95=REF(VOL,1))*TIM;
百日低量:=(VOL=LLV(VOL,100))*TIM;
倍量柱:=CREF(C,1)*1.04AND(VOL=1.9*REF(VOL,1))*TIM;
四日前倍量柱:=(REF(VOL,3)1.9*REF(VOL,4))*TIM;
四日前高量柱:=(REF(VOL,3)=REF(VOL,4)ANDREF(VOL,3)1.9*REF(VOL,4)AND三日量缩)*TIM;
前三引用不成立:=COUNT(REF(四日前倍量柱,1)AND(REF(三日不破,1)ORREF(三日价涨C,1)),3)=0ANDCOUNT(REF(四日前高量柱,1)AND(REF(三日不破,1)ORREF(三日价涨C,1)),3)=0;
倍量黄金柱:=四日前倍量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;
高量黄金柱:=四日前高量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;
黄金柱:=倍量黄金柱OR高量黄金柱;
次倍量黄金柱:=NOT(黄金柱)AND四日前倍量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;
次高量黄金柱:=NOT(黄金柱)AND四日前高量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;
次黄金柱:=次倍量黄金柱OR次高量黄金柱;
准倍量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前倍量柱AND((三日量缩AND三日价涨C)OR(COUNT(倍量柱,3)=1AND三日不破))AND前三引用不成立;
准高量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前高量柱AND(三日量缩AND三日价涨C)AND前三引用不成立;
准黄金柱:=准倍量黄金柱OR准高量黄金柱;
倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前倍量柱AND三日不破AND三日价涨AAND前三引用不成立;
高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前高量柱AND三日不破AND三日价涨AAND前三引用不成立;
将军柱:=倍量将军柱OR高量将军柱;
次倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱)AND四日前倍量柱AND三日不破AND三日价涨BAND前三引用不成立;
次高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱)AND四日前高量柱AND三日不破AND三日价涨BAND前三引用不成立;
次将军柱:=次倍量将军柱OR次高量将军柱;
准倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱)AND四日前倍量柱AND三日价涨CAND前三引用不成立;
准高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱)AND四日前高量柱AND三日价涨CAND前三引用不成立;
准将军柱:=准倍量将军柱OR准高量将军柱;
BACKSET100:=BACKSET(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱OR准将军柱,4);
FILTER100:=FILTER(BACKSET100,3),NODRAW;
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET102:=BACKSET(次黄金柱,4);
FILTER102:=FILTER(BACKSET102,3);
BACKSET103:=BACKSET(准黄金柱,4);
FILTER103:=FILTER(BACKSET103,3);
BACKSET104:=BACKSET(将军柱,4);
FILTER104:=FILTER(BACKSET104,3);
BACKSET105:=BACKSET(次将军柱,4);
FILTER105:=FILTER(BACKSET105,3);
BACKSET106:=BACKSET(准将军柱,4);
FILTER106:=FILTER(BACKSET106,3);
黄金线下影线:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=REF(L,3);
黄金线实体下端:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=MIN(REF(C,3),REF(O,3))ANDMIN(MIN(L,REF(L,1)),REF(L,2))REF(L,3),LINETHICK0;
黄金线上影线:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=REF(H,3);
黄金线实体上端:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))REF(H,3);
黄金线实体中间:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MIN(REF(C,3),REF(O,3));
黄金线实体中间1:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MIN(REF(C,3),REF(O,3))ANDREF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间2:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MIN(REF(C,3),REF(O,3))ANDREF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间3:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MIN(REF(C,3),REF(O,3))ANDL=MIN(MIN(L,REF(L,1)),REF(L,2));
BACKSET201:=BACKSET(黄金线下影线,4);
FILTER201:=FILTER(BACKSET201,3),NODRAW;
BACKSET202:=BACKSET(黄金线实体下端,4);
FILTER202:=FILTER(BACKSET202,3),NODRAW;
BACKSET203:=BACKSET(黄金线上影线,4);
FILTER203:=FILTER(BACKSET203,3),NODRAW;
BACKSET204:=BACKSET(黄金线实体上端,4);
FILTER204:=FILTER(BACKSET204,3),NODRAW;
BACKSET205:=BACKSET(黄金线实体中间,4);
FILTER205:=FILTER(BACKSET205,3),NODRAW;
BACKSET2051:=BACKSET(黄金线实体中间1,4);
FILTER2051:=FILTER(BACKSET2051,3),NODRAW;
BACKSET2052:=BACKSET(黄金线实体中间2,4);
FILTER2052:=FILTER(BACKSET2052,3),NODRAW;
BACKSET2053:=BACKSET(黄金线实体中间3,4);
FILTER2053:=FILTER(BACKSET2053,3),NODRAW;
BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER201));
BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER202));
BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER203));
BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER204));
BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER205));
BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2051));
BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2052));
BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2053));
最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT2053);
DAY1:=SUMBARS(FILTER100,1),NODRAW;
HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NODRAW;
HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;
HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),NODRAW;
HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;
HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY12,DRAWNULL,REF(LOW,DAY1-2))),0),NODRAW;
HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY13,DRAWNULL,REF(LOW,DAY1-3))),0),NODRAW;
HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY14,DRAWNULL,REF(LOW,DAY1-4))),0),NODRAW;
黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,NODRAW;
立桩量:=VOL=HHV(VOL,40)ANDVOL1.9*REF(VOL,1);
立桩量三日突破:=IF(BARSLAST(立桩量)=1ANDCLOSEREF(HIGH,1),1,IF(BARSLAST(立桩量)=2ANDCLOSEREF(HIGH,2),1,IF(BARSLAST(立桩量)=3ANDCLOSEREF(HIGH,3),1,0)));
立桩量三日不破:=BARSLAST(立桩量)=3ANDREF(LOW,3)=MIN(MIN(C,REF(C,1)),REF(C,2));
BACKSET300:=BACKSET(立桩量三日不破,4);
BACKSET301:=BACKSET(立桩量三日突破,4);
立桩量成立:=FILTER(BACKSET300,3)ANDBACKSET301AND立桩量;
DRAWTEXT(立桩量成立,HIGH*1.01,''↙立桩量''),COLOR00FF00;
DRAWTEXT(FILTER101,LOW*0.986,''↖黄金柱''),COLORYELLOW;
STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(FILTER102,LOW*0.986,''↖次黄金柱''),COLORYELLOW;
DRAWTEXT(FILTER104,LOW*0.986,''↖将军柱''),COLORYELLOW;
STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;
K1:=SUMBARS(FILTER104,1);
STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW;
K2:=SUMBARS(FILTER101,1);
STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW;
强势5:MA(C,5),LINETHICK1;
生命24:MA(C,24),COLORRED,LINETHICK1;
DG1:=(CROSS(强势5,生命24));
DRAWICON(DG1,生命24,1);
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;
EMA3:=EMA(C,3);
DRAWTEXT(FILTER(BB51ANDEMA(X1,7)REF(EMA(X1,7),1),10),
LOW*0.99,''★45''),COLORFFFFFF;
涨家数:INDEXADV,NODRAW,COLORLIMAGENTA;
跌家数:INDEXDEC,NODRAW,COLORGREEN;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORRED;
跌停:=IF((C3-C)*100/C3=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLORGREEN;
VAR1:=CLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,2);
VAR2:=REF(VAR1,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR3:=REF(VAR2,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR4:=REF(VAR3,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR5:=REF(VAR4,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR6:=REF(VAR5,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR7:=REF(VAR6,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR8:=REF(VAR7,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR9:=REF(VAR8,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VARA:=REF(VAR9,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VARB:=REF(VARA,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VARC:=REF(VARB,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
STICKLINE(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR
VAR8ORVAR9ORVARAORVARBORVARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}
VARD:=CLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,2);
VARE:=REF(VARD,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VARF:=REF(VARE,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR10:=REF(VARF,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR11:=REF(VAR10,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR12:=REF(VAR11,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR13:=REF(VAR12,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR14:=REF(VAR13,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR15:=REF(VAR14,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR16:=REF(VAR15,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR17:=REF(VAR16,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
VAR18:=REF(VAR17,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);
STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13OR
VAR14ORVAR15ORVAR16ORVAR17ORVAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;
VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13OR
VAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;
VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR
VAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD};
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2;
PMA:MA(C,5),COLORWHITE,LINETHICK2;
IF(PMAREF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;
IF(PMAREF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;
X:=(3*C+L+O+H)/6;
多空线20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORFF00FF,LINETHICK2;
{用法:黄托底买进,蓝压顶卖出。}
DD:=多空线REF(多空线,1);
IF(DD,多空线,DRAWNULL),COLOR00FFFF,LINETHICK2;
A:=(PMA多空线);
IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;
|
|