大智慧螺旋线
A:=COUNT(C,0)=1{XG51};
B:=BArslAST(A)/8{XG51};
螺旋线:SIN(B)*198,COLORWHITE{XG51};
STICKLINE( SIN(B)>=0.99, 0,198 ,10 , 0),colorff00ff{XG51};
STICKLINE( SIN(B)<-0.99, 0,-198 ,10 , 0),colorff00ff{XG51};
TYP:=(OPEN+HIGH + LOW + CLOSE)/4{XG51};
跌卦:(TYP-wma(TYP,9))/(0.015*AVEDEV(TYP,9)),COLORff3399,linethick2{XG51};
{一一二五}A度:HIGH/1.0401; {二十二}B度:{一一二五}A度/1.0401; {三三七五}C度:{二十二}B度/1.0402; {四十五}D度:{三三七五}C度/1.0402; {五十六}E度:{四十五}D度/1.0403{XG51};
{六十七}F度:{五十六}E度/1.0403; {七十八}G度:{六十七}F度/1.0404; {九十}H度:{七十八}G度/1.0404; {一百十二}I度:{九十}H度/1.0405; 诱空:{一百十二}I度/1.0405{XG51};
STICKLINE(跌卦,0,跌卦*4/5,6,0),COLOR00ddfF{XG51};
STICKLINE(跌卦,0,跌卦*3/5,6,0),COLOR0099FF{XG51};
STICKLINE(跌卦,0,跌卦*2/5,6,0),COLOR0066FF{XG51};
STICKLINE(跌卦,0,跌卦*1/5,6,0),COLOR0000FF{XG51};
STICKLINE(跌卦<0,0,跌卦,6,0),COLORCCFFCC{XG51};
STICKLINE(跌卦<0,0,跌卦*4/5,6,0),COLOR99FF99{XG51};
STICKLINE(跌卦<0,0,跌卦*3/5,6,0),COLOR66CC66{XG51};
STICKLINE(跌卦<0,0,跌卦*2/5,6,0),COLOR339933{XG51};
100,POINTDOT,COLORyellow{XG51};
-100,POINTDOT,COLORyellow{XG51};
VAR4:=wMA(CLOSE,2){XG51};
VAR5:=wMA(CLOSE,13){XG51};
VAR6:=wMA(CLOSE,34){XG51};
VAR7:=wMA(CLOSE,60){XG51};
VAR8:=wMA(COST(90),2){XG51};
VAR9:=wMA(COST(13),2){XG51};
VARA:=(SUM(((CLOSE * vol) * 100),4) / SUM((VOL * 100),4)){XG51};
VARB:=(INTPART((VARA * 100)) / 100){XG51};
VARC:=(SUM(((CLOSE * VOL) * 100),7) / SUM((VOL * 100),7)){XG51};
VARD:=(INTPART((VARC * 100)) / 100){XG51};
VARE:=(SUM(((CLOSE * VOL) * 100),28) / SUM((VOL * 100),28)){XG51};
VARF:=(INTPART((VARE * 100)) / 100){XG51};
VAR10:=((0 - ((100 * (HHV(CLOSE,2) - CLOSE)) / (HHV(CLOSE,2) - LLV(LOW,2)))) + 100){XG51};
VAR11:=((0 - ((100 * (HHV(CLOSE,13) - CLOSE)) / (HHV(CLOSE,13) - LLV(LOW,13)))) + 100){XG51};
VAR12:=((0 - ((100 * (HHV(CLOSE,34) - CLOSE)) / (HHV(CLOSE,34) - LLV(LOW,34)))) + 100){XG51};
VAR13:=((0 - ((100 * (HHV(CLOSE,60) - CLOSE)) / (HHV(CLOSE,60) - LLV(LOW,60)))) + 100){XG51};
短线趋势:=(wMA(CLOSE,2) - wMA(CLOSE,13)){XG51};
中线趋势:=wMA(短线趋势,13){XG51};
VAR14:=REF(中线趋势,1){XG51};
VAR16:=(中线趋势 - VAR14){XG51};
VAR17:=REF(短线趋势,1){XG51};
VAR19:=(短线趋势 - VAR17){XG51};
VAR1A:=OPEN{XG51};
VAR1B:=CLOSE{XG51};
发现机构入场:IF((((((((VAR1A <= VAR4) AND (VAR1A <= VAR5)) AND (VAR1A <= VAR6)) AND (VAR1B >= VAR4)) AND (VAR1B >= VARF)) AND (VAR16 > 0)) AND (VAR19 > 0)),100,0),LINETHICK2,color66FF00;