春江水暖(走势、进场、加仓)
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
STICKLINE((DIFF > DEA),(0 - 5),(0 - 0),10,0),colorFFFFFF;
STICKLINE((DIFF < DEA),(0 - 5),(0 - 0),10,0),colorFF0000;
BIAS1W:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
BIAS2W:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
BIAS3W:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
MM:=(((BIAS1W + (2 * BIAS2W)) + (3 * BIAS3W)) / 6);
MN:=MA(MM,3);
STICKLINE((MN < (0 - 6)),0,(0 - 5),8,1),colorFF0000;
STICKLINE((MN < (0 - 9)),0,(0 - 5),8,1),colorFFFFFF;
STICKLINE((MN < (0 - 12)),0,(0 - 5),8,0),colorFF0000;
VAR1:=((CLOSE * 50) / 100);
VAR2:=(MA(VAR1,30) * 0.83);
VAR3:=MA((VAR1 / VAR2),3);
VV:=VAR3;
DD:=(VAR3 < 1);
STICKLINE(DD,10,(0 - 5),10,0),colorFFFF00;
VAR1E:=(((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100);
VAR2E:=SMA(SMA(VAR1E,3,1),3,1);
VAR3E:=EMA(VAR2E,5);
BB:=VAR3E;
GZ:=((3 * VAR2E) - (2 * VAR3E));
F:=EMA(GZ,3);
见底:STICKLINE((GZ < 10),(0 - 10),(0 - 15),6,0),colorFFFF00;
STICKLINE((GZ > BB),20,BB,10,0),colorDDDDDD;
STICKLINE((GZ <= BB),20,BB,10,0),colorFF0000;
STICKLINE((GZ > F),GZ,F,10,0),colorFF0000;
STICKLINE((GZ > F),GZ,F,6,0),color99FF00;
STICKLINE((GZ > F),GZ,F,2,0),colorFFFF00;
STICKLINE((GZ < F),GZ,F,10,0),colorFF0000;
STICKLINE((GZ < F),GZ,F,6,0),colorFF9900;
STICKLINE((GZ < F),GZ,F,2,0),colorFF0000;
VAR1K:=((LOW + HIGH) / 2);
VAR2K:=REF(VAR1K,1);
VAR3K:=((SMA((VAR1K - VAR2K),6,1) / SMA(ABS((VAR1K - VAR2K)),6,1)) * 100);
MMS:=(EMA(VAR3K,1) + 50);
MMM:=EMA(MMS,8);
MML:=EMA(MMS,24);
DRAWICON((CROSS(GZ,F) AND (COUNT((GZ < 4),5) >= 1)),(0 - 10),6);
DRAWICON((CROSS(GZ,F) AND (COUNT((GZ < 10),5) >= 1)),0,6);
DRAWICON((CROSS(GZ,F) AND (COUNT((MN < (0 - 6)),3) >= 1)),(0 - 10),6);
STICKLINE((((CLOSE / LOW) > 1.04) AND (COUNT((MN < (0 - 12)),3) >= 1)),95,20,8,0),colorFF0000;
DRAWTEXT(FILTER((((CLOSE / LOW) > 1.04) AND (COUNT((MN < (0 - 12)),3) >= 1)),15),95,'--严重超跌'),colorFF0000;
STICKLINE((((CLOSE / LOW) > 1.04) AND (COUNT((MN < (0 - 9)),3) >= 1)),85,20,8,0),colorFFFF00;
DRAWTEXT(FILTER((((CLOSE / LOW) > 1.04) AND (COUNT((MN < (0 - 9)),2) >= 1)),15),80,'--中级超跌'),colorFF0000;
STICKLINE((((COUNT(DD,3) >= 1) AND ((CLOSE / LOW) > 1.04)) AND (CLOSE > REF(CLOSE,1))),95,20,8,0),colorFF0000;
DRAWTEXT(FILTER((((COUNT(DD,3) >= 1) AND ((CLOSE / LOW) > 1.04)) AND (CLOSE > REF(CLOSE,1))),10),115,'--抢金'),colorFF0000;
STICKLINE((((CLOSE / LOW) > 1.04) AND (COUNT((MN < (0 - 7)),2) >= 1)),70,20,8,0),colorFF0000;
DRAWTEXT(FILTER((((CLOSE / LOW) > 1.04) AND (COUNT((MN < (0 - 7)),2) >= 1)),10),60,'--超跌'),colorFF0000;
龙:=(WINNER(CLOSE) - (COST(50) / CLOSE));
海:=(0 - 1.6);
STICKLINE((((CLOSE / REF(CLOSE,1)) > 1.025) AND (COUNT((龙 < 海),2) >= 1)),80,0,8,0),colorFF00FF;
LL:=REF(CLOSE,1);
MM1:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
MD:=CROSS(80,MM1);
AR1:=((AMOUNT / VOL) / 1000);
AR2:=(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7);
AR3:=((SUM(AMOUNT,13) / AR1) / 1000);
AR4:=DMA(AR2,(VOL / AR3));
SK:=(((CLOSE - AR4) / AR4) * 1000);
MD2:=CROSS(40,SK);
VAR5I:=((REF(HIGH,1) + REF(LOW,1)) / 2);
VAR6I:=(MA(CLOSE,20) + (2 * STD(CLOSE,20)));
DB1:=CROSS(VAR5I,VAR6I);
VA3H:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10);
VA4H:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);
VA5H:=SMA(VA4H,13,8);
走势:=CEILING(SMA(VA5H,13,8));
VA6H:=SMA(VA3H,21,8);
FFF:=CROSS(85,走势);
IF(MD,80,100),colorFF0000;
20;
80;
91.307;
LC1:=REF(CLOSE,1);
RSI1:=((SMA(MAX((CLOSE - LC1),0),6,1) / SMA(ABS((CLOSE - LC1)),6,1)) * 100);
LY1:=EMA(RSI1,5);
STICKLINE((LY1 > 70),100,105,6,0),colorFFFF00;
DRAWICON(CROSS(70,LY1),110,5),LINETHICK1,colorFFFFFF;
AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);
BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);
CC:=(AA - BB);
DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);
EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN <> LOW));
A1:=DYNAINFO(6);
A2:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));
A3:=(VOL / WINNER(LOW));
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=((100 * (CLOSE - A5)) / (A4 - A5));
A7:=((A2 > 0) OR (A2 = 1));
A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));
A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));
A10:=(A8 AND A9);
A11:=IF(FILTER(A8,3),5,0);
A12:=IF((FILTER(A10,3) OR EE),10,0);
DRAWTEXT(A11,8,'进场'),colorFFFF00;
DRAWTEXT(A12,17,'加仓'),colorFFFFFF; |