九色国产,午夜在线视频,新黄色网址,九九色综合,天天做夜夜做久久做狠狠,天天躁夜夜躁狠狠躁2021a,久久不卡一区二区三区

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
第三期貨架主副圖代碼
(74)主力騙線點副圖----無未來函數(shù)

{N,5,250,24}

VAR1:= EMA(EMA(CLOSE,13),13);
控盤指數(shù): (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,POINTDOT,COLORFFCCCC;
STICKLINE(控盤指數(shù)<0,控盤指數(shù),0,2,0),COLORGRAY;
無莊控盤: 控盤指數(shù)<0,LINETHICK0,COLORGRAY;
STICKLINE(控盤指數(shù)>REF(控盤指數(shù),1) AND 控盤指數(shù)>0 AND 控盤指數(shù)<3,控盤指數(shù),0,2,1),COLORRED;
STICKLINE(控盤指數(shù)>REF(控盤指數(shù),1) AND 控盤指數(shù)>0 AND 控盤指數(shù)>3,控盤指數(shù),0,2,1),COLORRED;
STICKLINE(控盤指數(shù)>REF(控盤指數(shù),1) AND 控盤指數(shù)>3,控盤指數(shù),3,4,1),COLORFF00FF;
主力控盤: 控盤指數(shù)>REF(控盤指數(shù),1) AND 控盤指數(shù)>0,LINETHICK0,COLORRED;
STICKLINE(控盤指數(shù)<REF(控盤指數(shù),1) AND 控盤指數(shù)>0,控盤指數(shù),0,2,0),COLOR00FF00;
控盤減弱: 控盤指數(shù)<REF(控盤指數(shù),1) AND 控盤指數(shù)>0,LINETHICK0,COLOR00FF00;
VARA:= EMA(0.667*REF(控盤指數(shù),1)+0.333*控盤指數(shù),2);
STICKLINE(控盤指數(shù)>VARA,控盤指數(shù),VARA,2,0),COLORRED;
B2:= 控盤指數(shù)>VARA;
準(zhǔn)備: B2>REF(B2,1) AND 控盤指數(shù)<(-2),COLORYELLOW;
DRAWTEXT(準(zhǔn)備,3,'準(zhǔn)備'),COLORYELLOW;
B1:= (控盤指數(shù)>REF(控盤指數(shù),1) AND 控盤指數(shù)>0)=1;
開始控盤: B1>REF(B1,1),COLORMAGENTA,LINETHICK3;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
買:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWICON(FILTER(買=1,5),L*0.11,1);
DIFF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORWHITE,LINETHICK1;
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;
MACD:2*(DIFF-DEA), COLORSTICK;
MACD1:=2*(DIFF-DEA),COLORRED,NODRAW;
MACD2:=EMA(MACD1,3),COLORCYAN,NODRAW;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLORYELLOW;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORGREEN;
S1:=MACD<0;
S2:= (MACD>=0);
S3:=BARSLAST(CROSS(DIFF,DEA));
S4:=REF(S3,S3+1);
S5:=DEA>REF(DEA,S4);
S6:=DEA;
上成立:=CROSS(DIFF,DEA) AND S5;
下成立:=CROSS(DIFF,DEA) AND S6;
L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));
L2:=EMA(L1,9);
L3:=BARSLAST(CROSS(L1,L2));
L4:=REF(L3,L3+1);
L5:=L2;
變盤:CROSS(L1,L2) AND L5,NODRAW,COLORD6FF9C;
STICKLINE(變盤,5,0,0,1),COLORD6FF9C;
LS:=IF(DIFF>DEA AND DIFF>0,1,0);
加速上揚:IF(REF(LS=0,1) AND LS=1,0.1,0);
XG1:CROSS(MACD1,MACD2) AND MACD1<0,NODRAW;
XG2:CROSS(DIFF,DEA),NODRAW;
M1:=MACD>REF(MACD,1) AND DIFF<DEA;
綠柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5,NODRAW;
DRAWTEXT(綠柱短了,MACD,'買點來了');
DIFL:=EMA(V,12)-EMA(V,26);
DIF:=EMA(C,12)-EMA(C,26);
BL:=DIFL>REF(DIFL,1) AND DIF<REF(DIF,1);
四天: REF(BL,3)=1 AND REF(BL,2)=1 AND REF(BL,1)=1 AND BL;
三天:REF(BL,2)=1 AND REF(BL,1)=1 AND BL;
{VERTLINE(上成立,3),COLORYELLOW;
VERTLINE(下成立,3),COLORRED;}
IF(DIFF>DEA,DIFF,DRAWNULL),COLORFF11CC,LINETHICK1;
IF(DIFF>DEA AND DIFF<0,DIFF,DRAWNULL),COLORRED,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWTEXT(FILTER(D>80,6),H*1.018,'D>80');
DRAWTEXT(FILTER(CROSS(K,D) AND D<26,6),H*0.95,'KD低位金叉'),COLORFFCCCC;
STICKLINE(FILTER(CROSS(K,D) AND D<26,6),H*0.97,H*0.95,4,0),COLORFFCCCC;
DIFFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEAF :=EMA(DIFFF,9);
MACDD:=2*(DIFFF-DEAF);
DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,'MACD低位金叉'),COLORRED;
STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,L-0.1,4,0),COLOR00FF00;
DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.25,'MACD下拐點'),COLORYELLOW;
STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.02,H+0.12,4,0),COLORBLUE;
DRAWTEXT(FILTER(CROSS(MACDD,0),13),L*0.65,'MACD上拐點'),COLORRED;
STICKLINE(FILTER(CROSS(MACDD,0),13),L*0.97,L*0.95,4,0),COLORWHITE;
ROC:=(CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100;
DRAWTEXT(FILTER(CROSS(ROC,0),6),L-2.25,'騙線拐點'),COLORWHITE;
STICKLINE(FILTER(CROSS(ROC,0),6),L-0.02,L-0.15,4,0),COLORFF00FF;
(75)莊見愁三豐副圖----有未來函數(shù)

莊籌線:EMA(WINNER(C)*70,5) COLORRED LINETHICK2;
散籌線:EMA((WINNER(C*1.1)-WINNER(C*0.91))*80,5) COLORGREEN LINETHICK2;
KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100);
AAA:=REF(KS13,1)>KS13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03;
海底活魚:IF(AAA AND REF(C,1)<COST(5),30,0),COLORWHITE LINETHICK2;
(76)主力建倉出貨副圖----有未來函數(shù)

