午夜视频在线网站,日韩视频精品在线,中文字幕精品一区二区三区在线,在线播放精品,1024你懂我懂的旧版人,欧美日韩一级黄色片,一区二区三区在线观看视频

分享

【圖】編寫指標(biāo)的參考原碼大放送

 海天云騫 2017-06-05
30.動(dòng)力線警戒線

INPUT: P1(2.8,2,3.2),P2(3.2,3.2,3.5),P3(3.5,3.5,3.8);
Var2:=LLV(LOW,10);
Var3:=HHV(HIGH,25);
警戒線:=p1 ;
減倉(cāng)線:=p2 ;
賣出線:=p3 ;
動(dòng)力線:=EMA((CLOSE-Var2)/(Var3-Var2)*4,4);
DRAWTEXT(CROSS(動(dòng)力線,警戒線),2,'警惕?。?'),colorwhite,ALIGN0;
DRAWTEXT(CROSS(動(dòng)力線,減倉(cāng)線),2.8,'逢高減磅?。。?'),ALIGN0;
DRAWTEXT(CROSS(動(dòng)力線,賣出線),3.5,'考慮出局'),ALIGN0;
DRAWICON(CROSS(動(dòng)力線,警戒線),3,2),ALIGN0;
DRAWICON(CROSS(動(dòng)力線,減倉(cāng)線),3.4,2),ALIGN4;
DRAWICON(CROSS(動(dòng)力線,賣出線),3.9,2),ALIGN4;
{DRAWBKBMP(C>O,' 003');}
jj:=(HIGH+LOW+CLOSE+OPEN)/4;
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,20);
Var4:=MA(CLOSE,30);
h1a:=(var1+var2+var3+var4)/4;
{STICKLINE(C>MA(h1a,13),MA(h1a,13),MA(h1a,13),8,0),colorYELLOW,linethick5;}
{IF C>MA(h1a,13) THEN MA(h1a,13),colorred ELSE MA(h1a,13),colorblue;}
STICKLINE(CLOSE>0,jj,jj,7,0),colorgreen;
{STICKLINE(C<MA(h1a,13),MA(h1a,13),MA(h1a,13),3,0),color005500,linethick3;}
DRAWBKBMP(CLOSE>=OPEN or CLOSE<OPEN,'003');
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,20);
Var4:=MA(CLOSE,30);
h1a:=(var1+var2+var3+var4)/4;
{STICKLINE(C>MA(h1a,13),MA(h1a,13),MA(h1a,13),8,0),colorYELLOW,linethick5;}
{IF C>MA(h1a,13) THEN MA(h1a,13),colorred ELSE MA(h1a,13),colorblue;}
STICKLINE(CLOSE>=OPEN,HIGH,LOW,1,0),COLOR0000FF;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),COLOR0000FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,1),COLOR0000FF;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,1,0),COLORFF0000;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),COLORFFFF00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,8,0),COLORcyan;


31.

input:ma1(3,1,100);
DRAWICON(cross(c,ma1),l*0.98,4);
DRAWTEXT(cross(c,ma1),l*0.98,'買入')
//收盤價(jià)上穿均線1,則顯示“買入”或向上的箭頭
//收盤價(jià)上穿均線MA1顯示買入信號(hào)的公式怎么編?


32.

Var1:=VOL/CAPITAL*100;
V0L換手率: Var1;
Var2:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
Var3:=1/WINNER(CLOSE);
Var4:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var5:=100-ABS(Var4);
Var6:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var7:=SMA(Var6,20,1);
Var8:=SMA(Var7,15,1);
Var9:=100-3*Var7+2*Var8;
VarA:=((EMA(IF(Var9>REF(Var9,1),Var9,Var9-3),3)-50)*(-1)*2/2+50)/10;
VarB:=EMA(AMOUNT,13)/EMA(VOL,13);
VarC:=(VarB/REF(VarB,1)-1)*100;
VarD:=VOL/CAPITAL*100;
VarE:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
VarF:=(VarA+VarD)*VarE*VarC;
Var10:=REF(CLOSE,1);
Var11:=SUM(IF(CLOSE>Var10,VOL,0),26)/SUM(IF(CLOSE<=Var10,VOL,0),26)*100;
Var12:=IF(Var11<70,70,Var11);
Var13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var14:=SMA(Var13,3,1);
Var15:=SMA(Var14,3,1);
Var16:=3*Var14-2*Var15;
Var17:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var18:=SMA(Var17,6,1);
Var19:=SMA(Var18,3,1);
Var1A:=3*Var18-2*Var19;
Var1B:=IF(CROSS(Var16,Var1A) AND Var1A<20,-1,0)+IF(CROSS(Var1A,Var16) AND Var1A>80,1,0);
Var1C:=(HIGH+LOW+CLOSE)/3;
Var1D:=(Var1C-MA(Var1C,14))/(0.015*AVEDEV(Var1C,14))/2;
Var1E:=SMA(MAX(CLOSE-Var10,0),6,1)/SMA(ABS(CLOSE-Var10),6,1)*100;
Var1F:=LLV(LOW,36);
Var20:=HHV(HIGH,36);
Var21:=EMA((CLOSE-Var1F)/(Var20-Var1F)*100,9);
Var22:=IF(Var1D>100 AND Var21>50 AND CLOSE>OPEN,0.5,0)+IF(Var1E>80 AND Var21>50 AND CLOSE>OPEN,0.5,0);
Var23:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
Var24:=SMA(Var23,21,1);
Var25:=SMA(Var14,3,1);
Var26:=3*Var24-2*Var25;
Var27:=IF(Var26>80 AND Var1E>88,0.5,0);
Var28:=MA(CLOSE,80)-MA(CLOSE,13)/3;
Var29:=MA((CLOSE-Var28)/Var28,1)*100;
Var2A:=EMA(Var29,12)*0.7;
Var2B:=EMA(Var29,3);
Var2C:=SUM(VOL/CAPITAL,15);
Var2D:=CLOSE/LLV(CLOSE,120)*100;
Var2E:=(CLOSE+OPEN)/2;
Var2F:=(HIGH+LOW)/2;
Var30:=IF(CLOSE>REF(CLOSE,1),MAX(Var2E,Var2F),MIN(Var2E,Var2F));
Var31:=SUM(Var30*VOL,20)/SUM(VOL,20);
Var32:=(Var31-CLOSE)/Var31*100*(-1);
Var33:=EMA(Var32,2);
Var34:=MA(Var32,24);
Var35:=(Var33-Var29)*(-1);
Var36:=EMA(Var29,6)-50;
Var37:=MA(Var35,6)-50;
Var38:=EMA((HIGH+LOW+CLOSE)/3,9);
Var39:=(Var36-Var37)/20+EMA((HIGH+LOW+CLOSE)/3,9);
Var3A:=(Var39-Var38)*200;
Var3B:=IF(Var3A<REF(Var3A,1) AND REF(Var3A,1)>38 AND REF(Var3A,1)>REF(Var3A,2),10,0);
減四分一: IF(VarF>50 AND VarF<100 OR Var1B+Var22+Var27>0,-2.5,0);
減三分一: IF(VarF>100 AND VarF<200 OR Var3B>0,-3.3,0);
減二分一: IF(VarF>200,-5,0);
減三分二: IF(Var2>1.1 AND Var2<1.15 AND Var2<REF(Var2,1) OR Var2>1.15 AND Var2<REF(Var2,1),-6.7,0);
警示錄: MIN(MIN(減四分一,減三分一),MIN(減二分一,減三分二));
STICKLINE(CLOSE>OPEN,0,Var1*1,6,0);
STICKLINE(CLOSE>OPEN,0,Var1*0.8,6,0);
STICKLINE(CLOSE>OPEN,0,Var1*0.6,6,0);
STICKLINE(CLOSE>OPEN,0,Var1*0.4,6,0);
STICKLINE(CLOSE>OPEN,0,Var1*0.2,6,0);
STICKLINE(CLOSE<=OPEN,0,Var1*1,6,0);
STICKLINE(CLOSE<=OPEN,0,Var1*0.8,6,0);
STICKLINE(CLOSE<=OPEN,0,Var1*0.6,6,0);
STICKLINE(CLOSE<=OPEN,0,Var1*0.4,6,0);
STICKLINE(CLOSE<=OPEN,0,Var1*0.2,6,0);


