当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:买卖点红绿灯(同花顺公式 副图 源码 测试图)
软件名称:[B]买卖点红绿灯(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:13.0 KB
官方主页:Home Page
更新时间:2022-07-30 00:12:22
软件简介:
买卖点红绿灯
//***
MA1s:=MA(CLOSE,5);
MA2s:=MA(CLOSE,10);
MA3s:=MA(CLOSE,20);
MA4s:=MA(CLOSE,30);
MA5s:=MA(CLOSE,60);
MA6s:=MA(CLOSE,125);
MA7s:=MA(CLOSE,250);
VAR3s:=LLV(HIGH,240);
VAR4s:=100*(CLOSE-VAR3s)/VAR3s;
VAR5s:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6s:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7s:=0;
VAR8s:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9s:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARAs:=BARSCOUNT(CLOSE);
VARBs:=VAR8s<20 AND VAR9s<23 AND VARAs>35;
VARCs:=VARBs AND COUNT(VARBs,1)=1;
VARDs:=EMA(CLOSE,21)-EMA(CLOSE,8);
VAREs:=EMA(VARDs,5);
VARFs:=TROUGHBARS(3,6,1)<4 AND CROSS(VARDs,VAREs);
VAR10s:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11s:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12s:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13s:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14s:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15s:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16s:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17s:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18s:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19s:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1As:=EMA(VAR19s,100);
VAR1Bs:=2*(VAR19s-VAR1As);
VAR1Cs:=POW(VAR1Bs,3)*0.1+POW(VAR1Bs,1);
VAR1Ds:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1Es:=EMA(VAR1Ds*0.97,3);
VAR1Fs:=(HIGH+LOW+CLOSE)/3;
VAR20s:=(VAR1Fs-MA(VAR1Fs,14))/(0.015*AVEDEV(VAR1Fs,14));
VAR21s:=CROSS(VAR1Es,LOW);
买1s:=VAR10s;
买2s:=(VAR11s+VAR13s+VAR15s+VAR17s);
卖1s:=(VAR12s+VAR14s+VAR16s+VAR18s);
VAR22s:=买1s AND VARFs AND VARCs AND VAR21s AND VAR4s<0 AND VAR5s=0 AND VAR6s=0 AND VAR20s<(-110);
VAR1s:=MA(CLOSE,5);
VAR2s:=MA(CLOSE,10);
VAR3As:=MA(CLOSE,30);
VAR4As:=MA(CLOSE,60);
VAR5As:=EMA(COST(85),7);
VAR6As:=EMA(COST(15),7);
VAR7As:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR8As:=INTPART(VAR7s*100)/100;
VAR9As:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARA1s:=INTPART(VAR9s*100)/100;
VARB1s:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC1s:=INTPART(VARBs*100)/100;
VARD1s:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE1s:=EMA(VARDs,9);
VARF1s:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR10As:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR11As:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR12As:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR13As:=REF(VAREs,1);
VAR14As:=VAREs;
VAR15As:=VAR14s-VAR13s;
VAR16As:=REF(VARDs,1);
VAR17As:=VARDs;
VAR18As:=VAR17s-VAR16s;
VAR19As:=OPEN;
VAR1AAs:=CLOSE;
买3s:=IF(VAR19s<=VAR1s AND VAR19s<=VAR2s AND VAR19s<=VAR3s AND VAR1As>=VAR1s AND VAR1As>=VARCs AND VAR15s>0 AND VAR18s>0,0.5,0);
买线s:=EMA(CLOSE,2);
卖线s:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
B1买s:=IF(买1s>0 OR 买2s>0,LOW-0.02,0),NODRAW,colorred;
S1卖s:=IF(卖1s>0,HIGH+0.02,0),NODRAW,colorgreen;
B1买1s:=IF(买1s>0 OR 买2s>0,LOW-0.02,0);
S1卖1s:=IF(卖1s>0,HIGH+0.02,0);
B2买1s:=IF(CROSS(买线s,卖线s),LOW-0.02,0);
S2卖1s:=IF(CROSS(卖线s,买线s),HIGH+0.02,0);
//****
STICKLINE(CLOSE>MA1s,105,115,7,0),LINETHICK5,colorred;
STICKLINE(CLOSE<=MA1s,105,106,7,0),LINETHICK8,colorgreen;
STICKLINE(CLOSE>MA1s AND (买1s>0 OR 买2s>0),85,115,7,0),LINETHICK5,colorred;
STICKLINE(COUNT(S1卖1s>0,BARSLAST(B1买1s>0))=0,90,100,7,10),colorred,LINETHICK2;
STICKLINE(COUNT(S1卖1s>0,BARSLAST(B1买1s>0))=0,90,100,5,10),colorred;
STICKLINE(COUNT(B1买1s>0,BARSLAST(S1卖1s>0))=0,90,100,7,10),colorgray,LINETICK2;
STICKLINE(COUNT(B1买1s>0,BARSLAST(S1卖1s>0))=0,90,100,5,10),colorgray;
STICKLINE(买1s>0 OR 买2s>0,85,100,6,0),LINETHICK5,colorred;
DRAWTEXT(买1s>0 OR 买2s>0,80,'买'),colorred;
STICKLINE(卖1s>0,85,115,7,0),LINETHICK8,colorgreen;
DRAWTEXT(卖1s>0,80,'卖'),colorgreen;
//*******************************************************************************
VAR1M:=REF(LOW,1);
VAR2M:=SMA(ABS(LOW-VAR1M),3,1)/SMA(MAX(LOW-VAR1M,0),3,1)*100;
VAR3M:=EMA(IF(CLOSE*1.2,VAR2M*10,VAR2M/10),3);
VAR4M:=LLV(LOW,38);
VAR5M:=HHV(VAR3M,38);
VAR6M:=IF(LLV(LOW,90),1,0);
VAR7M:=EMA(IF(LOW<=VAR4M,(VAR3M+VAR5M*2)/2,0),3)/618*VAR6M;
VAR8M:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9M:=SMA(VAR8M,13,8);
吸筹1:STICKLINE(VAR7M,0,VAR7M,6,0),COLOR0000FF;
吸筹2:STICKLINE(VAR7M,0,VAR7M,5,0),COLOR6600FF;
吸筹3:STICKLINE(VAR7M,0,VAR7M,4,0),COLORBB00FF;
吸筹4:STICKLINE(VAR7M,0,VAR7M,3,0),COLORFF00FF;
吸筹5:STICKLINE(VAR7M,0,VAR7M,2,0),COLORFF33FF;
吸筹6:STICKLINE(VAR7M,0,VAR7M,1,0),COLORFF66FF;
吸筹7:STICKLINE(VAR7M,0,VAR7M,0,0),COLORFF99FF;
//*******************************************************************************
//*******************************************************************************
VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);
VAR12AA:=EMA(VAR11AA,5);
九:=TROUGHBARS(3,10,1)<1 AND CROSS(VAR11AA,VAR12AA);
DRAWICON(九>0,5,1);
DRAWTEXT(九,64,'九'),COLOR000000;
VAR2A:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;
VAR3A:=EMA(VAR2A,18);
VAR4A:=VAR2A<-1;
VAR5A:=VAR4A AND CROSS(VAR2A,VAR3A);
追2:=VAR5A;
追涨C:=IF(追2>0,0.8,0),STICK,coloryellow,LINETHICK4;
XX:=EMA(CLOSE,30)-EMA(CLOSE,17);
YY:=EMA(XX,13);
短针2:=TROUGHBARS(3,5,1)<1 AND XX <YY;
阴:=IF(短针2>0,0.4,0),STICK,COLORF0F000,LINETHICK4;
DRAWICON(阴>0,5,1);
DRAWTEXT(阴,49,'阴'),COLOR000000;
N1:=30;N2:=17;N3:=5;N4:=6;
VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
VAR2X:=EMA(VAR1X,N3);
剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;
DRAWICON(剑>0,5,1);
DRAWTEXT(剑,35,'剑'),COLOR000000;
阴剑:九 OR 剑 OR 阴;
//******涨停双响炮****************************************************
前炮:=CLOSE>REF(CLOSE,1)*1.099;
前炮1:=HIGH>REF(CLOSE,1)*1.099;
前高:=HHV(HIGH,10);
前高天数:=BARSLAST(前高);
小阴小阳:=HHV(ABS(C-REF(C,1))/REF(C,1)*1
[url=http://www.70822.com/soft/sort013/sort036/down-163484.html]买卖点红绿灯(同花顺公式 副图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort036/down-163484.html]买卖点红绿灯(同花顺公式 副图 源码 测试图)[/url]