莊籌線:EMA(WINNER(C)*70,5) COLORRED LINETHICK2;
散籌線:EMA((WINNER(C*1.1)-WINNER(C*0.91))*80,5) COLORGREEN LINETHICK2;
KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100);
AAA:=REF(KS13,1)>KS13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03;
海底活魚:IF(AAA AND REF(C,1)<COST(5),30,0),COLORWHITE LINETHICK2;
(77)主力動向副圖----無未來函數(shù)

{注釋:一、土黃線為主力籌碼動向,向上為吸籌,向下為逐步派發(fā)籌碼,土黃線上的土黃色豎線為主力開始籌集的籌碼。
      二、粉紅線為主力做大底位置,當(dāng)土黃色主力籌碼線收集到該線位置,主力就開始做底了,當(dāng)出現(xiàn)買點,切主力籌碼線開始逐步向下派發(fā)籌碼,股價開始拉升就考慮開始買進了。
      三、主力做底周線為黃色線,當(dāng)主力籌碼線接近該線位置說明已經(jīng)見小底了,可以配合買點進行操作。
      四、白色線為中軸線,線以下為中線走壞,線以上為中線走好。
      五、主力做頂軸線為青色橫線。當(dāng)股價上漲,主力籌碼線接近或者破了青色主力做頂線說明主力離做頂不遠了,當(dāng)主力籌碼線向上吸籌碼的時候說明已經(jīng)見大頂了,就要考慮抓緊賣出股票了。
      六、出現(xiàn)紅柱子為買點。
指標(biāo)僅僅是對主力動向的跟蹤,大家可依據(jù)主力動向進行操作,操作紀(jì)律是第一位的。}
VAR1:=1;
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
主力籌碼趨向: (100-VARA)*VAR1,COLOR0099FF;
VARD:=主力籌碼趨向>VAR4;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR11:=EMA(VARF,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
STICKLINE(VARD,VAR4,主力籌碼趨向,1,0),COLOR0099FF;
STICKLINE(VAR20,0,80,1,0),COLORRED,LINETHICK3 ;
主力做底軸線:95,COLORYELLOW ,LINETHICK2 ;
主力做大底軸線:100,COLORMAGENTA ,LINETHICK3 ;
主力做頂軸線:0,COLORCYAN ,LINETHICK2 ;
中線軸: 15,COLORWHITE ,LINETHICK2 ;
(78)知己知彼副圖----有未來函數(shù)

VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR2:=2*ABS(VAR1);
VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR5:=(HIGH+LOW+CLOSE)/3;
VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14));
VAR7:=(VAR5-MA(VAR5,70))/(0.015*AVEDEV(VAR5,70));
VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0);
VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8);
VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VARB:=100-ABS(VARA);
VARC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
VARD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=VAR11-CLOSE;
VAR13:=REF(CLOSE,1);
VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;
VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;
VAR16:=BARSCOUNT(CLOSE);
VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1A:=(SMA(VAR19,4,1)-50)*2;
VAR1B:=SMA(VAR1A,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 AND VAR16>50,80,0);
情報: VAR3;
天線: IF(VARB<90,VARB,100);
紅軍: IF(VAR1>0,VAR1,0),COLORRED, LINESTICK;
綠軍: IF(VAR1<0,VAR2,0),COLORGREEN,LINESTICK;
導(dǎo)彈: VAR20;
預(yù)警系統(tǒng): IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9))+60;
STICKLINE(VAR3>=REF(VAR4,1),VAR3,VAR4,8,0);
STICKLINE(VAR3<REF(VAR4,1),VAR3,VAR4,8,0);
VAR21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
VAR22:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
VAR23:=紅軍>50 AND 預(yù)警系統(tǒng)>60 AND 天線=100;
VAR24:=紅軍>48 AND 預(yù)警系統(tǒng)>60 AND 天線<100;
VAR25:=綠軍>38 AND 預(yù)警系統(tǒng)<55;
VAR26:=導(dǎo)彈>50 AND 天線<90;
VAR27:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VAR28:=VAR3>=REF(VAR4,1) AND CLOSE<REF(CLOSE,1) AND 預(yù)警系統(tǒng)=60 AND 導(dǎo)彈=0 AND 綠軍>=REF(綠軍,1) AND VARC<REF(VARD,1);
DRAWTEXT(VAR21 AND COUNT(VAR21,30)=1,100,'上升通道,持股待長或高拋低吸!'),COLORMAGENTA;
DRAWTEXT(VAR22 AND COUNT(VAR22,30)=1,90,'下降通道,小心無量陰跌! '),COLORLIGREEN;
DRAWTEXT(VAR23 AND COUNT(VAR23,30)=1,70,'上漲過急,需要調(diào)整,短線先拋出! '),COLORRED;
DRAWTEXT(VAR24 AND COUNT(VAR24,30)=1,80,'莊家出貨,大跌在即,中線拋出! '),COLORBLUE;
DRAWTEXT(VAR25 AND COUNT(VAR25,30)=1,50,'不必殺跌,應(yīng)有小反彈 ,跌停除外!'),COLORLIRED;
DRAWTEXT(VAR26 AND COUNT(VAR26,30)=1,30,'堅決搶反彈,但巨量封跌停除外 ')COLORGREEN;
DRAWTEXT(VAR27 AND COUNT(VAR27,30)=1,40,'有大資金進場跡象,關(guān)注!')COLORCYAN;
DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,20,'見頂回落');
(79)死亡谷銀山谷副圖----無未來函數(shù)

