羚羊踪迹:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
潜伏期:=IF(羚羊踪迹>=90,90,100);
LOWV:=LLV(C,15);
HIGHV:=HHV(C,15);
RSV:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
牛股1:=REF(羚羊踪迹<=10,1) AND K>REF(K,1);
吸筹1:=羚羊踪迹<=10;
N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
牛股2:=CROSS(VAR1,8);
吸筹2:=VAR1<=8;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹3:=CROSS(VAR9>20,0.5);
N1:=9;
M1:=3;
M2:=3;
P:=9;
快线:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
慢线:=SMA(快线,M1,1);
空:=SMA(慢线,M2,1);
牛股3:=BARSLAST(CROSS(慢线,空))<P AND CROSS(慢线,空) AND 慢线<20;
吸筹:IF(吸筹1 OR 吸筹2 OR 吸筹3,40,0),STICK,COLORGRAY;
攻击:IF(CROSS(牛股1,0.5) OR 牛股2 OR 牛股3,40,0),STICK,LINETHICK4,COLORMAGENTA;
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*15*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;
拉升力B:=3*拉升力A-2.1*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;
做空周期:=HHV(做空,100),COLORBLUE,LINETHICK2;
多头:IF(做空>=REF(做空,1) ,做空,DRAWNULL),COLORRED,LINETHICK3;
{DRAWICON(做空>=REF(做空,1) AND REF(做空,1)<REF(做空,2),做空,23);}
空头:IF(做空<REF(做空,1),做空,DRAWNULL),COLORGREEN,LINETHICK3;
{DRAWICON(做空<=REF(做空,1) AND REF(做空,1)>REF(做空,2),做空,19);};
A1:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
A2:=SMA(A1,13,1),COLORWHITE;
A3:=SMA(A2,13,1),COLORYELLOW;
出击:=3*A2-2*A3,COLORYELLOW ,LINETHICK2;
阻力:=3*A3-2*A2,COLORBLUE,LINETHICK2 ;
IF(CROSS(出击,阻力),20,0);
HH:=IF((SUM(MA(C,240),0)/(BARSSINCE(MA(C,240)>0)+239))*1.2>0,(SUM(MA(C,240),0)/(BARSSINCE(MA(C,240)>0)+239))*0.8,DRAWNULL);
GAO:=HHV(C,60)-LLV(C,60);
RSI:=SMA(MAX((C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382-REF((C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,1),0),5,1)/SMA(ABS((C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382-REF((C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,1)),5,1);
STICKLINE(CROSS(RSI,0.1),(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382+GAO*(RSI-0.5),REF((C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382+GAO*(RSI-0.5),1),8,1),COLORFFFFFF;
AA:=1;
BB:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
CC:=IF(((((AMOUNT / CLOSE) / (HHV(AMOUNT,9) / HHV(CLOSE,9))) * 100) > 100),100,(((AMOUNT / CLOSE) / (HHV(AMOUNT,9) / HHV(CLOSE,9))) * 100));
DD:=(BB / CC);
价异动排序:IF(AA,(DD / REF(DD,1)),0),STICK,COLOR0000FF;
EE:=(CC / BB);
量异动排序:IF(AA,(EE / REF(EE,1)),0),STICK,COLORFFFF00;
火:=BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),COLORRED;
山:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),COLORGREEN;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,波峰波谷,'●'),COLORRED;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,波峰波谷,'¤'),COLORYELLOW;
STICKLINE(REF(山,1)=0 AND 山>0,0,5{-1},5,1),COLORRED;
顶G:=85;
VARG1:=HHV(HIGH,9)-LLV(LOW,9);
VARG2:=HHV(HIGH,9)-CLOSE;
VARG3:=CLOSE-LLV(LOW,9);
VARG4:=VARG2/VARG1*100-70;
VARG5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VARG6:=(2*CLOSE+HIGH+LOW)/4;
VARG7:=SMA(VARG3/VARG1*100,3,1);
VARG8:=LLV(LOW,34);
VARG9:=SMA(VARG7,3,1)-SMA(VARG4,9,1);
VARGA:=IF(VARG9>100,VARG9-100,0);
VARGB:=HHV(HIGH,34);
AAG:= VARGA*2;
BBG:= EMA((VARG6-VARG8)/(VARGB-VARG8)*100,13);
VARCG:=EMA(0.667*REF(BBG,1)+0.333*BBG,2);
CCG:SMA(VARG5,20,1),COLORRED;
CCG1:SMA(CCG,5,1),COLORGREEN;
STICKLINE(CCG>CCG1,CCG,CCG1,1,0),COLORRED;
STICKLINE(CCG1>CCG,CCG,CCG1,1,0),COLORGREEN;
击:IF((CROSS(CCG,CCG1) AND (CCG1 < 顶G) ),80,0),COLORRED;
{跑}
DRAWICON(CCG < REF(CCG,1) AND REF(CCG,1) < REF(CCG,2) AND CCG > CCG1,100,2);
DRAWICON(CROSS(CCG1,CCG),100,15);
VARH2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VARH3:=SMA(SMA(VARH2,3,1),3,1)/28.57;
VARH4:=EMA(VARH3,5);
操盘:=3*VARH3-2*VARH4;
AH1:=CROSS(操盘,VARH3) AND VARH3<2.1 AND C>O;
STICKLINE(AH1,30,0,4,0),COLOR770077;
STICKLINE(AH1,30,0,3,0),COLOR990099;
STICKLINE(AH1,30,0,2,0),COLORBB00BB;
STICKLINE(AH1,30,0,1,0),COLORDD00DD;
STICKLINE(AH1,30,0,0.3,0),COLORFF00FF;
DRAWTEXT(AH1,36,'财神'),COLORRED;
|