通达信组合寻底指标(源码)
DRAWICON( CROSS(CCI,-100),28,1);
DRAWTEXT(ISLASTBAR,28,"--CCI合并");
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10C:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10C);
最佳买入:=(AV + NEWVOL);
最佳买入选股:=(CROSS(最佳买入,0));
DRAWICON(最佳买入选股,26,1);
RSVA:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);
KA:=SMA(RSVA,3,1);
DA:=SMA(KA,3,1);
JA:=3*KA-2*DA;
XB:=LLV(JA,2)=LLV(JA,8);
最佳买入时机:= (CROSS(JA,3));
DRAWICON(最佳买入时机,26,25);
DRAWTEXT(ISLASTBAR,26,"--最佳买入");
{短线套利}
MA18:=MA(C,21);
加码价:=((C-REF(MA18,1))/18+MA18)*1.004;
短线套利:=(CROSS(C,加码价) AND 加码价>REF(加码价,1));
DRAWICON(短线套利,20,1);
{短炒公式}
VARO:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
DRAWICON(VARO<-9 AND VARO> REF (VARO,1),20,26);
{DRAWICON(短底,20,26);}
DRAWTEXT(ISLASTBAR,20,"--短线套利");
{收银台}
QVAR2:=IF((HIGH+LOW<=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH,1)),
ABS(LOW-REF(LOW,1))));
QVAR3:=IF((HIGH+LOW>=REF(HIGH,1)+REF(LOW,1)),0,MAX(ABS(HIGH-REF(HIGH,1)),
ABS(LOW-REF(LOW,1))));
QVAR4:=(SUM(QVAR2,13))/(SUM(QVAR2,13)+SUM(QVAR3,13));
QVAR5:=(SUM(QVAR3,13))/(SUM(QVAR3,13)+SUM(QVAR2,13));
QVAR9:=100-(3)*(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))+(2)*(SMA(SMA(((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
QVARA:=100-(3)*(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1))+(2)*(SMA(SMA(((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75)))*(100),20,1),15,1));
QVARB:=(QVAR9<REF(QVARA,1)) AND (VOL>REF(VOL,1)) AND (CLOSE>REF(CLOSE,1));
{QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);}
生意上门:=SMA(QVAR1C,13,8);
收银台:=(生意上门-QVAR1D<-65);
DRAWICON(收银台,22,31);
AAS1:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);
收银:=AAS1;
DRAWICON(收银,22,30);
AASS:=REF(BARSLAST(NOT(L<REF(L,1)))>=3,1) AND CROSS(C,REF(C,1));
自己动手:EXIST(AASS,5)*5;
VAR1K:4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*40,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*40,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2K:=8,COLORGREEN,LINETHICK0;
杀猪宰羊: IF(CROSS(VAR1K,VAR2),40,0),STICK,COLOR0000CC,LINETHICK2;
斗地主: IF(VAR1K<=8,25,0),STICK,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(VAR1K,VAR2K),40,"谨慎买入"),COLOR00FFFF;
M2:=EMA(C,2);
M18:=EMA(C,18);
买点3:=IF(CROSS(M18,M2),5,10* 10000),COLORFF00FF,LINETHICK2;
RSVV3:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB22:=(RSVV3/2+22)*1;
Q:=EMA(VOL,13);
Y:=EMA(AMOUNT,13);
S:=((Y /Q) / 100);
X:=(((CLOSE -S) / S) * 100);
F:=((X < (0)) AND ZXNH);
XQ:=F AND RSVV<VARB22-2;
无未来XG:(买点3 AND XQ);
DRAWICON(无未来XG,33,18);
VARW2:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VARW3:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
VARW4:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
VARW5:=(VARW2+(2)*(VARW3)+(3)*(VARW4))/(6);
VARW6:=MA(VARW5,3);
底部3:=IF((VARW6<-6),20,0),COLORFF9933;
DRAWICON(底部3=20,35,34);
主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK2,COLOR0000FF;
散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLOR00FF00;
TJ2:=CROSS(主力,散户) AND 主力<-10;
TJ:=FILTER(COUNT(TJ1 OR TJ2,2)=2,5);
主力布控:=TJ OR TJ1 OR TJ2;
DRAWICON(主力布控=1,37,5);
预警1:(REF(CLOSE,2)/REF(OPEN,2)<= 0.98) AND (REF(OPEN,1) <= REF(CLOSE,2)) AND
(ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03) AND
CLOSE/OPEN>0.88 AND CLOSE>=REF(OPEN,2);
DRAWICON(预警1=1,38,27);
极品底:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF;
DRAWICON(极品底=23,23,17);
J8:=3*K-2*D2;
注意:= IF(CROSS(J8,3),95,0),COLORYELLOW,LINETHICK2;
DRAWICON(注意=95,18,16);
HH:=MAX(HIGH,REF(CLOSE,1));
LL:=MIN(LOW,REF(CLOSE,1));
AAAA:=SUM(CLOSE-LL,7)/SUM(HH-LL,7);
BBA:=SUM(CLOSE-LL,14)/SUM(HH-LL,14);
CC:=SUM(CLOSE-LL,28)/SUM(HH-LL,28);
TLIKTLI:=(AAAA/7+BBA/14+CC/28)*7*14*28/(7*14+14*28+7*28)*1000;
MTLIKTLI:=EMA(TLIKTLI,6);
ZZZ:=(HIGH + LOW + CLOSE)/3;
TLIK:=(ZZZ-MA(ZZZ,16))*100/(1.5*AVEDEV(ZZZ,16));
VVV:=IF((DATE>17374085120),0,1);
AVPRICE:=((CLOSE+OPEN+LOW+HIGH)/(4))*(VVV);
XXVOL:=(VOL)*(AVPRICE);
AAB:=(SUM(XXVOL,25)+0.001)/(SUM(VOL,25)+0.001);
GN:=(((500)*(AVPRICE-AAB))/(MAX(AVPRICE,AAB)))*(VVV);
ZS:=EMA(TLIK,3),COLOR0000FF;
IK:=EMA(TLIK,10),COLOR00FFFF;
ZZZZZ:=EMA(TLIK,20),COLORFF00FF,LINETHICK1;
青龙:=EMA(MTLIKTLI,1)/3.5815926,COLORDB70DB,LINETHICK1,DOTLINE;
- 上一篇公式:通达信红马趋势主图指标(源码)
- 下一篇公式:通达信银波段指标(源码)