{5日下穿10日   5日下穿30日   10日下穿30日    死亡谷
5日上穿10日   5日上穿30日   10日上穿30日    銀山谷
用顏色填充所形成的夾角 }
DRAWBAND(MA(C,5),RGB(200,100,200),MA(C,30),RGB(100,200,100));
DRAWBAND(MA(C,10),RGB(220,100,130),MA(C,30),RGB(100,100,150));
DRAWBAND(MA(C,5),RGB(255,100,230),MA(C,10),RGB(100,100,255));
(80)操盤點位副圖----無未來函數(shù)

STICKLINE(C>0,0,90,6,0),COLORBLACK;
個股資金指數(shù):EMA(((100 * (CLOSE - LLV(LOW,21))) / (HHV(HIGH,21) - LLV(LOW,21))),3),COLORRED;
DRAWBAND(個股資金指數(shù)>10 ,RGB(0,80,0),個股資金指數(shù),RGB(0,80,0));
STICKLINE(C>0,0,10,6,0),COLOR000068;
STICKLINE(C>0,90,100,6,0),COLOR000068;
{JXJD均線角度}
NS:=10;
A:=10*EMA(C,NS);
霸道:50+ATAN((A/REF(A,1)-1)*100)*180/3.1416,COLORYELLOW;
極霸道:MA(霸道,3),COLORGREEN;
AAA:=(O+H+L+C)/4;
A1A:=HHV(AAA,15);
A2A:=LLV(AAA,15);
A3A:=A1A-A2A;
非常道:EMA((AAA-A2A)/A3A,2)*100,LINETHICK2,COLORRED;
50;
AA:=100*(C-REF(C,3))/REF(C,3);
BB:=100*(C-REF(C,4))/REF(C,4);
CC:=100*(C-REF(C,5))/REF(C,5);
呵呵:(AA+2*BB+3*CC)/6,COLORLIGRAY;
MJ_1:=EMA(CLOSE,7)-EMA(CLOSE,19);
MJ_2:=EMA(MJ_1,9);
鎖定:(MJ_2-MJ_1)*100,COLORLIBLUE;
(81)優(yōu)量DDX副圖----無未來函數(shù)

