大跌也赚钱组合(源码 副图 同花顺 贴图)
1.主图
买线:EMA(C,5); 趋势支撑线:(EMA(C,14)),LINETHICK1,coloryellow; A3:=EMA((((SLOPE(C,21)) * 20) + C),68); A4:=EMA(C,10); A5:=REF(C,2); A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100; A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0); A8:=LLV(L,21); A9:=HHV(H,21); A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5); A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13); A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2); A13:=LLV(L,55); A14:=HHV(H,34); A15:=EMA((((C - A13) / (A14 - A13)) * 100),3); A16:=(A11 + A15) / 2; A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2); A18:=EMA(A16,5); A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2); A20:=CROSS(A10,A11); A21:=(CROSS(A10,A19)) AND (A19 < 30); A22:=A21 * 0.6; A23:=((C + L) + H) / 3; A24:=EMA(A23,6); A25:=EMA(A24,5); A26:=CROSS(A24,A25); MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 牛线:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210; 马线:=MA(牛线,5); 买卖线:=MA(牛线,2); DRAWTEXT(CROSS(牛线,买卖线),L*0.99,'B买入'),colorred,linethick3; DRAWTEXT(CROSS(买卖线,牛线),H*1.008,'S卖出'),colorgreen,linethick3; ; STICKLINE(牛线>=买卖线,LOW,HIGH,1,0),colorred; STICKLINE(牛线>=买卖线,CLOSE,OPEN,4.5,0),color0000aa; STICKLINE(牛线>=买卖线,CLOSE,OPEN,4,0),color0000cc; STICKLINE(牛线>=买卖线,CLOSE,OPEN,3,0),color0000cc; STICKLINE(牛线>=买卖线,CLOSE,OPEN,2,0),color0000ee; STICKLINE(牛线<买卖线,CLOSE,OPEN,4.5,0),coloraaaa00; STICKLINE(牛线<买卖线,CLOSE,OPEN,4,0),colorbbbb00; STICKLINE(牛线<买卖线,CLOSE,OPEN,3,0),colorcccc00; STICKLINE(牛线<买卖线,CLOSE,OPEN,2,0),coloreeee00; STICKLINE(牛线<买卖线,LOW,HIGH,1,0),colorffff00; STICKLINE(CROSS(牛线,买卖线) OR CROSS(买卖线,牛线),OPEN,CLOSE,3,0),color00ffff; 主力成本线:牛线,coloryellow; 资金生命线:马线,colormagenta; C2:=REF(C,1); 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(涨停,OPEN,CLOSE,2.8,0),,colormagenta; STICKLINE(涨停,H,L,0,0),,colormagenta; ZF:=(C-REF(C,1))/REF(C,1)*100; 每天一个点:=C>O AND ZF<0 AND O<REF(L,1); STICKLINE(每天一个点,O,C,2.5,0),coloryellow; 趋势方向60日线:EMA(C,60),colorlired;
支撑线:EMA((SLOPE(C,22)*20+C),55);
MACD
主力 : EMA(CLOSE,12) - EMA(CLOSE,26); 空方 : EMA(主力,9),COLORFFFF00; 控盘:EMA(CLOSE,12) - EMA(CLOSE,26); STICKLINE(控盘<0,控盘,0,3,0),COLORFFAA00; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3,0),colorred; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3,1),colorgreen; BT2:=CROSS(主力,空方) AND 主力<-10; 买:IF((CROSS(主力,空方) AND 主力<-10),1,0),LINETHICK1,COLORC87800; DRAWTEXT(控盘>0 AND 控盘=HHV(控盘,1+BARSLAST(CROSS(控盘,0))),控盘,'↑');
资金看涨
P2:=13;FI:=V*(C-REF(C,1))/C; 资金看涨:EMA(FI,P2); DRAWNUMBER(ISLASTBAR,资金看涨,资金看涨,6,colormagenta),ALIGN0; 零轴:0; DRAWTEXT(资金看涨>0 AND 资金看涨=HHV(资金看涨,1+BARSLAST(CROSS(资金看涨,0))),资金看涨,'↑');
资金流向
WJ:=(H+L+C)/3; V1:=IF(H=L,1,H-MAX(0,C)); V2:=IF(H=L,1,MAX(C,0)-WJ); V3:=IF(H=L,1,MIN(0,C)-L); V4:=IF(H=L,1,WJ-MIN(C,0)); V5:=VOL/IF(H=L,4,H-L); V6:=(V1*V5); V7:=(V2*V5); V8:=(V3*V5); V9:=(V4*V5); 资金流入:(V9+V8),colorred; 资金流出:-(V6+V7),COLOR00FF00; 资金流向:资金流入+资金流出; 十日均:MA(VOL/VOLAMOUNT,10); 成交手数:VOL/VOLAMOUNT; 成交数差:成交手数-十日均; 零轴:0
起爆
A个股收盘:=EMA(CLOSE,30); A大盘收盘:=EMA(INDEXC,49); A个股上限:=EMA(A个股收盘,7); A大盘上限:=EMA(A大盘收盘,7); A个股趋势:=((CLOSE / A个股上限)*100); A大盘趋势:=((INDEXC / A大盘上限)*100); sj:IF(DATE<=20881231,1,1);; 趋势交易指标:sj*(((A个股趋势 - A大盘趋势) / A大盘趋势) * 100); 监控资金:sj*IF((趋势交易指标 > 0),1,0),NODRAW,colorgreen; STICKLINE((监控资金= 1),0,2,8,0),colorred; DRAWTEXT(趋势交易指标>sj AND 趋势交易指标=HHV(趋势交易指标,1+BARSLAST(CROSS(趋势交易指标,sj))),趋势交易指标,'↑'); 支撑线:EMA((SLOPE(C,22)*20+C),55);
庄家控盘
M:=55; N:=34; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1); VAR2:=REF(LOW,1)*VAR1; VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1; VAR5:=LLV(LOW,30)*VAR1; VAR6:=HHV(VAR4,30)*VAR1; VAR7:=IF(MA(CLOSE,58),1,0)*VAR1; VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1; 散户: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORFFFF00,LINETHICK1; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 庄家:EMA(J,6),COLORFF00FF,LINETHICK1; AA:=CROSS(庄家,散户);
移动端首页 | PC端
© by gszx.com.cn Mobile Web
大跌也赚钱组合(源码 副图 同花顺 贴图)
1.主图
买线:EMA(C,5);
趋势支撑线:(EMA(C,14)),LINETHICK1,coloryellow;
A3:=EMA((((SLOPE(C,21)) * 20) +
C),68);
A4:=EMA(C,10);
A5:=REF(C,2);
A6:=((SMA((MAX((C - A5),0)),6,1))
/ (SMA(ABS((C - A5)),6,1))) * 100;
A7:=IF(((A6 < (REF(A6,1))) AND (A6 >
79)),A6,0);
A8:=LLV(L,21);
A9:=HHV(H,21);
A10:=EMA((((CLOSE - A8) / (A9
- A8)) * 100),5);
A11:=EMA((((CLOSE - A8) / (A9 - A8)) *
50),13);
A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 *
A10)),2);
A13:=LLV(L,55);
A14:=HHV(H,34);
A15:=EMA((((C - A13) / (A14 -
A13)) * 100),3);
A16:=(A11 + A15) / 2;
A17:=EMA(((0.667 * (REF(A15,1))) +
(0.333 * A10)),2);
A18:=EMA(A16,5);
A19:=EMA(((0.667 * (REF(A18,1))) +
(0.333 * A18)),2);
A20:=CROSS(A10,A11);
A21:=(CROSS(A10,A19)) AND (A19
< 30);
A22:=A21 * 0.6;
A23:=((C + L) + H) /
3;
A24:=EMA(A23,6);
A25:=EMA(A24,5);
A26:=CROSS(A24,A25);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
马线:=MA(牛线,5);
买卖线:=MA(牛线,2);
DRAWTEXT(CROSS(牛线,买卖线),L*0.99,'B买入'),colorred,linethick3;
DRAWTEXT(CROSS(买卖线,牛线),H*1.008,'S卖出'),colorgreen,linethick3;
;
STICKLINE(牛线>=买卖线,LOW,HIGH,1,0),colorred;
STICKLINE(牛线>=买卖线,CLOSE,OPEN,4.5,0),color0000aa;
STICKLINE(牛线>=买卖线,CLOSE,OPEN,4,0),color0000cc;
STICKLINE(牛线>=买卖线,CLOSE,OPEN,3,0),color0000cc;
STICKLINE(牛线>=买卖线,CLOSE,OPEN,2,0),color0000ee;
STICKLINE(牛线<买卖线,CLOSE,OPEN,4.5,0),coloraaaa00;
STICKLINE(牛线<买卖线,CLOSE,OPEN,4,0),colorbbbb00;
STICKLINE(牛线<买卖线,CLOSE,OPEN,3,0),colorcccc00;
STICKLINE(牛线<买卖线,CLOSE,OPEN,2,0),coloreeee00;
STICKLINE(牛线<买卖线,LOW,HIGH,1,0),colorffff00;
STICKLINE(CROSS(牛线,买卖线) OR CROSS(买卖线,牛线),OPEN,CLOSE,3,0),color00ffff;
主力成本线:牛线,coloryellow;
资金生命线:马线,colormagenta;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.8,0),,colormagenta;
STICKLINE(涨停,H,L,0,0),,colormagenta;
ZF:=(C-REF(C,1))/REF(C,1)*100;
每天一个点:=C>O AND ZF<0 AND O<REF(L,1);
STICKLINE(每天一个点,O,C,2.5,0),coloryellow;
趋势方向60日线:EMA(C,60),colorlired;
支撑线:EMA((SLOPE(C,22)*20+C),55);
MACD
主力 : EMA(CLOSE,12) - EMA(CLOSE,26);
空方 : EMA(主力,9),COLORFFFF00;
控盘:EMA(CLOSE,12) - EMA(CLOSE,26);
STICKLINE(控盘<0,控盘,0,3,0),COLORFFAA00;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3,0),colorred;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3,1),colorgreen;
BT2:=CROSS(主力,空方) AND 主力<-10;
买:IF((CROSS(主力,空方) AND 主力<-10),1,0),LINETHICK1,COLORC87800;
DRAWTEXT(控盘>0 AND 控盘=HHV(控盘,1+BARSLAST(CROSS(控盘,0))),控盘,'↑');
资金看涨
P2:=13;FI:=V*(C-REF(C,1))/C;
资金看涨:EMA(FI,P2); DRAWNUMBER(ISLASTBAR,资金看涨,资金看涨,6,colormagenta),ALIGN0;
零轴:0;
DRAWTEXT(资金看涨>0 AND 资金看涨=HHV(资金看涨,1+BARSLAST(CROSS(资金看涨,0))),资金看涨,'↑');
资金流向
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(0,C));
V2:=IF(H=L,1,MAX(C,0)-WJ);
V3:=IF(H=L,1,MIN(0,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,0));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
资金流入:(V9+V8),colorred;
资金流出:-(V6+V7),COLOR00FF00;
资金流向:资金流入+资金流出;
十日均:MA(VOL/VOLAMOUNT,10);
成交手数:VOL/VOLAMOUNT;
成交数差:成交手数-十日均;
零轴:0
起爆
A个股收盘:=EMA(CLOSE,30);
A大盘收盘:=EMA(INDEXC,49);
A个股上限:=EMA(A个股收盘,7);
A大盘上限:=EMA(A大盘收盘,7);
A个股趋势:=((CLOSE / A个股上限)*100);
A大盘趋势:=((INDEXC / A大盘上限)*100);
sj:IF(DATE<=20881231,1,1);;
趋势交易指标:sj*(((A个股趋势 - A大盘趋势) / A大盘趋势) * 100);
监控资金:sj*IF((趋势交易指标 > 0),1,0),NODRAW,colorgreen;
STICKLINE((监控资金= 1),0,2,8,0),colorred;
DRAWTEXT(趋势交易指标>sj AND 趋势交易指标=HHV(趋势交易指标,1+BARSLAST(CROSS(趋势交易指标,sj))),趋势交易指标,'↑');
支撑线:EMA((SLOPE(C,22)*20+C),55);
庄家控盘
M:=55;
N:=34;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
散户: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORFFFF00,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:EMA(J,6),COLORFF00FF,LINETHICK1;
AA:=CROSS(庄家,散户);