33.三線開(kāi)合

{n:11  3   30}
input:n(11,3,30);
[三線開(kāi)合]: POLYLINE(CLOSE<0,CLOSE), , COLORWHITE;
Var1:=(HIGH+LOW+CLOSE+OPEN)/4;
Var2:=HHV(Var1,N);
Var3:=LLV(Var1,N);
Var4:=Var2-Var3;
Var5:=SMA((Var1-Var3)/Var4,3,1)*100;
Var6:=HHV(Var1,4*N);
Var7:=LLV(Var1,4*N);
Var8:=Var6-Var7;
Var9:=SMA((Var1-Var7)/Var8,3,1)*100;
VarA:=HHV(Var1,11*N);
VarB:=LLV(Var1,11*N);
VarC:=VarA-VarB;
VarD:=SMA((Var1-VarB)/VarC,3,1)*100;
短期相對(duì)價(jià)位: Var5, , COLORRED;
中期相對(duì)價(jià)位: Var9, , COLORYELLOW;
長(zhǎng)期相對(duì)價(jià)位: VarD, , COLORGREEN;
天線: 90, , POINTDOT COLORCYAN;
地線: 10, , POINTDOT COLORCYAN;
中線: 50, , POINTDOT COLORCYAN;


4.

超級(jí)無(wú)限:=EMA(CLOSE,2760),COLOR00FFFF;
超8:=EMA(CLOSE,1380),COLOR0000FF;
超7:=EMA(CLOSE,720),COLORFF0000;
超6:=EMA(CLOSE,240),COLOR00FF00;
超5:=EMA(CLOSE,120),COLORD4FF74;
超4:=MA(CLOSE,60),COLORFF80FF;
超3:=EMA(CLOSE,30),COLORE0FFFF;
超2:=EMA(CLOSE,10),COLORC0C0C0;
超1:=EMA(CLOSE,5),COLORA800A8;
回歸:=COST(1.64),COLORE1E4FF;
A1:=(REF(H,1)+REF(L,1))/2;
A2:=MA(C,3.82)+2*STD(C,3.82);
aa:=cross(A1,A2);
DRAWICON(aa,low,8);
A3:=REF(C,1);
A4:=SMA(MAX(C-A3,0),8,1)/SMA(ABS(C-A3),8,1)*100;
bb:=cross(21,A4);
DRAWICON(bb,low,2);
A5:=EMA((超4-8)/(A1-3.75)*100,7);
A6:=EMA(0.667*REF(A5,1)+0.333*A5,5);
A7:=COUNT(C<REF(C,1),8)/8>0.6 AND V>=1.5*MA(V,5) AND
          COUNT(A5>=A6,3)>1 AND REF(最低價(jià),1)=LLV(最低價(jià),120);
DRAWICON(A7>0,low,4);
A8:=COUNT(C<REF(C,1),13)/13>0.6 AND COUNT(A5>=A6,3)>1 AND
    REF(L,5)=LLV(L,120) AND C>=REF(O,4) AND C>REF(O,3) AND
    C>REF(O,2) AND O>REF(C,1);
A9:=MA(收盤價(jià),80)-MA(收盤價(jià),10)/3;
A10:=C<A9 AND V/240>MA(成交量,5)/240 AND C>REF(C,1)*1.08 AND C<MA(C,13)*1.3;

DRAWICON(A10>0,low,1);



35.

{差價(jià)圖}
{根據(jù)丁圣元的理論編寫的}

{INPUT: N 60, 0, 5000;}
NN:=IF(BARSSINCE(C)<=N,BARSSINCE(C)-1,N);
A:=BACKSET(ISLASTBAR,NN+1);
B:=BARSLAST(A>REF(A,1));
D:=REF(C,B);
DZ:=100/D;
E:=REF(INDEXC,B);
EZ:=100/E;
DD:=C*DZ;
EE:=INDEXC*EZ;

CJT:DD-EE;
SS:MA(CJT,5);
SM:MA(CJT,13);
MM:MA(CJT,21);
ML:MA(CJT,34),colorred;
0;


36.