{使用說明:
   1.5日均量線上穿35日均量線,135日均量線,收陽線出笑臉提示。
   2.DDX同時走紅,擇機介入。}
VOL,VOLSTICK;
V05:MA(VOL,5),LINETHICK1;
V35:MA(VOL,35),LINETHICK1,COLORYELLOW ;
VL135:MA(VOL,135),LINETHICK1,COLORBLUE;
ML:=CROSS(V05,VL135) OR CROSS(V05,V35);
DRAWICON(ML AND CLOSE>OPEN,LOW,5);

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
賣量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
進出量:=買量+賣量,COLOR00FFFF;
N:=5;
M:=13;
N日內(nèi)凈流入:SUM(進出量,N),LINETHICK2,COLORGREEN;
流入:IF(N日內(nèi)凈流入>REF(N日內(nèi)凈流入,1),N日內(nèi)凈流入,DRAWNULL),COLORRED,LINETHICK2;
連紅天:BARSLASTCOUNT(進出量>0);
M日內(nèi)翻紅天:COUNT(進出量>0,M),COLORRED;
走熊天:BARSLASTCOUNT(N日內(nèi)凈流入<0),COLORCYAN;
走牛天:BARSLASTCOUNT(N日內(nèi)凈流入>0),COLORRED;
強勢天:BARSLASTCOUNT((N日內(nèi)凈流入>REF(N日內(nèi)凈流入,1))>0 AND N日內(nèi)凈流入>0);
弱勢天:BARSLASTCOUNT((N日內(nèi)凈流入<REF(N日內(nèi)凈流入,1))>0 AND N日內(nèi)凈流入<0);





(十五)高中低界主圖----有未來函數(shù)

