N:=34;
M:=3;
生命指数:=EMA(400*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M)/4;
生命量能:=IF(生命指数>23.16,0);
HIGHN:=10;
LOWN:=10;
HIGHDISPLAY:=0;
LOWDISPLAY:=0;
ZGDISPLAY:=0;
MADISPLAY:=0;
AA:=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORYELLOW,LINETHICK1;
RSI:=SMA(MAX(重心-REF(重心,1),0),5,1)/SMA(ABS(重心-REF(重心,1)),5,1);
GAO:=HHV(C,60)-LLV(C,60);
VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);
VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);
主力:VAR3,COLORRED,LINETHICK2;
秋天:=100*EMA(EMA(左手,6),6)/EMA(EMA(ABS(左手),6),6);
梦想:=LLV(秋天,2)=LLV(秋天,7) AND COUNT(秋天<0,2) AND CROSS(秋天,MA(秋天,2));
十三:=FINANCE(7)<=600000000;
十三的思想:=(C-REF(C,20))/REF(C,20)*100<0;
决策:(FILTER(梦想=1,5))AND("CCI">0)AND(十三)AND(十三的思想) AND (买进=0 OR 买进=1 OR 卖出=0)*7;
COHL:=(C+O+H+L)/4;{算术均价}
成交均价:=AMOUNT/VOL/100;
TEST:=BETWEEN(成交均价,L,H);
CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价}
CC01:=FORCAST(CC0,5),COLORWHITE;
EMA34:=EMA(CC01,34),COLORFFCC66;
EMA21:=EMA(CC01,21),COLORGREEN;
EMA13:=EMA(CC01,13),COLORBROWN;
EMA5:=EMA(EMA(CC01,5),2),COLORYELLOW;
TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01
AND ABS(EMA13-EMA21)<EMA21*0.01
AND ABS(EMA34-EMA21)<EMA21*0.01
AND EMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1)
AND EMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1);
启动点:=FILTER(TJ,5);
DRAWTEXT(启动点,L*0.95,'启'),COLORMAGENTA;
GJ:=(C+H+L+O)/4;
明日阻力:=L+(GJ-L)+(C-L),LINETHICK0;
明日支撑:=L+(C-GJ),LINETHICK0;
今日阻力:=REF(明日阻力 , 1),LINETHICK0;
今日支撑:=REF(明日支撑 , 1),LINETHICK0;
波谷:=IF(BARSLAST(FILTER((FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),20))>BARSLAST(FILTER((FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10)) AND NOT(FILTER((FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10))>=1,REF(C,BARSLAST(FILTER((FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10))),DRAWNULL),COLOR00FFFF;
VAR11:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR21:=EMA(EMA(EMA(VAR11,4),4),4);
SJ:= (VAR21-REF(VAR21,1))/REF(VAR21,1)*100, COLORSTICK;
SD:= MA(SJ,2);
SK:= MA(SJ,1);
VAR31:=CROSS(SK,SD) AND SK<0;
VAR41:=CROSS(SK,0);
VAR51:=CROSS(SK,SD) AND SK>0;
买一:= VAR31, STICK;
买二:= VAR41 OR VAR51, STICK;
VAR6:=CROSS(SD,SK);
N1:=6;
VAR10:=(2*CLOSE+OPEN+HIGH+LOW)/5;
VAR20:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100;
VAR30:=(EMA(VAR20,3)+EMA(VAR20,6)+EMA(VAR20,12)+EMA(VAR20,24))/4;
A1:= EMA(VAR30,2);
A2:= EMA(A1,2);
A30:= EMA(A2,2);
A4:= EMA(A30,2);
A5:= EMA(A4,2);
买进0:=IF(CROSS(A1,A5),-1,-5);
A6:= 3*A1-2*A2;
两重合:(买一=1 OR 买二=1) AND( 买进0=-1)*15;
N8:=102;
MN:=7;
CCN:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DDN:=DMA(CLOSE,CCN);
通道4:=(1-MN/100)*DDN;
通道:CROSS(H<通道4,0.5)*10,COLORRED;
LC:=REF(CLOSE,1);
止损:=(LC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0;
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);
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
黄金坑:IF(RRD,-10,0),COLORYELLOW,LINETHICK2;