{OAMV}
Var1:=SMA(AMOUNT,10,1)/1000000;
Var2:=REF(Var1,1);
Var3:=MA(REF(CLOSE,1),5);
收盤:Var1*CLOSE/Var3*1/10,COLOR009900,LINETHICK0,POINTDOT;
開(kāi)盤:Var1*OPEN/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最高:Var1*HIGH/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最低:Var1*LOW/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
生命線:EMA(收盤,12),COLORCYAN;              
昨收盤:=REF(收盤,1),POINTDOT,COLOR009900,LINETHICK0;
漲跌:=(收盤-REF(收盤,1))/REF(收盤,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE(收盤>開(kāi)盤,收盤,開(kāi)盤,5,0),COLORRED;
STICKLINE(收盤>開(kāi)盤,最高,MAX(收盤,開(kāi)盤),0,1),COLORRED;
STICKLINE(收盤>開(kāi)盤,MIN(收盤,開(kāi)盤),最低,0,1),COLORRED;
STICKLINE(收盤<開(kāi)盤,收盤,開(kāi)盤,5,0),COLORGREEN;
STICKLINE(收盤<開(kāi)盤,最高,MAX(收盤,開(kāi)盤),0,1),COLORGREEN;
STICKLINE(收盤<開(kāi)盤,MIN(收盤,開(kāi)盤),最低,0,1),COLORGREEN;



37.

ma(c,5);
ma(c,10);
ma(c,20);
ma(c,30);
Var1:=(CLOSE+HIGH+LOW)/3;
Var2:=HIGH-LOW;
Var4:=VAR1+VAR2;
Var5:=VAR1-VAR2;
Var6:=2*VAR1-LOW;
Var7:=2*VAR1-HIGH;
TD:=DATE="ezstock@TDATE";
NTD:=NOT(DATE="ezstock@TDATE");
c2:="ezstock@lc";
o2:="ezstock@lo";
h2:="ezstock@lh";
l2:="ezstock@ll";

C1:=IF(TD,Var6,C2);
O1:=IF(TD,Var7,O2);
H1:=IF(TD,Var4,H2);
L1:=IF(TD,Var5,L2);

SZ:=C1>=REF(C1,1);
R:=(C1>O1 OR (C1=O1 AND SZ));
G:=(C1<O1 OR (C1=O1 AND NOT(SZ)));

stickline(R,o1,c1,8,1)colorred;
stickline(R,c1,h1,0,1)colorred;
stickline(R,l1,o1,0,1)colorred;

stickline(G,c1,o1,8,0)colorcyan;
stickline(G,o1,h1,0,0)colorcyan;
stickline(G,l1,c1,0,0)colorcyan;


Var8:="Hepu@HII"(1);
Var9:=REF(Var8,1);
DRAWTEXT(Var9>0 AND Var1,Var1,' 【預(yù)測(cè)】'),COLORRED;




39.

Var2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
Var3:=(20*Var2+19*REF(Var2,1)+18*REF(Var2,2)+17*REF(Var2,3)+16*REF(Var2,4)+15*REF(Var2,5)+14*REF(Var2,6)+13*REF(Var2,7)+12*REF(Var2,8)+11*REF(Var2,9)+10*REF(Var2,10)+9*REF(Var2,11)+8*REF(Var2,12)+7*REF(Var2,13)+6*REF(Var2,14)+5*REF(Var2,15)+4*REF(Var2,16)+3*REF(Var2,17)+2*REF(Var2,18)+REF(Var2,20))/210;
Var4:=MA(Var3,13);
Var5:=EMA(MA(CLOSE,3),34);
Var6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
Var7:=MA(Var6,5);
Var8:=MA(Var6,10);
〖空頭市場(chǎng)〗: STICKLINE(IF(Var3<Var5,Var3<=1.015*Var4,Var3<=1.005*Var4),Var3,Var4,10,1), ,COLOR006600 ;
〖多頭市場(chǎng)〗: STICKLINE(Var3>1.005*Var4,Var3,Var4,10,1), , COLOR003366;
『腦電波上升』: DRAWTEXT(FILTER(MA(Var6,10)<Var7,1),Var8,'↑'), , COLORRED;
『腦電波下跌』: DRAWTEXT(FILTER(MA(Var6,10)>=Var6,1),Var8,'↓'), , COLORGREEN;
『多空安全線』: Var5,circledot , COLORWHITE;
〖關(guān)注點(diǎn)〗: STICKLINE(COUNT(Var3>1.005*Var4 AND Var3<=REF(Var3,1),2)=2 OR COUNT(IF(Var3<Var5,Var3<=1.015*Var4,Var3<=1.005*Var4) AND Var3>=REF(Var3,1),2)=2,Var3,Var4,10,0), , COLORYELLOW;
★買入點(diǎn): DRAWTEXT(REF(CROSS(Var3,Var4),2) AND Var3>1.005*Var4,Var4,'★買入點(diǎn)'), ,COLOR999966 ;
『多空爭(zhēng)奪點(diǎn)』: DRAWTEXT(CROSS(Var6,Var7) AND Var7<Var8,Var3*0.99,'▲'), , COLORBLUE;
DRAWTEXT(CROSS(Var7,Var6) AND Var7>Var8,Var3*1.01,'▼'), , COLORBLUE;
Var9:=1/WINNER(CLOSE);
VarA:=MA(CLOSE,13);
VarB:=100-ABS((CLOSE-VarA)/VarA*100);
VarC:=LLV(LOW,75);
VarD:=HHV(HIGH,75);
VarE:=(VarD-VarC)/100;
VarF:=SMA((CLOSE-VarC)/VarE,20,1);
Var10:=SMA((OPEN-VarC)/VarE,20,1);
Var11:=3*VarF-2*SMA(VarF,15,1);
Var12:=3*Var10-2*SMA(Var10,15,1);
Var13:=100-Var12;
Var14:=100-Var11;
Var15:=MA(WINNER(CLOSE*0.95)*100,3);
Var16:=100-IF(Var9>5,IF(Var9<100,Var9,VarB-10),0);
Var17:=Var15>VarB;
Var18:=REF(LOW,1)*0.9;
Var19:=LOW*0.9;
Var1A:=(Var19*VOL+Var18*(CAPITAL-VOL))/CAPITAL;
Var1B:=EMA(Var1A,30);
Var1C:=CLOSE-REF(CLOSE,1);
Var1D:=MAX(Var1C,0);
Var1E:=ABS(Var1C);
Var1F:=SMA(Var1D,7,1)/SMA(Var1E,7,1)*100;
Var20:=SMA(Var1D,13,1)/SMA(Var1E,13,1)*100;
Var21:=BARSCOUNT(CLOSE);
Var22:=SMA(MAX(Var1C,0),6,1)/SMA(ABS(Var1C),6,1)*100;
Var23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var25:=SMA((SMA(Var24,4,1)-50)*2,3,1);
Var26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var27:=SMA(Var26,4,1);
Var28:=SMA(Var27,3,1);
Var29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var2A:=Var22<=25 AND Var23<-95 AND Var29>20 AND Var25<-30 AND Var28<30 AND Var1B-CLOSE>=-0.25 AND Var1F<22 AND Var20<28 AND Var21>50;
DRAWTEXT(CROSS(Var2A,0.5) AND COUNT(Var2A=1,10)=1,Var4,'發(fā)射資金 ♂(超短線操作)'), , COLORRED;
DRAWTEXT(CROSS(Var17,0.5) AND COUNT(Var17=1,10)=1,Var3,'激烈交鋒'), , COLORWHITE;



40.

Var1:=MA(CLOSE,15);
Var2:=Var1+2*STD(CLOSE,20);
Var3:=Var1-2*STD(CLOSE,20);
Var4:=(CLOSE-Var3)/(Var2-Var3)*100;
Var5:=(Var4-EMA(Var4,2))*100;
Var6:=EMA(Var5,22)*10*100;
Var7:=EMA(0.4*Var5*(-1),300);
Var8:=(-1)*EMA(Var5,20)*10*100;
Var9:=Var6>10;
VarA:=Var8>100;
VarB:=MA(Var9,300);
VarC:=MA(Var9,5);
VarD:=MA(Var9,10);
VarE:=MA(Var9,20);
VarF:=MA(Var9,30);
Var10:=MA(Var9,40);
Var11:=MA(Var9,50);
Var12:=MIN(Var9,VarC);
★: MIN(Var12,VarD), ,colorffccff ;
紅: MIN(★,VarE), , colorcc99ff;
色: MIN(紅,VarF), , color9966ff;
上: MIN(色,Var10), , color6633ff;
升: MIN(上,Var11), ,colorred ;
Var13:=MA(VarA,300)*100;
Var14:=MA(VarA,5);
Var15:=MA(VarA,10);
Var16:=MA(VarA,20);
Var17:=MA(VarA,30);
Var18:=MA(VarA,40);
Var19:=MA(VarA,50);
(黃: MIN(VarA,Var15), , COLOR00ffcc;
MIN(VarA,Var13), , COLOR33ffcc;
MIN(VarA,Var14), , COLOR66ffcc;
色): MIN((黃,Var16), ,COLOR99ffff;
下: MIN(色),Var17),COLOR55ffff;
降: MIN(下,Var18), ,COLOR33ffff;
MIN(降,Var19), , COLOR00ffff;
Var1A:=FORCAST(CLOSE,2);
Var1B:=(HIGH+4*LOW+OPEN+Var1A)/7;
Var1C:=EMA(Var1B,13)-EMA(Var1B,34);
Var1D:=EMA(Var1C,5);
Var1E:=(Var1C-Var1D)*5;
Var1F:=IF(Var1E>=1000,1000,IF(Var1E<=Var1B,Var1B,Var1E));
Var20:=FORCAST(FORCAST(Var1F,14),10)/1.007;
(時(shí)間之窗): MIN(VarA,Var20), ,color0066cc ;
MIN((時(shí)間之窗),Var20), ,color0066cc ;



41.

{ 慢速關(guān)注;  N1 8-1-100 M 8-1-100 M1 4-1-100 }
80,Stick,ColorD20000;
20,Stick,Color000000;
{-------賣點(diǎn)------------------------------------------------}
LL:=REF(CLOSE,1);
MM1:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;
MD:=CROSS(80,MM1);

ar1:=AMOUNT/VOL/1000;
ar2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
ar3:=SUM(AMOUNT,13)/ar1/1000;
ar4:=DMA(ar2,VOL/ar3);
SK:=(CLOSE-ar4)/ar4*1000, ;
md2:=cross(40,sk);

Var5i:=(REF(HIGH,1)+REF(LOW,1))/2;
Var6i:=MA(CLOSE,20)+2*STD(CLOSE,20);
db1:=CROSS(Var5i,Var6i);{日均價(jià)下穿20日均線賣出}

Va3h:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Va4h:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Va5h:=SMA(Va4h,13,8);
走勢(shì):=CEILING(SMA(Va5h,13,8)),colorred;
Va6h:=SMA(Va3h,21,8),pointdot;{8}
fff:=(cross(85,走勢(shì)));
賣點(diǎn):if(md  {or mb2 or fff}  ,85,100),colorgreen,LINETHICK1;
{-------02------快賣★--------------------------------------------}
Var75:=(CLOSE-MA(CLOSE,42))/MA(CLOSE,42)*100;
stickline(CROSS(-28,Var75),-5,2,3,0),colorred,linethick2 ;
Var76:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
Var77:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Var78:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var79:=SMA(Var78,5,1);
Var80:=SMA(Var79,3,1);

快賣★: IF(CROSS(Var80,Var79) AND Var80>80 AND Var76>10,80,100)
,Color0080FF,linethick2;
{------03--------------底部------------------------------------}
D1:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
D2:=SMA(MAX(O-REF(O,1),0),6,1)/SMA(ABS(O-REF(O,1)),6,1)*100;
D3:=SMA(MAX(H-REF(H,1),0),6,1)/SMA(ABS(H-REF(H,1)),6,1)*100;
D4:=SMA(MAX(L-REF(L,1),0),6,1)/SMA(ABS(L-REF(L,1)),6,1)*100;
IF(CROSS(D3,20) OR D1>20,0,30),Color808E00,linethick2;
IF(D4<10,0,20),ColorFF00FF,linethick2;
{----08----出手-贏-------------------------------------------------}
Var3:=REF(HIGH,1)*1.1;
Var4:=HIGH*1.1;
Var5:=(Var4*VOL+Var3*(CAPITAL-VOL))/CAPITAL;
Var6:=REF(LOW,1)*0.9;
Var7:=LOW*0.9;
Var8:=(Var7*VOL+Var6*(CAPITAL-VOL))/CAPITAL;
Var9:=EMA(Var8,30);
VarA:=EMA(Var5,30);
VarB:=VarA-2;
VarC:=IF(CLOSE<=Var9,VarB,VarA);
VarD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
{出手:}STICKLINE(VarC-VarB=0 AND  CROSS((EMA(EMA(EMA(CLOSE,3),3),3)
-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)
*100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))
/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,2)),35,0,3,0),linethick3,
,COLORred ;
{贏:}DRAWTEXT(FILTER(VarC-VarB=0 AND CROSS((EMA(EMA(EMA(CLOSE,3),3),
3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),
1)*100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),
1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,2)),4),40,'▲進(jìn)'),
,COLORred ;
{------------鐘槍▲---------------------------------------------}
Var38:=3;