{1}
HH:=HHV(H,200);
LL:=LLV(L,200);
上漲:BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(L=LL)+1)),COLOR0000FF,NODRAW;
↑空間%:(C/REF(L,上漲)-1)*100,COLOR00FFFF,NODRAW;
最高%:(HH/REF(L,上漲)-1)*100,COLORFF00FF,NODRAW;
下跌:BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H=HH)+1)),COLOR00FF00,NODRAW;
↓空間%:(C/REF(H,下跌)-1)*100,COLOR888899,NODRAW;
最低%:(LL/REF(H,下跌)-1)*100,COLORFF0000,NODRAW;
天線:REFDATE(REF(H,下跌),DATE),POINTDOT,LINETHICK3,COLORYELLOW;
地線:REFDATE(REF(L,上漲),DATE),POINTDOT,LINETHICK3,COLOR00FF00;
中線:REFDATE((天線-地線)*0.5+地線,DATE),POINTDOT,LINETHICK3,COLOR00FF00;
STICKLINE(上漲=0,天線,地線,0,-1),COLORYELLOW;
STICKLINE(下跌=0,天線,地線,0,-1),COLORGREEN;
DRAWTEXT(下跌=0,地線*1.01,'-最低'),COLOR00FF00;
DRAWTEXT(上漲=0,天線*0.99,'-最高'),COLOR0000FF;
{2}
高:=天線;
低:=地線;
H1:=高-(高-低)*0.191;
H2:=高-(高-低)*0.382;
H3:=高-(高-低)*0.5;
H4:=高-(高-低)*0.618;
H5:=高-(高-低)*0.809;
DRAWTEXT(下跌=0,高,'高'),COLORGREEN;
DRAWTEXT(下跌=0,H1,'809'),COLORCYAN;
DRAWTEXT(下跌=0,H2,'618'),COLORGRAY;
DRAWTEXT(下跌=0,H3,'中'),COLORYELLOW;
DRAWTEXT(下跌=0,H4,'382'),COLORLIRED;
DRAWTEXT(下跌=0,H5,'191'),COLORMAGENTA;
DRAWTEXT(上漲=0,H1,'風(fēng)險'),COLORCYAN;
DRAWTEXT(上漲=0,H2,'高位'),COLORGRAY;
DRAWTEXT(上漲=0,H3,'中'),COLORYELLOW;
DRAWTEXT(上漲=0,H4,'低吸'),COLORLIRED;
DRAWTEXT(上漲=0 ,H5,'盤整'),COLORMAGENTA;
DRAWTEXT(上漲=0,低,'低'),COLORRED;
DRAWTEXT(上漲=5,H*1.02,'5'),COLOR00FFFF;
DRAWTEXT(上漲=8,H*1.02,'8'),COLOR00FFFF;
DRAWTEXT(上漲=13,H*1.02,'13'),COLOR00FFFF;
DRAWTEXT(上漲=21,H*1.02,'21'),COLOR00FFFF;
DRAWTEXT(上漲=34,H*1.02,'34'),COLOR00FFFF;
DRAWTEXT(上漲=55,H*1.02,'55'),COLOR00FFFF;
DRAWTEXT(上漲=89,H*1.02,'89'),COLOR00FFFF;
DRAWTEXT(上漲=144,H*1.02,'144'),COLOR00FFFF;
DRAWTEXT(上漲=180,H*1.02,'180'),COLOR00FFFF;
DRAWTEXT(上漲=250,H*1.02,'250'),COLOR00FFFF;
DRAWTEXT(下跌=5,L*0.98,'-5'),COLOR00FF00;
DRAWTEXT(下跌=8,L*0.98,'-8'),COLOR00FF00;
DRAWTEXT(下跌=13,L*0.98,'-13'),COLOR00FF00;
DRAWTEXT(下跌=21,L*0.98,'-21'),COLOR00FF00;
DRAWTEXT(下跌=34,L*0.98,'-34'),COLOR00FF00;
DRAWTEXT(下跌=55,L*0.98,'-55'),COLOR00FF00;
DRAWTEXT(下跌=89,L*0.98,'-89'),COLOR00FF00;
DRAWTEXT(下跌=144,L*0.98,'-144'),COLOR00FF00;
DRAWTEXT(下跌=180,L*0.98,'-180'),COLOR00FF00;
DRAWTEXT(下跌=250,L*0.98,'-250'),COLOR00FF00;
{3}
C2:=REF(C,1);
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
漲停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,C,O,3.3,0),COLORBLUE;
STICKLINE(跌停,H,L,0,0),COLORBLUE;
STICKLINE(漲停,C,O,3.3,0),COLOR0077FF;
STICKLINE(漲停,C,O,2.8,0),COLOR0099FF;
STICKLINE(漲停,H,L,0,0),COLOR00FFFF;
(十六)籌碼分布主圖----無未來函數(shù)

