看清大盘做个股
本指标由看大做小指标改编而成,增加了底顶有利于看盘。
用法:在低位有“持股”提示价位买入,在高位出现“持币”提示的价位出局。
趋势强弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK;
个股趋势:3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1)
-2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1),COLOR00DDDD;
大盘趋势:3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1)
-2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1),COLORDD22DD;
大盘危险:大盘趋势>80,COLOR00FF00,NODRAW;
STICKLINE(大盘趋势>80,大盘趋势,80,3,0),COLOR00FF00;
个股危险:个股趋势>80,COLOR888888,NODRAW;
DRAWBAND(个股趋势,RGB(80,80,80),80,RGB(0,0,0));
IF(1,大盘趋势,大盘趋势),COLORDD22DD;
IF(1,个股趋势,个股趋势),COLOR00DDDD;
持币:IF(个股趋势<REF(个股趋势,1),个股趋势,DRAWNULL),LINETHICK2,COLORFFFF00;
持股:IF(个股趋势>REF(个股趋势,1) AND 大盘趋势>REF(大盘趋势,1),个股趋势,DRAWNULL),LINETHICK2,colorred;
预警:CROSS(大盘趋势,个股趋势) AND 个股趋势<3 OR LONGCROSS(个股趋势,0,3),COLORFF55FF,NODRAW;
STICKLINE(CROSS(大盘趋势,个股趋势)AND 个股趋势<3 OR LONGCROSS(个股趋势,0,3),0,20,1,0),COLORFF55FF;
地板价:IF(COUNT(个股趋势<0,3)=3 AND 个股趋势>REF(个股趋势,1),10,0),COLORFF6000,LINETHICK2;
N:=27;
M1:=9;
M2:=5;
M3:=3;
A:=6;
B:=49;
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR3:=SMA(VAR2,M1,1);
VARA:=(CLOSE-LLV(LOW,21.55))/(HHV(HIGH,21.55)-LLV(LOW,34))*80;
VARB:=SMA(VARA,9,1);
VARC:=SMA(VARB,5,1);
LC:=REF(CLOSE,1);
山:=SMA(MAX(CLOSE-LC,0),A,1)/SMA(ABS(CLOSE-LC),A,1)*100;
花:=CROSS(山,14);
底1:=IF(CROSS(VARB,VARC) AND VARB<13,20,0);
顶:IF(CROSS(68,山),81,100),LINETHICK2,colorgreen;
底:IF((底1 OR 花),30,0),LINETHICK2,coloryellow;
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Q2:=(CLOSE-LLV(LOW, M1))/(HHV(HIGH, M1)-LLV(LOW, M1))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
目标价咯:(MGJZC*0.32+3.8+MGSY*3.9)*(INDEXDATA("1a0001",&CLOSE)/1000-0.4);
当前价咯:CLOSE
|