VAR1:=EMA(EMA(CLOSE,13),13);
控盤(pán):=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盤(pán)《0,控盤(pán),0,1,1),COLOR00FF00;
STICKLINE(控盤(pán)》REF(控盤(pán),1) AND 控盤(pán)《0,控盤(pán),0,1,1),COLORFF00FF;
無(wú)莊控盤(pán):=控盤(pán)《0;
STICKLINE(控盤(pán)》REF(控盤(pán),1) AND 控盤(pán)》0,控盤(pán),0,1,1),COLOR0000FF;
有莊控盤(pán):=控盤(pán)》REF(控盤(pán),1) AND 控盤(pán)》0;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盤(pán)《REF(控盤(pán),1) AND 控盤(pán)》0,控盤(pán),0,1,1),COLORFFFF00;
主力出貨:=控盤(pán)《REF(控盤(pán),1) AND 控盤(pán)》0;
STICKLINE(VAR2》50 AND COST(85)《CLOSE AND 控盤(pán)》0,控盤(pán),0,1,1),COLOR00FFFF;
高度控盤(pán): VAR2》50 AND COST(85)《CLOSE AND 控盤(pán)》0,ColorFF00FF,LINETHICK2;
A10:=CROSS(控盤(pán),0);
控盤(pán)B:=FILTER(IF(A10,1,0),5);
{控盤(pán)買(mǎi)賣(mài)條件}
STJ01:=控盤(pán)《REF(控盤(pán),1) AND 控盤(pán)》0.5;
STJ02:=控盤(pán)》0;
BTJ2:=控盤(pán)》REF(控盤(pán),1) AND 控盤(pán)《-0.2;
BTJ22:=控盤(pán)》REF(控盤(pán),1) AND 控盤(pán)《0 ;
{分時(shí)價(jià)格原碼}
JJ:=DYNAINFO(11);
{波段買(mǎi)賣(mài)原碼}
P:=55;S:=8;M1:=3;
能量:(EMA(CLOSE,S)-EMA(C,P))*10,LINETHICK2,COLOR0000FF;
空頭:EMA(能量,M1),COLOR00FF00;
{股價(jià)與均線(xiàn)偏離買(mǎi)賣(mài)條件}
BTJ1:=(CLOSE-JJ)/JJ《-0.005;
BTJ11:=(CLOSE-JJ)/JJ《-0.03;
BTJ12:=ref(LAST(JJ》=REF(JJ,1)),1)》=4 AND (CLOSE-JJ)/JJ《0.005;
STJ1:=(C-JJ)/JJ》0.005;
{波段買(mǎi)賣(mài)條件}
BTJ3:=CROSS(能量,空頭) AND 能量《-0.3;
BTJ32:=CROSS(能量,空頭) AND 能量《-0.1;
STJ31:=CROSS(空頭,能量);
STJ32:=CROSS(空頭,能量) AND 能量》1.618;
{以下為信號};A:=8;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A);
時(shí)長(cháng):=if(HOUR》=9 AND HOUR《14 ,1,0);{9點(diǎn)至 14點(diǎn)}
有莊:BTJ811 AND TIME》15 and 時(shí)長(cháng),ColorFF8000,STICK,LINETHICK3;
DRAWICON(BTJ811 AND TIME》5 and 時(shí)長(cháng),0,9),ALIGN1;{有莊};
DRAWTEXT(BTJ811 AND TIME》5 and 時(shí)長(cháng),1.5,‘莊’),Color00FFFF,ALIGN1;
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,A);
STJ82:=FILTER(STJ02 AND STJ32 ,A);
STJ83:=STJ81 AND STJ82;
DRAWTEXT(STJ83,空頭,‘賣(mài)’),ColorFFFFFF,ALIGN1;
{量?jì)r(jià)新高}
T:=BARSCOUNT(CLOSE);
分鐘數:=IF(TIME0/60-570《=130,TIME0/60-570,TIME0/60-660);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主買(mǎi):=IF(CLOSE》OPEN,AA*南方財富網(wǎng)整理www.travelwithnise.com(HIGH-LOW),IF(CLOSE《OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2));
主賣(mài):=IF(CLOSE》OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE《OPEN,0- AA*(HIGH-LOW),0-VOL/2));
量:=VOL;
額:=AMOUNT/100000000;
流入額:=MA(主買(mǎi),4)/100000;
流出額:=MA((0-主賣(mài)),4)/100000;
凈流入:=SUM(流入額-流出額,0);
價(jià)新高:=COUNT(H=HHV(H,分鐘數),30);
量新高:=COUNT(V=HHV(V,分鐘數) ,30);
量?jì)r(jià)新高:價(jià)新高=量新高 AND 價(jià)新高》0 AND 價(jià)新高》REF(價(jià)新高,1) AND 量新高》REF(量新高,1) AND 凈流入》0,Color00FFFF,STICK,linethick3;
以下是現在的預警公式
有莊(一分鐘預警)
P:=55;S:=8;M1:=3;
能量:=(EMA(C,S)-EMA(C,P))*10;
空頭:=EMA(能量,M1);
BTJ3:=CROSS(能量,空頭) AND 能量《-0.3;
VAR1:=EMA(EMA(C,13),13);
控盤(pán):=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
BTJ2:=控盤(pán)》REF(控盤(pán),1) AND 控盤(pán)《-0.2;
JJ:=DYNAINFO(11);
BTJ11:=(C-JJ)/JJ《-0.03;
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,3);
分鐘數:=IF(TIME0/60-570《=130,TIME0/60-570,TIME0/60-660);
時(shí)間:=COUNT(BTJ811,分鐘數);
時(shí)長(cháng):=if(HOUR》=9 AND HOUR《15 ,1,0);{9點(diǎn)至 15點(diǎn)}
有莊:BTJ811 AND TIME》5 and 時(shí)長(cháng);
(南方財富網(wǎng)SOUTHMONEY.COM)