{參數(shù)TS:1 1000 350/N:1 1000 95
如果自己喜歡可以修改參數(shù)}
DA1:=IF(TS>TOTALBARSCOUNT,TOTALBARSCOUNT,TS);
DA:=IF(CURRBARSCOUNT>DA1,0,DA1);
HI:=REFDATE(HHV(H,DA),DATE);{最高價}
LO:=REFDATE(LLV(L,DA),DATE);
C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);
GZ:=EXP(LN(HI/LO)/15); {對數(shù)格值}
LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);
LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);
LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);
LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);
LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);
LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);
LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);
LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);
LH9:=SUM(IF(C1>=(HI/POW(GZ,9)) AND C1<LO*POW(GZ,7),V,0),DA);
LH10:=SUM(IF(C1>=(LO*POW(GZ,5)) AND C1<LO*POW(GZ,6),V,0),DA);
LH11:=SUM(IF(C1>=(LO*POW(GZ,4)) AND C1<LO*POW(GZ,5),V,0),DA);
LH12:=SUM(IF(C1>=(LO*POW(GZ,3)) AND C1<LO*POW(GZ,4),V,0),DA);
LH13:=SUM(IF(C1>=(LO*POW(GZ,2)) AND C1<LO*POW(GZ,3),V,0),DA);
LH14:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);
LH15:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);
L1:=REFDATE(HHV(LH1,DA),DATE);
L2:=REFDATE(HHV(LH2,DA),DATE);
L3:=REFDATE(HHV(LH3,DA),DATE);
L4:=REFDATE(HHV(LH4,DA),DATE);
L5:=REFDATE(HHV(LH5,DA),DATE);
L6:=REFDATE(HHV(LH6,DA),DATE);
L7:=REFDATE(HHV(LH7,DA),DATE);
L8:=REFDATE(HHV(LH8,DA),DATE);
L9:=REFDATE(HHV(LH9,DA),DATE);
L10:=REFDATE(HHV(LH10,DA),DATE);
L11:=REFDATE(HHV(LH11,DA),DATE);
L12:=REFDATE(HHV(LH12,DA),DATE);
L13:=REFDATE(HHV(LH13,DA),DATE);
L14:=REFDATE(HHV(LH14,DA),DATE);
L15:=REFDATE(HHV(LH15,DA),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10+L11+L12+L13+L14+L15);
STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,
HI*N/100,HI/GZ,0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,
HI/POW(GZ,1)*N/100,HI/POW(GZ,2),0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,
HI/POW(GZ,2)*N/100,HI/POW(GZ,3),0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,
HI/POW(GZ,3)*N/100,HI/POW(GZ,4),0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,
HI/POW(GZ,4)*N/100,HI/POW(GZ,5),0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,
HI/POW(GZ,5)*N/100,HI/POW(GZ,6),0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,
HI/POW(GZ,6)*N/100,HI/POW(GZ,7),0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,7),LO*POW(GZ,8)*N/100,0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,6),LO*POW(GZ,7)*N/100,0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,5),LO*POW(GZ,6)*N/100,0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L11/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,4),LO*POW(GZ,5)*N/100,0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L12/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,3),LO*POW(GZ,4)*N/100,0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L13/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,2),LO*POW(GZ,3)*N/100,0.1,1)COLORA5555A;
STICKLINE(CEILING(DA*L14/SS)*3>=CURRBARSCOUNT,
LO*POW(GZ,1),LO*POW(GZ,2)*N/100,0.1,1)COLORA7777A;
STICKLINE(CEILING(DA*L15/SS)*3>=CURRBARSCOUNT,
LO,LO*POW(GZ,1)*N/100,0.0001,1)COLORA5555A;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);







MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
紅軌道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;
綠軌道:=MA(MA(CLOSE,3),3);
上升:IF(紅軌道>=綠軌道,綠軌道,DRAWNULL),COLORRED,LINETHICK2;
AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
加倉:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);
波段底:=(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));
DRAWICON(加倉,L*0.97,7);
DRAWICON(CROSS(波段底,3),L*0.97,1);
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
賣:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(賣=1,1),HIGH*1.02,'賣'),COLORWHITE;
買:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(買=1,5),LOW-0.03,'買'),COLORRED;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
DRAWTEXT(注意 AND 賣!=1,HIGH*1.02,'減'),COLORFFFF50;
加倉A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
DRAWTEXT(FILTER((CROSS(加倉A,0) OR CROSS(CLOSE,CB)) AND 買!=1,3),LOW-0.03,'加'),COLOR0080FF;
MA18:=MA(C,18);
跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);
DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF;
買價:=((C-REF(MA5,1))/5+MA5)*1.004;  
買條件:=CROSS(C,買價) AND 買價>REF(買價,1);  
醉白K買進:IF(買條件,L,H),COLORWHITE,POINTDOT;  
STICKLINE(買條件,H,L,0,1),COLORWHITE,LINETHICK2;  
STICKLINE(買條件,O,C,4,1),COLORWHITE,LINETHICK2;  
加碼價:=((C-REF(MA10,1))/20+MA10)*1.004;  
加碼條件:=CROSS(C,加碼價) AND 加碼價>REF(加碼價,1);  
醉黃K加碼:IF(加碼條件,L,H),COLORYELLOW,POINTDOT;  
STICKLINE(加碼條件,H,L,0,1),COLORYELLOW,LINETHICK2;  
STICKLINE(加碼條件,O,C,4,1),COLORYELLOW,LINETHICK2;
(十八)黃金牛主圖----無未來函數(shù)

