===================================================
方法:工具-公式管理-技術指標-自定指標-新建-技術指標,然后把公式復制編輯進去,測試成功即可顯示在下面了。如沒顯示也可很方便的右鍵選擇,采用4或5窗口方式顯示,保存頁面即可。
=============================================
###普通買賣線買線:=EMA(C,3);
賣線:=EMA(SLOPE(C,5)*20+C,10);
BU:=CROSS(買線,賣線);
SEL:=CROSS(賣線,買線);
DRAWTEXT(bu,LOW,\'買\'),ALIGN1,VALIGN0,colorwhite,linethick2;
DRAWTEXT(bu,LOW,\' ̄\'),ALIGN1,VALIGN0,Color208FFF,LINETHICK2;
DRAWTEXT(sel,HIGH,\' ̄\'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK2;
DRAWTEXT(sel,HIGH,\'賣\'),ALIGN1,VALIGN2,colorgreen,linethick2;
STICKLINE(買線>=賣線,LOW,HIGH,0.1,1),colorred;
STICKLINE(買線>=賣線,CLOSE,OPEN,8,1),colorred;
STICKLINE(買線<賣線,CLOSE,OPEN,8,0),color00ff00;
STICKLINE(買線<賣線,LOW,HIGH,0.1,1),color00ff00;
STICKLINE(CROSS(買線,賣線) OR CROSS(賣線,買線),OPEN,CLOSE,6,0),colorffff00;
指導線: EMA((EMA(CLOSE,5)+EMA(CLOSE,10)+EMA(CLOSE,20)+EMA(CLOSE,40))/4,2),linethick1,colorred;
界: MA(CLOSE,26),linethick2,Color00FFFF;
DRAWTEXT(CROSS(指導線,界),界,\'↑★\'),ALIGN1,VALIGN0,colorred;
DRAWTEXT(CROSS(界,指導線),界,\'↓★\'),ALIGN1,colorcyn;
============================================
=================================================####買賣逃線
MA3:MA(C,3);
MA20:MA(C,20);
ma122:MA(C,122),COLORFFFF00;
ma250:MA(C,250),linethick1,COLORFFFFFF;
趨勢1:IF(EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),0,1),Linethick1,CoLor0000FF;
趨勢2:IF(EMA(REF(趨勢1,1),3),0,1),Linethick1,CoLor00FFFF;
趨勢3:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),Linethick1,CoLorFF0000;
買線:=EMA(CLOSE,2);
賣線:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);
BU:=CROSS(買線,賣線) ;
SEL:=CROSS(賣線,買線);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);
VAR1:=IF(REF((LOW+OPEN+CLOSE+HIGH)/(4),1),0,1);
VAR2:=IF((SMA(ABS(LOW-VAR1),13,1))/(SMA(MAX(LOW-VAR1,0),10,1)),0,1);
VAR3:=IF(EMA(VAR2,10),0,1);
VAR4:=IF(LLV(LOW,33),0,1);
VAR5:=IF(EMA(IF((LOW<=VAR4),VAR3,0),5),0,1);
VAR6:=REF(CLOSE,1);
VAR7:=((SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1)))*(100);
VAR8:=(LLV(LOW,5)=LLV(LOW,45)) AND (CLOSE>=(OPEN)*(1.04));
VAR9:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));
VAR10:=VAR8 AND VAR9;
VAR11:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR12:=LLV(LOW,13);
VAR13:=HHV(HIGH,13);
VAR14:=(LLV(LOW,1)=LLV(LOW,35)) AND (CLOSE>=(OPEN)*(1.04));
VAR15:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));
VAR16:=EMA(((VAR11-VAR12)/(VAR13-VAR12))*(100),13);
VAR17:=(((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100)+((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100)+((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100))/(3);
大頂:=FILTER((VAR17>20) AND FILTER((VAR17<REF(VAR17,1)),5),5);
VAR18:=(OPEN+LOW+HIGH+CLOSE)/(4);
MAN:=(SMA(HIGH,21,2))*(1.05);
短底2:=EMA(VAR18,5);
支撐:=HHV(短底2,60);
VAR4M:=((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*(100);
VAR5M:=SMA(VAR4M,5,1);
VAR6M:=SMA(VAR5M,8,1);
VAR7M:=CROSS(VAR5M,VAR6M) AND (VAR6M<5);
VAR8M:=(CLOSE>LLV(CLOSE,60)+(0.3)*(LLV(CLOSE,60))) AND VAR7M;
VAR9M:=IF((CLOSE>1000),VAR7M,VAR8M);
黑馬起步:=VAR9M;
短期底部:=(LLV(HIGH,30))*(0.93);
逃:=FILTER((HIGH>支撐) AND (CLOSE<支撐) AND ((CLOSE)/(OPEN)>0-1.06) AND (CLOSE<OPEN),5) ;
逃命:=(黑馬起步>0);
選逃:=FILTER((((逃命 OR 逃) OR CROSS(84,RSI)) OR 大頂),3);
STICKLINE((買線>=賣線),LOW,HIGH,1,0),CoLor0000FF;
STICKLINE((買線>=賣線),CLOSE,OPEN,4.5,0),CoLor0000AA;
STICKLINE((買線>=賣線),CLOSE,OPEN,4,0),CoLor0000CC;
STICKLINE((買線>=賣線),CLOSE,OPEN,3,0),CoLor0000CC;
STICKLINE((買線>=賣線),CLOSE,OPEN,2,0),CoLor0000EE;
STICKLINE((買線<賣線),CLOSE,OPEN,4.5,0),CoLorAAAA00;
STICKLINE((買線<賣線),CLOSE,OPEN,4,0),CoLorBBBB00;
STICKLINE((買線<賣線),CLOSE,OPEN,3,0),CoLorCCCC00;
STICKLINE((買線<賣線),CLOSE,OPEN,2,0),CoLorEEEE00;
STICKLINE((買線<賣線) ,LOW,HIGH,1,0),CoLorFFFF00;
DRAWTEXT(選逃,(HIGH)*(1.03),\'逃\'),CoLorFFFF00;
DRAWTEXT(BU,(LOW)*(0.996),\'買\'),CoLor00FFFF;
DRAWTEXT(SEL,(HIGH)*(1.028),\'賣\'),CoLor00FF00;
主力進場:=FILTER((VAR5>REF(VAR5,1)),5);
DRAWTEXT(FILTER((VAR5>REF(VAR5,1)),5),(LOW)*(0.995),\'↑\'),CoLorFF0000;
DRAWTEXT(FILTER((VAR5>REF(VAR5,1)),5),(LOW)*(0.96),\'主力\'),CoLorFF0000;
STICKLINE(FILTER((VAR5>REF(VAR5,1)),5) AND CLOSE,OPEN,5,0,1),CoLorFF0000;
STICKLINE(FILTER((VAR5>REF(VAR5,1)),5),LOW,HIGH,1,0),CoLorFF0000;
指數(shù)位置:=(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));
抄底:=CROSS(指數(shù)位置,10);
STICKLINE(BU,(MAX(CLOSE,OPEN))*(0.995),(MIN(CLOSE,OPEN))*(1.005),2.5,0),CoLor0000FF;
VARA:=EMA((0.667)*(REF(VAR16,1))+(0.333)*(VAR16),2);
多:=VAR16;
空:=EMA((0.382)*(REF(VAR16,2))+(0.618)*(VAR16),12);
A1:=(VOL=HHV(VOL,120));
A2:=((CLOSE)/(OPEN)>1.05);
TJ:=A1 AND A2;
龍:=VAR10;
買4:=VAR14;
AA1:=(AMOUNT)/(VOL);
BB1:=(LOW<(AA1)*(0.9));
CC1:=(((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100)>1.2);
DD1:=(LOW<(MA(CLOSE,5))*(0.921));
EE1:=(VOL<(MA(VOL,5))*(1.5));
FF1:=BB1 AND CC1 AND DD1 AND EE1;
買3:=FILTER(FF1,3);
二十天最低跌幅:=(HHV(CLOSE,20))/(LLV(CLOSE,20));
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3)*(K)-(2)*(D);
X:=(LLV(J,2)=LLV(J,8));
買1:=CROSS(J,REF(J+0.01,1)) AND X AND (J<20) AND (二十天最低跌幅>=1.3);
長期底部:=LLV(HIGH,30);
上:=(SMA(LOW,5,2))*(0.96);
選底:=FILTER((LOW<=上) AND (HIGH>=短期底部) AND (CLOSE>=長期底部) AND ((CLOSE)/(OPEN)>1.03),3);
DRAWTEXT(IF(選底,100,0),(LOW)*(0.95),\'底\'),CoLorFFFFFF;
DRAWTEXT(IF(選底,100,0),(LOW)*(0.995),\'↑\'),CoLor00FFFF;
STICKLINE(IF(選底 ,100,0),CLOSE,OPEN,7,0),CoLorFF00FF;
STICKLINE(IF(選底,100,0),LOW,HIGH,1,0),CoLorF000FF;
選買:=FILTER((買3 OR 選底),3) AND (COUNT(買1+買4+龍,3)>0);
STICKLINE(選買,HIGH,(HHV(HIGH,90))*(0.95),0.2,0),CoLorFF0000;
DRAWTEXT(選買,(HHV(HIGH,90))*(1),\'穩(wěn)賺\'),CoLorFFFFFF;
DRAWTEXT(選買,(HHV(HIGH,90))*(0.97),\'10%買\'),CoLorFFFFFF;
===============================================
#####買賣線帶底色 有點準{DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));}
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(買線,賣線);
SEL:=cross(賣線,買線);
drawtext(bu,LOW,\'B買\'),ALIGN1,VALIGN0,colorred,linethick3;
DRAWTEXT(bu,LOW,\' ̄\'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,\' ̄\'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3;
drawtext(sel,HIGH,\'S賣\'),ALIGN1,VALIGN2,colorgreen,linethick3;
stickline(買線>=賣線,low,high,0.1,1),colorred;
stickline(買線>=賣線,close,open,8,1),colorred;
stickline(買線<賣線,close,open,8,0),color00ff00;
stickline(買線<賣線,low,high,0.1,1),color00ff00;
stickline(cross(買線,賣線) or cross(賣線,買線),open,close,6,0),colorffff00;
指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(cross(指導線,界),界,\' ̄ ̄\'),ALIGN1,VALIGN0,Colorffffff;
DRAWTEXT(cross(界,指導線),界,\' ̄ ̄\'),ALIGN1,Color00ffff;
=====================================================
###精準買賣
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),colorblue;
主力進: IF(V4>=0,V4,0),colorff00ff;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盤資金進場:IF(VB>=0,VB,0),Colorred;
大盤資金撤走:IF(VB<=0,VB,0),colorgreen;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢線: EMA(V11,3);
V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;
準備現(xiàn)金: STICKLINE(趨勢線<=13,0,20,5,0),colorcc9900;
aa:=(趨勢線<=13) and filter((趨勢線<=13),15);
drawtext (aa,30,\'準備現(xiàn)金\'),colorcc9900;
買入股票: STICKLINE(趨勢線<=13 AND V12>13,0,50,5,0),color0099ff;
bb:= (趨勢線<=13 AND V12>13) and filter((趨勢線<=13 AND V12>13),10) ;
drawtext (bb,60,\'買入股票\'),color0099ff;
賣臨界: STICKLINE(趨勢線>90 and 趨勢線>ref(趨勢線,1),100,95,15,1),COLORFFFF00;
見頂清倉:filter(趨勢線>90 and 趨勢線<ref(趨勢線,1) and 主力進<ref(主力進,1),8);
DRAWTEXT( 見頂清倉,90,\'逃頂\'),coloryellow;
cc:=(趨勢線>=90 AND V12) and filter((趨勢線>=90 AND V12),10);
stickline(大盤資金進場 and 趨勢線<13,0,30,10,0),colorred;
stickline(大盤資金撤走 and 趨勢線>90,0,30,10,0),colorgreen;
stickline(主力進 and 趨勢線<13,0,40,10,0),colorff00ff;
stickline(主力撤 and 趨勢線>90,0,40,10,0),colorblue;
=======================================###太陽操盤線 S B 標示買賣p1:=13;p2:=34;p3:=55;p4:=89;//input:P1(13,0,300),P2(34,0,300),P3(55,0,300),P4(89,0,300),P5(144,0,9999),N(4,0,5);
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,5,1),colorFFFF33;
STICKLINE((VAR2 < MA(VAR3,6)),LOW,(MIN(OPEN,CLOSE) * 1.001),0.6,0),colorFFFF33;
STICKLINE((VAR2 < MA(VAR3,6)),MAX(OPEN,CLOSE),HIGH,0.6,0),colorFFFF33;
STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,7,1),color4440FF;
STICKLINE((VAR2 > MA(VAR3,6)),HIGH,MAX(CLOSE,OPEN),0.6,0),color4440FF;
STICKLINE((VAR2 > MA(VAR3,6)),LOW,(MIN(CLOSE,OPEN) * 1.001),0.8,0),color4440FF;
STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0025),4.5,0),colorFFFF33;
STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.0025),4.5,0),color4440FF;
STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,7,0),colorFFFF33;
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),\'B \'),color4440FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),\'S \'),colorFFFF34;
WX:=MA(CLOSE,0);
M1:MA(CLOSE,P1),colorffff00;
M2:(MA(CLOSE,P2)),color00ff00;
M3:(MA(CLOSE,P3)),color00ffFF;
M4:(MA(CLOSE,P4)),color4440FF====================================
### 精準K線圖:紅、黃、藍
DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),1));
量:=(CLOSE - LLV(LOW,14)) / (HHV(HIGH,14) - LLV(LOW,14)) * 1.2 * CLOSE;
量1:=EMA(量,3);
量2:=EMA(量,6);
量3:=EMA(量,9);
STICKLINE(量1 >= 量2,量3,量1,8,0),color0000AA;
STICKLINE(量1 >= 量2,量3,量1,7,0),color0000BB;
STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC;
STICKLINE(量1 >= 量2,量3,量1,5,0),color0000DD;
STICKLINE(量1 >= 量2,量3,量1,4,0),color0000EE;
STICKLINE(量1 >= 量2,量3,量1,3,0),color0000FF;
STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF0000;
STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300;
STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500;
STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700;
STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900;
STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00;
STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00;
STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00;
T1:=量2 >= 量3 AND 量1 < REF(量1,1);
T2:=量2 < 量3 AND 量1 > REF(量1,1);
STICKLINE(T1,量1,量3,8,0),colorFFBB11;
STICKLINE(T1,量1,量3,7,0),colorFFCC22;
STICKLINE(T1,量1,量3,5,0),colorFFDD33;
STICKLINE(T1,量1,量3,3,0),colorFFEE44;
STICKLINE(T1,量1,量3,1,0),colorFFFF55;
STICKLINE(T2,量1,量3,10,0),color338FDD;
STICKLINE(T2,量1,量3,8,0),colorFF00FF;
STICKLINE(T2,量1,量3,1,0),color00DDFF;
STICKLINE(T2,量1,量3,8,0),color00AAFF;
STICKLINE(T2,量1,量3,6.6,0),color00BBFF;
STICKLINE(T2,量1,量3,4.4,0),color00CCFF;
STICKLINE(T2,量1,量3,3.3,0),color00DDFF;
STICKLINE(T2,量1,量3,2.2,0),color00EEFF;
STICKLINE(T2,量1,量3,1,0),color00FFFF;
=========================================
###: 莊家控盤情況查看
主力控籌80以上就要關注
獲利籌碼:EMA(WINNER(C)*70,5),colorred;
虧損籌碼:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Colorf0ff00;
STICKLINE(虧損籌碼>0,0,虧損籌碼,5,0),COLOR66FF00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.9,5,0),COLOR66EE00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.85,5,0),COLOR66DD00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.8,5,0),COLOR66CC00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.75,5,0),COLOR66BB00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.7,5,0),COLOR66AA00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.65,5,0),COLOR669900;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.6,5,0),COLOR668800;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.55,5,0),COLOR667700;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.5,5,0),COLOR666600;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.45,5,0),COLOR665500;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.4,5,0),COLOR664400;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.35,5,0),COLOR663300;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.3,5,0),COLOR662200;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.25,5,0),COLOR661100;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.2,5,0),COLOR660000;
主力控籌:IF(獲利籌碼>虧損籌碼,獲利籌碼*2,獲利籌碼),colorred;
STICKLINE(主力控籌>0,0,主力控籌,5,0),COLORFFFFFF;
STICKLINE(主力控籌>0,0,主力控籌*0.9,5,0),COLOREEEEEE;
STICKLINE(主力控籌>0,0,主力控籌*0.85,5,0),COLORDDDDDD;
STICKLINE(主力控籌>0,0,主力控籌*0.8,5,0),COLORCCCCCC;
STICKLINE(主力控籌>0,0,主力控籌*0.75,5,0),COLORBBBBBB;
STICKLINE(主力控籌>0,0,主力控籌*0.7,5,0),COLORAAAAAA;
STICKLINE(主力控籌>0,0,主力控籌*0.65,5,0),COLOR999999;
STICKLINE(主力控籌>0,0,主力控籌*0.6,5,0),COLOR888888;
STICKLINE(主力控籌>0,0,主力控籌*0.55,5,0),COLOR777777;
STICKLINE(主力控籌>0,0,主力控籌*0.5,5,0),COLOR666666;
STICKLINE(主力控籌>0,0,主力控籌*0.45,5,0),COLOR555555;
STICKLINE(主力控籌>0,0,主力控籌*0.4,5,0),COLOR444444;
STICKLINE(主力控籌>0,0,主力控籌*0.35,5,0),COLOR333333;
STICKLINE(主力控籌>0,0,主力控籌*0.3,5,0),COLOR222222;
STICKLINE(主力控籌>0,0,主力控籌*0.25,5,0),COLOR111111;
STICKLINE(主力控籌>0,0,主力控籌*0.2,5,0),COLOR000000;
STICKLINE(獲利籌碼>0,0,獲利籌碼,5,0),COLORFFFFFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.9,5,0),COLOREEEEFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.85,5,0),COLORDDDDFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.8,5,0),COLORCCCCFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.75,5,0),COLORBBBBFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.7,5,0),COLORAAAAFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.65,5,0),COLOR9999FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.6,5,0),COLOR8888FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.55,5,0),COLOR7777FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.5,5,0),COLOR6666FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.45,5,0),COLOR5555FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.4,5,0),COLOR4444FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.35,5,0),COLOR3333FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.3,5,0),COLOR2222FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.25,5,0),COLOR1111FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.2,5,0),COLOR0000FF;
AI:=AMOUNT/VOL/100;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*VOL/CAPITAL;
抄底:IF((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,100, 0),Color00FF00;
STICKLINE(抄底,0,30,4,0),ColorFFFFFF;
動態(tài)底部:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10,STICK,coloryellow,LINETHICK2;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
STICKLINE(((CLOSE > 0) AND DAY=2),20,121,40,1),colorFFFFFF;
STICKLINE(((SAT <= 5) AND DAY=2),21,(20 + SAT),35,0),colorFFFFFF;
STICKLINE((((SAT > 5) AND (SAT <= 20)) AND DAY=2),21,(20 + SAT),35,0),colorCCFF88;
STICKLINE((((SAT > 20) AND (SAT <= 40)) AND DAY=2),21,(20 + SAT),35,0),colorFF00FF;
STICKLINE(((SAT > 40) AND DAY=2),21,(20 + SAT),35,0),color0000FF;
主力籌碼:EMA(WINNER(CLOSE)*70,10),colorwhite;
散戶籌碼:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),color00ff00;
STICKLINE(主力籌碼>散戶籌碼, 主力籌碼,散戶籌碼,6,0),colorred;
STICKLINE(主力籌碼<散戶籌碼, 主力籌碼,散戶籌碼,6,0),color00ff00;===========================================================###看霸王莊VOLUME:VOL,VOLSTICK;
主力啟動線:MA(VOLUME,5),COLORRED,LINETHICK2;
主力洗盤線:MA(VOLUME,35),COLORYELLOW,LINETHICK2;
資金異動線:MA(VOLUME,135),COLORBLUE,LINETHICK2;
出擊:STICKLINE(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)),0,VOL,2,0),COLORYELLOW;
啟動:STICKLINE(主力啟動線>REF(主力啟動線,1) AND (CROSS(VOL,主力啟動線) AND (REF(VOL,1)<REF(資金異動線,1) OR REF(VOL,2)<REF(資金異動線,2))),0,VOL,3,0),COLORGREEN;
V1:=CLOSE/REF(CLOSE,3)>=1.1;
V2:=BACKSET(V1,2);
V3:=REF(CLOSE,3)*1.1;
V4:=CROSS(C,V3);
OK:STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,5,0),COLORRED;
COND:(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)))
OR (主力啟動線>REF(主力啟動線,1) AND (CROSS(VOL,主力啟動線) AND (REF(VOL,1)<REF(資金異動線,1) OR REF(VOL,2)<REF(資金異動線,2))))
OR (V2 AND COUNT(V2,2)=1),LINETHICK0;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
長期線:=A+100;
短期線:=B+100;
中期線:=D+100;
見頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線));
頂部區(qū)域:=(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長期線+4;
頂部:=FILTER(頂部區(qū)域,4);
STICKLINE( {見頂 OR} 頂部,VOL,VOL*1.1,20,1 ),COLORBLUE,LINETHICK2;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLOR0099FF,LINETHICK2;
均勢一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均勢二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趨勢一:=((((均勢一 - REF(均勢一,1)) / REF(均勢一,1)) * 1000) + 50);
趨勢二:=((((均勢二 - REF(均勢二,1)) / REF(均勢二,1)) * 1000) + 50);
波段高位:=(CROSS(趨勢一,趨勢二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));主力持倉:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
指數(shù)趨勢:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
強弱分界:=80;
主力籌碼集中度:=WINNER(C)*100;
散籌籌碼集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
{強勢時候放心買}
qiang:=(主力持倉-散籌籌碼集中度)>20 and (主力籌碼集中度-散籌籌碼集中度)>0 and 主力持倉>50;
強莊坐鎮(zhèn):if(qiang,1,0);
DRAWTEXT(強莊坐鎮(zhèn),(LOW * 0.99),\'●\'),Coloryellow;
霸王莊:if(qiang and 主力籌碼集中度-散籌籌碼集中度>20,1,0);
DRAWTEXT(霸王莊,(LOW * 0.97),\'●\'),Colorred;
、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、修改后====VOLUME:VOL,VOLSTICK;
主力啟動線:MA(VOLUME,5),colorred,LINETHICK2;
主力洗盤線:MA(VOLUME,35),coloryellow,LINETHICK2;
資金異動線:MA(VOLUME,135),colorblue,LINETHICK2;
出擊:STICKLINE(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)),0,VOL,2,0),coloryellow;
啟動:STICKLINE(主力啟動線>REF(主力啟動線,1) AND (CROSS(VOL,主力啟動線) AND (REF(VOL,1)<REF(資金異動線,1) OR REF(VOL,2)<REF(資金異動線,2))),0,VOL,3,0),colorgreen;
V1:=CLOSE/REF(CLOSE,3)>=1.1;
V2:=BACKSET(V1,2);
V3:=REF(CLOSE,3)*1.1;
V4:=CROSS(C,V3);
OK:STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,5,0),colorred;
COND:(CROSS(主力啟動線,資金異動線) OR ((主力洗盤線 > 資金異動線) AND CROSS(主力啟動線,主力洗盤線)))
OR (主力啟動線>REF(主力啟動線,1) AND (CROSS(VOL,主力啟動線) AND (REF(VOL,1)<REF(資金異動線,1) OR REF(VOL,2)<REF(資金異動線,2))))
OR (V2 AND COUNT(V2,2)=1),LINETHICK0;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
長期線:=A+100;
短期線:=B+100;
中期線:=D+100;
見頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線));
頂部區(qū)域:=(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長期線+4;
頂部:=FILTER(頂部區(qū)域,4);
STICKLINE(頂部,VOL,VOL*1.1,20,1 ),colorblue,LINETHICK2;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLOR0099FF,LINETHICK2;
均勢一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);
均勢二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4);
趨勢一:=((((均勢一 - REF(均勢一,1)) / REF(均勢一,1)) * 1000) + 50);
趨勢二:=((((均勢二 - REF(均勢二,1)) / REF(均勢二,1)) * 1000) + 50);
波段高位:=(CROSS(趨勢一,趨勢二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));主力持倉:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
指數(shù)趨勢:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
強弱分界:=80;
主力籌碼集中度:=WINNER(C)*100;
散籌籌碼集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
qiang:=(主力持倉-散籌籌碼集中度)>20 AND (主力籌碼集中度-散籌籌碼集中度)>0 AND 主力持倉>50;
強莊坐鎮(zhèn):IF(qiang,1,0);
DRAWTEXT(強莊坐鎮(zhèn),(LOW * 0.99),\'★\'),coloryellow;
霸王莊:IF(qiang AND 主力籌碼集中度-散籌籌碼集中度>20,1,0);
DRAWTEXT(霸王莊,(LOW * 0.97),\'★\'),colorred;========================================================== #####絕密操盤手 A:MA(CLOSE,3),ColorFF00FF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,10);
B2:=REF(B,1);
MA20:=EMA(CLOSE,20);
DRAWTEXT((B>B2),ma20,\'*\'),Colorffff00;
DRAWTEXT((B<B2),ma20,\'*\'),Coloryellow;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),Coloryellow;
MA21:=EMA(CLOSE,21);
STICKLINE(VAR1<MA21,h,l,0,0),Colorgreen;
STICKLINE(VAR1<MA21,c,o,8,0),Color007700;
STICKLINE(VAR1<MA21,c,o,7,0),Color008E00;
STICKLINE(VAR1<MA21,c,o,6,0),Color009900;
STICKLINE(VAR1<MA21,c,o,5,0),Color00A600;
STICKLINE(VAR1<MA21,c,o,4,0),Color00B500;
STICKLINE(VAR1<MA21,c,o,3,0),Color00C600;
STICKLINE(VAR1<MA21,c,o,2,0),Color00D500;
STICKLINE(VAR1<MA21,c,o,1,0),Color00E600;
STICKLINE(VAR1>MA21,h,l,0,0),Color106fff;
STICKLINE(VAR1>MA21,c,o,8,0),Color000084;
STICKLINE(VAR1>MA21,c,o,7,0),Color000095;
STICKLINE(VAR1>MA21,c,o,6,0),Color0000A2;
STICKLINE(VAR1>MA21,c,o,5,0),Color0000B3;
STICKLINE(VAR1>MA21,c,o,4,0),Color0000C8;
STICKLINE(VAR1>MA21,c,o,3,0),Color0000D7;
STICKLINE(VAR1>MA21,c,o,2,0),Color0000EA;
STICKLINE(VAR1>MA21,c,o,1,0),Color0000FF; STICKLINE(VAR1<VAR2 AND VAR1>MA21,h,l,0,0),Colorff5d10;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,c,o,8,0),Colorff5d10;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,c,o,5,0),Colorff7710;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,c,o,2,0),Colorff9910;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,h,l,0,0),Colorff00ff;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,8,0),Color8E008E;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,7,0),Color9D009D;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,6,0),ColorB000B0;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,5,0),ColorC600C6;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,4,0),ColorD000D0;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,3,0),ColorE600E6;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,2,0),ColorF900F9;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,c,o,1,0),ColorFF09FF; MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(VARF,3,1);
頂:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND
(K>79),h*1.02,\'風險\'),Coloryellow;