Var39:=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);

鐘槍▲:IF(CROSS(Var39,Var38),30,0),ColorFFFF00,linethick2 ;{買點(diǎn)}
{-------中行--------------------------------------------------}
Var1:=(HHV(HIGH,5)-LLV(LOW,5));
Var2:=(HHV(HIGH,9)-CLOSE);
Var3:=(CLOSE-LLV(LOW,9));
Var4:=Var2/Var1*100-70 ;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*C+H+L)/4;
Var7:=SMA((Var3/Var1*100),3,1);  
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
Var10:= IF(Var9>100,Var9-100,0);
VarA:=HHV(HIGH,34);

中行漲:STICKLINE(EMA((Var6-Var8)/(VarA-Var8)*100,8)>0 AND EMA
((Var6-Var8)/(VarA-Var8)*100,8)-EMA(EMA((Var6-Var8)/(VarA-Var8)
*100,8),5)>=0,49,50,15,0),Color4080FF,linethick6;

中行跌:STICKLINE(EMA((Var6-Var8)/(VarA-Var8)*100,8)>0 AND EMA
((Var6-Var8)/(VarA-Var8)*100,8)-EMA(EMA((Var6-Var8)/(VarA-Var8
)*100,8),5)<0,49,50,15,0),ColorFF0000,linethick6;
{-------------------------------------------------------------}
Var1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var2:=SMA(Var1,M1,1);
賣線: SMA(Var2,M1,1),ColorFFFFFF, linethick1;
Var3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
Var4:=SMA(Var3,M1,1);
Var5:=SMA(Var4,M1,1);
買入線: SMA(Var5,M1,1),Color00FF00, linethick1;
必賣線: SMA(賣線,M1,1),Color0000FF, linethick1;


DRAWTEXT(買入線>76.5 AND CROSS(賣線,必賣線),必賣線*1.15,'▲搶反彈'),ColorFFFFFF;
DRAWTEXT(買入線>56 AND 買入線<=76 AND CROSS(賣線,必賣線),賣線,'●留意')
,,Color00FFFF , ;
DRAWTEXT(買入線<45 AND 賣線>78 AND 必賣線>78 AND CROSS(必賣線,賣線),
必賣線,'☆☆跑'),ColorFFFFFF;
DRAWTEXT(CROSS(買入線,78.5),買入線,'●關(guān)注'),Color0000FF;
DRAWTEXT(CROSS(買入線,85),買入線,'★★重點(diǎn)關(guān)注'),ColorFFFFFF;
{-------------------------------------------------------------}