買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(買線,賣線);
SEL:=CROSS(賣線,買線);
STICKLINE(買線>=賣線,LOW,HIGH,0,1),COLORRED;
STICKLINE(買線>=賣線,CLOSE,OPEN,3.2,1),COLORRED;
STICKLINE(買線<賣線,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(買線<賣線,CLOSE,OPEN,3.2,1),COLORGREEN;
STICKLINE(BU,OPEN,CLOSE,3.2,0),COLORYELLOW;
STICKLINE(SEL,OPEN,CLOSE,3.2,0),COLORBLUE;
主力:EMA(CLOSE,10),COLORRED;散戶:EMA(CLOSE,5),COLORYELLOW;綠降:(46.18*EMA
(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
操盤:MA(CLOSE,9),COLORFF9C65,LINETHICK2;界點:MA(CLOSE,20);
AH:HHV(H,100);  
AL:LLV(L,100);AHL:=AH-AL;A23:AL+AHL*0.236,COLORAAAAAA;
A38:AL+AHL*0.382,COLOR00AAAA;
A61:AL+AHL*0.618,COLOR00AAAA;
A76:AL+AHL*0.764,COLORAAAAAA;
A77:AL+AHL*0.500,COLORRED;
DRAWTEXT(ISLASTBAR,AH,'100% '),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,A76,'0.764% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A61,'0.618% '),COLOR00AAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A38,'0.382% '),COLOR00AAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A23,'0.236% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,AL,'最低  '),COLORAAAAAA,LINETHICK2;
DRAWICON(BU,L*0.99,5);
DRAWICON(SEL,H*1.01,4);
(十九)杠上開花主圖----有未來函數(shù)

{在參數(shù)欄填  N  0  8  0  }

下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RRRSV:=SMA(下檔線,3,1);
KKK:=SMA(RRRSV,3,1);
DDD:=((3 * RRRSV) - (2 * KKK));
JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(JJ12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
壓力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;
壓力位:IF(ISLASTBAR,壓力2,DRAWNULL),NODRAW;
STICKLINE(ISLASTBAR ,壓力位,壓力位,120,0),LINETHICK4,COLORFFFFFF;
底部:=LLV(HIGH,30),COLOR00FF00;
底部位:IF(ISLASTBAR,底部,DRAWNULL),NODRAW;
STICKLINE(ISLASTBAR ,底部位,底部位,100,0),LINETHICK4,COLOR00FF00;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);{高點}
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11>REF(R11,1);
DRAWLINE(D1,H,S11,H,1),COLORBLUE;
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);{低點}
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11>REF(T11,1);
DRAWLINE(D2,L,U11,L,1),COLORBLUE;
M:=INTPART(3*N/5);
A12:=REF(H,M)=HHV(H,2*M+1);
B12:=FILTER(A12,M);
C12:=BACKSET(B12,M+1);
D12:=FILTER(C12,M);{高點}
R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);
DRAWLINE(D12,H,S112,H,1),COLORRED;
A22:=REF(L,M)=LLV(L,2*M+1);
B22:=FILTER(A22,M);
C22:=BACKSET(B22,M+1);
D22:=FILTER(C22,M);{低點}
T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1);
U112:=T112>REF(T112,1);
DRAWLINE(D22,L,U112,L,1),COLORRED;
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
壓力:= REF(HIGH,BARSLAST(VAR2222));
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
支撐:= REF(LOW,BARSLAST(VAR4444));
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;