var1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
var2:=SMA(var1,3,1);
var3:=SMA(var2,3,1);
var4:=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);
var5:=CROSS(var4,10) AND var3<P2;

IF(var5,40,1), , COLORRED,Color00FFFF;
DRAWICON(var5,48,1);
1,ColorFF0000, linethick1;
{--05----逃頂------------------------------------------------------}
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
D:=SMA(CCC,3,1);
【逃頂I】:if(CROSS(D,RSI5),90,100),ColorFF00FF;
【逃頂II】:if(CROSS(80,RSI5),85,100),Color00FF00;

STICKLINE(CROSS(D,RSI5),85,96,5,0),ColorFF00FF;
STICKLINE(CROSS(80,RSI5),80,90,5,0),Color00FF00;
{-------個(gè)股比大盤----------------------------------------}
個(gè)股趨勢(shì):=MA(c,1)/MA(ref(c,18),18)*100,;
大盤趨勢(shì):=ma(INDEXC,1)/MA(ref(INDEXC,18),18)*100;
位置:(個(gè)股趨勢(shì)-大盤趨勢(shì)),LINETHICK0;
STICKLINE(位置>=0,2,-2,10,0),ColorC0C0C0;
STICKLINE(位置<0,2,-2,10,0),ColorFF0000;
{-----------------------------------------------------------------}
100,ColorFF0000, linethick5;
80,ColorFF0000, linethick2;
高壓線: 85,ColorFF8000, linethick1;
20,ColorFF0000, linethick2;

觸底線: 9,ColorFF8000, linethick1;
{--------紅祿條------------------------------------------------------}
Var1:=SMA((CLOSE-LLV(LOW,PP))/(HHV(HIGH,PP)-LLV(LOW,PP))*200-105,5,1);
Var2:=SMA((HHV(HIGH,PP)-CLOSE)/(HHV(HIGH,PP)-LLV(LOW,PP))*200-125,5,1);

漲區(qū):STICKLINE(Var1>=Var2,100,101,15,0),ColorC0C0C0,linethick5;
跌區(qū):STICKLINE(Var1<Var2,100,101,15,0),ColorFF0000,linethick5;
{--------------------------------------------------------------------}
EXPLAIN(c>0  ,'

★年線下變平,準(zhǔn)備捕老熊。年線往上拐,回踩堅(jiān)決買!  
★年線往下行,一定要搞清,如等半年線,暫做壁上觀。  
★深跌破年線,老熊活年半。價(jià)穩(wěn)年線上,千里馬亮相。  
★要問(wèn)為什么?牛熊一線亡!半年線下穿,千萬(wàn)不要沾。  
★半年線上拐,堅(jiān)決果斷買!季線如下穿,后市不樂(lè)觀!  
★季線往上走,長(zhǎng)期須多頭!月線不下穿,光明就在前!  
★股價(jià)踩季線,入市做波段。季線如被破,眼前就有禍,  
★月線上穿季,買進(jìn)等獲利。月線如下行,本波已完成!  
★價(jià)跌月線平,底部已探明。2 0 線走平,觀望暫做空。  
★2 0線上翹,猶如沖鋒號(hào)。突然呈加速,離頂查一步!  
★10天莊成本,不破不走人。短線看 3天,破掉你就竄!  
★長(zhǎng)期往上翹,短期呈纏繞,平臺(tái)一做成,股價(jià)往上跑!
'),Color80FF00;

{------------------------------------------------------------}




41.

DRAWGBK(c>1, COLORRGB(50,50,80), COLORRGB(120,50,10),0),colorff6633;
股價(jià)趨勢(shì):=ZIG(3,3);
m13:=ZIG(3,4);
a:=if(cross(m13,ref(m13,1))and ref(m13,1)<=m13, m13+2,ZIG(3,21)-1);
b:=if(cross(ref(m13,1),m13)and ref(m13,1)>=m13,m13+1,ZIG(3,21)-1);
var1:=zig(3,40);
var2:=ref(var1,1);
var3:=cross(close,"boll.lower"(20,2));
var4:=cross(var1,var2);
var5:=vol/ref(vol,2)>2;
var6:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
var7:=SMA(var6,3,1);
變盤:if(股價(jià)趨勢(shì)=m13 and 股價(jià)趨勢(shì)>ref(股價(jià)趨勢(shì),1) and m13>ref(m13,1) and var7>75,a,a-4),stick,colorblue,linethick3;
筑底:if(var3 and var4 and var5,a,a-4),stick,colorred,linethick3;
A1:=(2*CLOSE+HIGH+LOW)/4;
A2:=LLV(LOW,27);
A3:=HHV(HIGH,27);
A4:EMA((A1-A2)/(A3-A2)*6,6);
A5:EMA(0.618*REF(A4,1)+0.382*A4,1);
PARTLINE(A4>A5,A4),ColorFF00FF,Color004FF2,linethick3;
PARTLINE(A4<A5,A5),COLORGREEN,linethick3;
高位線:5;
中位線:3;
低位線:1.59;
DRAWICON(CROSS(A4,A5) AND A4<16,A5,4);
DRAWTEXT(CROSS(A4,30) AND A5<A4,55,'中位上揚(yáng)');
DRAWICON(CROSS(A4,30) AND A5<A4,55,10);
DRAWICON(CROSS(A5,A4) AND A4>78,A4,5);
Var7:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
Var8:=ZIG(3,5)< REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
買進(jìn):STICKLINE(Var7=1,-1.1,0,8,0), ,Color6C00D9,linethick3;
賣出:STICKLINE(Var8=1,1.1,0,8,0), ColorFFFF00,linethick3;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWICON(CROSS(84,RSI) ,h*1.02,3),ALIGN1,linethick4;
DRAWTEXT(CROSS(84,RSI) ,h,'★★逃頂'),ALIGN1,ColorFFFF00 ,linethick4;
DRAWICON(CROSS(RSI,11) ,l*0.98,4),ALIGN1;
DRAWTEXT(CROSS(RSI,11) , LOW,'★低吸'),ALIGN1,,Color00FFFF,linethick4 ;
Var1:=(C*55+H+L)/4;
SK: EMA(Var1,13)-EMA(Var1,21),,Color00FFFF;
SD: EMA(SK,2),ColorFFFFFF;
多方能量: 2*(SK-SD)*3.8, LINESTICK,ColorFF00FF,linethick2;
空方能量: (-2)*(SK-SD)*3.8, LINESTICK,,Color00F000,linethick1;
強(qiáng)弱分界: 0;



42.

DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,STKNAME+'\n'+STKLABEL+'\n'+BLKNAME)align4,COLORGREEN;