AA05:=MA(C,5),COLOR0099CC;
五日乖離率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;
AA10:=MA(C,10);
AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
三拾日乖離率:=(C-AA30)/AA30*100;
VAR11:=(AA20-AA30)>REF((AA20-AA30),1)
AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);
VAR22:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND
AA30<REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
強勢狙擊:=FILTER(BB30>30 AND BB10>45 AND
CROSS(BB05,60),10);
加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND
AA05>REF(AA05,1)  AND 三拾日乖離率>REF(三拾日乖離率,1) AND
AA10>REF(AA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1)  ,10) ;
清倉:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND
AA05<REF(AA05,1)  AND 三拾日乖離率<REF(三拾日乖離率,1) AND
AA10<REF(AA10,1),10);
DRAWICON(加倉 ,LOW*0.99,23);
DRAWICON(清倉 ,HIGH*1.01,15);
DRAWICON(強勢狙擊 ,LOW*0.99,13);
TYP := (HIGH + LOW + CLOSE)/3;
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,6));
差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
短線:VAR1,COLORWHITE;
中線:VAR6,COLORYELLOW;
下跌:IF(VAR1=VAR6,VAR6, DRAWNULL),COLORGREEN;
TJ1:= CCI1>差值4;
立樁量:=FILTER(TJ1,0);
TJ2:=IF(BARSLAST(立樁量)=1 ,1,IF(BARSLAST(立樁量)=2 ,1,
IF(BARSLAST(立樁量)=3 ,1,0)));
成立1:=TJ2;
條件成立1:=FILTER(成立1,5);
TJ11:= CCI1<-差值4 ;
立樁量2:=FILTER(TJ11,0);
TJ22:=IF(BARSLAST(立樁量2)=1 AND CLOSE>REF(HIGH,1),1,
IF(BARSLAST(立樁量2)=2 AND CLOSE>REF(HIGH,2),1,
IF(BARSLAST(立樁量2)=3 AND CLOSE>REF(HIGH,3),1,0)));
成立2:=TJ22;
條件成立2:=FILTER(成立2,5);
TJ111:=(ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5))
OR (VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);
立樁量3:=FILTER(TJ111,5);
TJ222:=IF(BARSLAST(立樁量3)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立樁量3)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立樁量3)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破3:=TJ222=1;
STICKLINE(CLOSE AND 下跌!= VAR6,REF(HIGH,BARSLAST(立樁量3)),
REF(HIGH,BARSLAST(立樁量3)),10,1),COLORCYAN;
STICKLINE(CLOSE AND 下跌!= VAR6,REF(LOW,BARSLAST(立樁量3)),
REF(LOW,BARSLAST(立樁量3)),10,1),COLORYELLOW;
TJ3:=IF(BARSLAST(立樁量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立樁量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立樁量3)=3 AND CLOSE>REF(LOW,3),1,0)));
三天法則:=TJ3=1;
成立:=三天法則 AND 突破3;
條件成立:=FILTER(成立,5);
TJ31:=(VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);
TJ32:=FILTER(TJ31,1);
IF(條件成立 AND 下跌!= VAR6 AND AA30>=REF(AA30,1),H*1.03,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;
IF(條件成立 AND 下跌!= VAR6 AND AA30>=REF(AA30,1),H*1.03,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;

STICKLINE(C>=O,L,H,0,0),COLORRED;
STICKLINE(C<O,L,H,0,0),COLORFFFF00;
STICKLINE(C>O,C,O,3.2,0),COLORRED;
STICKLINE(1,C,O,2.8,0),COLOR454500;
STICKLINE(1,C,O,2,0),COLOR555500;
STICKLINE(1,C,O,1.5,0),COLOR656500;
STICKLINE(1,C,O,1,0),COLOR757500;
STICKLINE(1,C,O,0.5,0),COLOR858500;
STICKLINE(立樁量,C,O,2.8,0),COLOR000045;
STICKLINE(立樁量,C,O,2.8,0),COLOR000065;
STICKLINE(立樁量,C,O,2,0),COLOR000085;
STICKLINE(立樁量,C,O,1.5,0),COLOR0000A5;
STICKLINE(立樁量,C,O,1,0),COLOR0000C5;
STICKLINE(立樁量,C,O,0.5,0),COLOR0000E5;
DRAWICON(條件成立1,REF(HIGH,BARSLAST(立樁量3)),12);
DRAWICON(條件成立2,REF(LOW,BARSLAST(立樁量3)),11);



本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
底部密鑰;每一次指標(biāo)出現(xiàn)都有一波行情!W
三色飛天源碼下載: DRAWTEXT
通達信主副圖指標(biāo)集錦
壓力支撐線
通達信公式 level2專業(yè)版特色指標(biāo)(源碼)
通信達一些非常好的公式,通信達公式大全了(頁 1) - 公式指標(biāo)與技術(shù)討論 - 我牛股票論...
更多類似文章 >>
生活服務(wù)
熱點新聞
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服