VAR1:=(EXTDATA(4)-EXTDATA(5))/100,linethick0;
莊資金5:EMA(VAR1,5) COLORRED,linethick0;
莊資金13:EMA(VAR1,13) COLORYELLOW,linethick0;
莊資金34:EMA(VAR1,34) COLORGREEN,linethick0;
莊家OBV:SUM((EXTDATA(4)-EXTDATA(5)),0)/10000 COLORmagenta,linethick0;
EXPLAINEX(1=1,'【莊家資金5】=',莊資金5,2,0),COLORred;
EXPLAINEX(1=1,'【莊家資金34】=',莊資金34,2,0),COLORred;
EXPLAINEX(1=1,'【莊家資金OBV】=',莊家OBV,2,0),COLORred;

委賣OBV:SUM(EXTDATA(7),0)/1000000 COLORmagenta,,linethick0;
EXPLAINEX(1=1,'【委賣OBV】=',委賣OBV,2,0),COLORred;

委買OBV:SUM(EXTDATA(6),0)/1000000 COLORmagenta,linethick0;
EXPLAINEX(1=1,'【委買OBV】=',委買OBV,2,0),COLORred;

每日委賣量:SUM((ASKVOL(1)+ASKVOL(2)+ASKVOL(3)+ASKVOL(4)+ASKVOL(5)+ASKVOL(6)+ASKVOL(7)+ASKVOL(8)+ASKVOL(9)),0),LINETHICK0;
EXPLAINEX(1=1,'【每日委賣量】=',每日委賣量,2,0),COLORred;

每日委買量:SUM((BIDVOL(1)+BIDVOL(2)+BIDVOL(3)+BIDVOL(4)+BIDVOL(5)+BIDVOL(6)+BIDVOL(7)+BIDVOL(8)+BIDVOL(9)),0),LINETHICK0;
EXPLAINEX(1=1,'【每日委買量】=',每日委買量,2,0),COLORred;

VAR1:=(EXTDATA(2)-EXTDATA(3))/100,linethick0;
資金5:EMA(VAR1,5) COLORRED,linethick0;
資金13:EMA(VAR1,13) COLORYELLOW,linethick0;
資金34:EMA(VAR1,34) COLORGREEN,linethick0;
EXPLAINEX(1=1,'【資金5】=',資金5,2,0),COLORcyan;
EXPLAINEX(1=1,'【資金13】=',資金13,2,0),COLORcyan;
EXPLAINEX(1=1,'【資金34】=',資金34,2,0),COLORcyan;

牛熊OBV:SUM((EXTDATA(2)-EXTDATA(3)),0)/10000 COLORmagenta,linethick0;
EXPLAINEX(1=1,'【牛熊OBV】=',牛熊OBV,2,0),COLORred;

每日賣單總和:SUM(SELLVOL,0),linethick0;
每日買單總和:SUM(BUYVOL,0),linethick0;
每日莊賣:SUM(IF(SELLVOL>=100,VOL,0),0),linethick0;
每日莊買:SUM(IF(BUYVOL>=100,VOL,0),0),linethick0;
EXPLAINEX(1=1,'【每日賣單總和】=',每日賣單總和,2,0),COLORyellow;
EXPLAINEX(1=1,'【每日買單總和】=',每日買單總和,2,0),COLORgreen;
EXPLAINEX(1=1,'【每日莊賣】=',每日莊賣,2,0),COLORred;
EXPLAINEX(1=1,'【每日莊買】=',每日莊買,2,0),COLORcyan;


A:= IF(CLOSE>126.32,AMOUNT/100000,VOL),linethick0;
主力: MA(A,4),COLORYELLOW,LINETHICK0;
游資: MA(A,8),COLORGREEN,LINETHICK0;
大戶: MA(A,16),COLORRED,LINETHICK0;
散戶: MA(A,32),COLORCYAN,LINETHICK0;
主力參與比例: ROUND(主力/(主力+游資+大戶+散戶)*100),coloryellow,linethick0;
游資參與比例: ROUND(游資/(主力+游資+大戶+散戶)*100),colorgreen,linethick0;
大戶參與比例: ROUND(大戶/(主力+游資+大戶+散戶)*100),colorred,linethick0;
散戶參與比例: ROUND(散戶/(主力+游資+大戶+散戶)*100),colorcyan,linethick0;
警戒線: MA(A,180),COLORMAGENTA,linethick0;
EXPLAINEX(1,'【主力】=',主力,2,0),COLORyellow;
EXPLAINEX(1,'【游資】=',游資,2,0),COLORgreen;
EXPLAINEX(1,'【大戶】=',大戶,2,0),COLORred;
EXPLAINEX(1,'【散戶】=',散戶,2,0),COLORcyan;
EXPLAINEX(1,'【主力參與比例】=',主力參與比例,2,0),COLORyellow;
EXPLAINEX(1,'【游資參與比例】=',游資參與比例,2,0),COLORgreen;
EXPLAINEX(1,'【大戶參與比例】=',大戶參與比例,2,0),COLORred;
EXPLAINEX(1,'【散戶參與比例】=',散戶參與比例,2,0),COLORcyan;
EXPLAINEX(1,'【警戒線】=',警戒線,2,0),COLORmagenta;


STICKLINE(主力>0,0,主力,8,0),Color0000FF;
STICKLINE(主力>0,0,主力,7.8,0),Color0018FF;
STICKLINE(主力>0,0,主力,7.5,0),Color001BFF;
STICKLINE(主力>0,0,主力,7.3,0),Color0022FF;
STICKLINE(主力>0,0,主力,7,0),Color0035FF;
STICKLINE(主力>0,0,主力,6.8,0),Color0041FF;
STICKLINE(主力>0,0,主力,6.5,0),Color0050FF;
STICKLINE(主力>0,0,主力,6.3,0),Color0059FF;
STICKLINE(主力>0,0,主力,6,0),Color0062FF;
STICKLINE(主力>0,0,主力,5.7,0),Color006CFF;
STICKLINE(主力>0,0,主力,5.5,0),Color007AFF;
STICKLINE(主力>0,0,主力,5.3,0),Color0080FF;
STICKLINE(主力>0,0,主力,5,0),Color0089FF;
STICKLINE(主力>0,0,主力,4.5,0),Color0095FF;
STICKLINE(主力>0,0,主力,3.5,0),Color009CFF;
STICKLINE(主力>0,0,主力,3,0),Color00ABFF;
STICKLINE(主力>0,0,主力,2.5,0),Color00C0FF;
STICKLINE(主力>0,0,主力,1.5,0),Color00D1FF;
STICKLINE(主力>0,0,主力,1,0),Color00EAFF;
STICKLINE(主力>0,0,主力,0.7,0),Color00FFFF;

STICKLINE(游資>0,0,游資,8,0),Color006800;
STICKLINE(游資>0,0,游資,7.8,0),Color007F00;
STICKLINE(游資>0,0,游資,7,5),Color008B00;
STICKLINE(游資>0,0,游資,7,3),Color008B00;
STICKLINE(游資>0,0,游資,7,0),Color009000;
STICKLINE(游資>0,0,游資,6.8,0),Color009500;
STICKLINE(游資>0,0,游資,6.5,0),Color009C00;
STICKLINE(游資>0,0,游資,6.3,0),Color00A300;
STICKLINE(游資>0,0,游資,6,0),Color00AB00;
STICKLINE(游資>0,0,游資,5.7,0),Color00AF00;
STICKLINE(游資>0,0,游資,5.5,0),Color00B900;
STICKLINE(游資>0,0,游資,5.3,0),Color00C000;
STICKLINE(游資>0,0,游資,5,0),Color00C100;
STICKLINE(游資>0,0,游資,4.5,0),Color00CA00;
STICKLINE(游資>0,0,游資,3.5,0),Color00D300;
STICKLINE(游資>0,0,游資,3,0),Color00DB00;
STICKLINE(游資>0,0,游資,2.5,0),Color00EA00;
STICKLINE(游資>0,0,游資,1.5,0),Color00FF00;

STICKLINE(大戶>0,0,大戶,8,0),color102088;
STICKLINE(大戶>0,0,大戶,7,0),color102099;
STICKLINE(大戶>0,0,大戶,6,0),color1020aa;
STICKLINE(大戶>0,0,大戶,5,0),color1020bb;
STICKLINE(大戶>0,0,大戶,4,0),color1020cc;
STICKLINE(大戶>0,0,大戶,3,0),color1020dd;
STICKLINE(大戶>0,0,大戶,2,0),color1020ee;
STICKLINE(大戶>0,0,大戶,1,0),color1020ff;        
STICKLINE(大戶>0,0,大戶,8,0),color102088;
STICKLINE(大戶>0,0,大戶,7,0),color102099;
STICKLINE(大戶>0,0,大戶,6,0),color1020aa;
STICKLINE(大戶>0,0,大戶,5,0),color1020bb;
STICKLINE(大戶>0,0,大戶,4,0),color1020cc;
STICKLINE(大戶>0,0,大戶,3,0),color1020dd;
STICKLINE(大戶>0,0,大戶,2,0),color1020ee;
STICKLINE(大戶>0,0,大戶,1,0),color1020ff;

STICKLINE(散戶>0,0,散戶,8,0),colorff7700;
STICKLINE(散戶>0,0,散戶,7,0),colorff8800;
STICKLINE(散戶>0,0,散戶,6,0),colorff9900;
STICKLINE(散戶>0,0,散戶,5,0),colorffaa00;
STICKLINE(散戶>0,0,散戶,4,0),colorffbb00;
STICKLINE(散戶>0,0,散戶,3,0),colorffcc00;
STICKLINE(散戶>0,0,散戶,2,0),colorffdd00;
STICKLINE(散戶>0,0,散戶,1,0),colorffee00;
STICKLINE(散戶>0,0,散戶,8,0),colorff7700;
STICKLINE(散戶>0,0,散戶,7,0),colorff8800;
STICKLINE(散戶>0,0,散戶,6,0),colorff9900;
STICKLINE(散戶>0,0,散戶,5,0),colorffaa00;
STICKLINE(散戶>0,0,散戶,4,0),colorffbb00;
STICKLINE(散戶>0,0,散戶,3,0),colorffcc00;
STICKLINE(散戶>0,0,散戶,2,0),colorffdd00;
STICKLINE(散戶>0,0,散戶,1,0),colorffee00;


FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),colorf4e202,linethick0;
FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),colorf4e202,linethick0;
CG:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),colorf4e202,linethick0;
EXPLAINEX(1,'【短線賣出參考價(jià)1】=',fs,2,0),COLORgreen;
EXPLAINEX(1,'【短線賣出參考價(jià)2】=',cg,2,0),COLORyellow;
EXPLAINEX(1,'【短線賣出參考價(jià)3】=',fl,2,0),COLORred;
VAR0:=(CLOSE*2+HIGH+LOW)/4*VOL;
var1:=SUM(VAR0,89)/SUM(VOL,89);
var2:=IF(COUNT(VAR0>0,2)>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
var3:=IF(COUNT(ABS(CLOSE-var1)>21,8)>=1 AND  COUNT(CLOSE/REF(CLOSE,1)<0.8,8)<1 AND COUNT(VAR0>0,2)>=2,10,0);
var4:=IF(CLOSE>=var1 AND COUNT(VAR0>0,2)>=2,var1*1.001,IF(VAR0<0.1 AND COUNT(VAR0>0,2)<1.5,MA(CLOSE,89),var1*0.999));
var5:=IF(var3>0,var2,var4);
var6:=MA(CLOSE,89);
搏殺生命線:IF(var5/REF(var5,1)>1.1 OR var5/REF(var5,1)<0.9,VAR6,VAR5),colorff80ff,linethick0;
EXPLAINEX(1,'【多空搏殺臨界點(diǎn)】=',搏殺生命線,2,0),COLORmagenta;
a:=(CLOSE*2+HIGH+LOW)/4*VOL;
b:=SUM(a,1)/SUM(VOL,1);
b1:=EMA(b,17);
資金:(b-b1)*100/b,coloryellow,linethick0;
強(qiáng)弱線:0,color808080;
EXPLAINEX(1,'【每日資金流向】=',資金,2,0),COLORwhite;
VAR1:=HHV(HIGH,146);//莊家建倉(cāng),派發(fā)高點(diǎn)指標(biāo)與正版無(wú)異
派發(fā)高點(diǎn):IF(var1>LLV(LOW,293)*1.45 AND VAR1>LOW*1.3,VAR1,0),linethick0;
派發(fā)區(qū)域:IF(var1>LLV(LOW,293)*1.45 AND VAR1>LOW*1.3,VAR1*0.82,0),linethick0;
莊家底倉(cāng):LLV(LOW,146),linethick0;
莊家建倉(cāng):LLV(LOW,146)*1.2,linethick0;
EXPLAINEX(1,'【主力派發(fā)高點(diǎn)】=',派發(fā)高點(diǎn),2,0),COLORred;
EXPLAINEX(1,'【主力派發(fā)區(qū)域】=',派發(fā)區(qū)域,2,0),COLORyellow;
EXPLAINEX(1,'【主力底倉(cāng)】=',莊家底倉(cāng),2,0),COLORcyan;
EXPLAINEX(1,'【主力建倉(cāng)】=',莊家建倉(cāng),2,0),COLORgreen;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交能量:VOL,linethick0;
主動(dòng)買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),linethick0,colorred;
主動(dòng)賣盤:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),linethick0,colorgreen;
EXPLAINEX(1,'【成交量】=',成交能量,2,0),COLORmagenta;
EXPLAINEX(1,'【主動(dòng)買盤】=',主動(dòng)買盤,2,0),COLORcyan;
EXPLAINEX(1,'【主動(dòng)賣盤】=',主動(dòng)賣盤,2,0),COLORyellow;持股線:MA(HIGH,21),coloryellow,linethick0;
空倉(cāng)線:MA(LOW,21),colorgreen,linethick0;
操盤趨勢(shì):MA(CLOSE,3),linethick0;
EXPLAINEX(1,'【突破壓力價(jià)位】=',持股線,2,0),COLORyellow;
EXPLAINEX(1,'【短線回調(diào)價(jià)位】=',空倉(cāng)線,2,0),COLORred;
EXPLAINEX(1,'【伺機(jī)出擊價(jià)位】=',操盤趨勢(shì),2,0),COLORwhite;



43.

Y:=(H+L)/2;

BLUE:SMA(Y,13,1),SHIFT8,COLORBLUE;
RED:SMA(Y,8,1),SHIFT5,COLORRED;
GREEN:SMA(Y,5,1),SHIFT3,COLORGREEN;

B2:=REF(BLUE,8);
R2:=REF(RED,5);
G2:=REF(GREEN,3);

H1:=REF(H,4);
H2:=REF(H,3);
H3:=REF(H,2);
H4:=REF(H,1);
H5:=H;

L1:=REF(L,4);
L2:=REF(L,3);
L3:=REF(L,2);
L4:=REF(L,1);
L5:=L;

↑Fractal:=IF(H3=HHV(H,5) AND H3>=REF(R2,2),1,0);
↑Var1:=BackSet(↑Fractal,3);
↑Var14:=BackSet(↑Fractal,4);
↑Var15:=BackSet(↑Fractal,5);
↑Var12:=BackSet(↑Fractal,2);
↑Var2:=Filter(↑Var1,2);
↑Var24:=Filter(↑Var14,2);
↑Var25:=Filter(↑Var15,2);
↑Var22:=Filter(↑Var12,2);

↓Fractal:=IF(L3=LLV(L,5) AND L3<=REF(R2,2),1,0);
↓Var1:=BackSet(↓Fractal,3);
↓Var14:=BackSet(↓Fractal,4);
↓Var15:=BackSet(↓Fractal,5);
↓Var12:=BackSet(↓Fractal,2);
↓Var2:=Filter(↓Var1,2);
↓Var24:=Filter(↓Var15,2);
↓Var25:=Filter(↓Var14,2);
↓Var22:=Filter(↓Var12,2);

STICKLINE(C>=O,H,L,0.4,1),COLORRED;
STICKLINE(O>C,H,L,0.4,1),COLORCYAN;

STICKLINE(C>=O,O,C,8,1),COLORRED;
STICKLINE(C<O,O,C,8,0),COLORCYAN;

STICKLINE(↑Var25 AND C>=O,(O+C)/2,C,8,0),COLORblue;
STICKLINE(↓Var25 AND C>=O,(O+C)/2,O,8,0),COLORYELLOW;
STICKLINE(↑Var25 AND C<O,O,(O+C)/2,8,0),COLORblue;
STICKLINE(↓Var25 AND C<O,C,(O+C)/2,8,0),COLORYELLOW;

STICKLINE(↑Var24 AND C>=O,(O+C)/2,C,8,0),COLORblue;
STICKLINE(↓Var24 AND C>=O,(O+C)/2,O,8,0),COLORYELLOW;
STICKLINE(↑Var24 AND C<O,(O+C)/2,O,8,0),COLORblue;
STICKLINE(↓Var24 AND C<O,(O+C)/2,C,8,0),COLORYELLOW;

STICKLINE(↑Var22 AND C>=O,(O+C)/2,C,8,0),COLORblue;
STICKLINE(↓Var22 AND C>=O,(O+C)/2,O,8,0),COLORYELLOW;
STICKLINE(↑Var22 AND C<O,(O+C)/2,O,8,0),COLORblue;
STICKLINE(↓Var22 AND C<O,(O+C)/2,C,8,0),COLORYELLOW;

STICKLINE(↑Var2 AND C>=O,(O+C)/2,C,8,0),COLORblue;
STICKLINE(↓Var2 AND C>=O,(O+C)/2,O,8,0),COLORYELLOW;
STICKLINE(↑Var2 AND C<O,(O+C)/2,O,8,0),COLORblue;
STICKLINE(↓Var2 AND C<O,(O+C)/2,C,8,0),COLORYELLOW;


44.

fbars:=SYSPARAM(0);
vertline(barpos=fbars),colormagenta,linethick2;
f5:=barssince(c)=fbars-1;
VERTLINE(f5),pointdot,color996666,linethick1,shift5;
DRAWNUMBER(f5,SYSPARAM(4),5,0),shift5;
ff5:=barssince(c)=fbars-5;
VERTLINE(ff5),pointdot,color996666,linethick1;
DRAWNUMBER(ff5,SYSPARAM(4),5,0);
f8:=barssince(c)=fbars-1;
ff8:=barssince(c)=fbars-8;
VERTLINE(f8),pointdot,color996666,linethick1,shift8;
DRAWNUMBER(f8,SYSPARAM(4),8,0),shift8;
VERTLINE(ff8),pointdot,color996666,linethick1;
DRAWNUMBER(ff8,SYSPARAM(4),8,0);
f13:=barssince(c)=fbars-1;
ff13:=barssince(c)=fbars-13;
vertline(f13),pointdot,color996666,linethick1,shift13;
DRAWNUMBER(f13,SYSPARAM(4),13,0),shift13;
vertline(ff13),pointdot,color996666,linethick1;
DRAWNUMBER(ff13,SYSPARAM(4),13,0);
f21:=barssince(c)=fbars-1;
ff21:=barssince(c)=fbars-21;
vertline(f21),pointdot,color996666,linethick1,shift21;
DRAWNUMBER(f21,SYSPARAM(4),21,0),shift21;
vertline(ff21),pointdot,color996666,linethick1;
DRAWNUMBER(ff21,SYSPARAM(4),21,0);
f34:=barssince(c)=fbars-1;
ff34:=barssince(c)=fbars-34;
vertline(f34),pointdot,color996666,linethick1,shift34;
DRAWNUMBER(f34,SYSPARAM(4),34,0),shift34;
vertline(ff34),pointdot,color996666,linethick1;
DRAWNUMBER(ff34,SYSPARAM(4),34,0);
f55:=barssince(c)=fbars-1;
ff55:=barssince(c)=fbars-54;
vertline(f55),pointdot,color996666,linethick1,shift55;
DRAWNUMBER(f55,SYSPARAM(4),55,0)shift55;
vertline(ff55),pointdot,color996666,linethick1;
DRAWNUMBER(ff55,SYSPARAM(4),55,0);
f89:=barssince(c)=fbars-1;
ff89:=barssince(c)=fbars-88;
vertline(f89),pointdot,color996666,linethick1,shift89;
DRAWNUMBER(f89,SYSPARAM(4),89,0),shift89;
vertline(ff89),pointdot,color996666,linethick1;
DRAWNUMBER(ff89,SYSPARAM(4),89,0);
f134:=barssince(c)=fbars+20;
ff134:=barssince(c)=fbars-144;
vertline(f134),pointdot,color996666,linethick1,shift124;
DRAWNUMBER(f134,SYSPARAM(4),144,0),shift124;
vertline(ff134),pointdot,color996666,linethick1;
DRAWNUMBER(ff134,SYSPARAM(4),144,0);股票論壇 www.55188.com

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約