当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:长妖趋势主图+选股指标,捕捉妖股起涨
软件名称:[B]长妖趋势主图+选股指标,捕捉妖股起涨[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2024-12-15 00:15:28
软件简介:
长妖趋势主图+选股指标,捕捉妖股起涨
一、指标说明:
由两组均线构成,趋势判定基础,信号“B”为买入信号,首次买入或者回调买入。
二、主图公式如下:
DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;
CTA1:EMA(C,10),COLOR61DC16 DOTLINE;
CTA2:EMA(CTA1,3),COLOR61DC16 DOTLINE;
CTA3:EMA(CTA2,3),COLOR61DC16 DOTLINE;
CTA4:EMA(CTA3,3),COLOR61DC16 DOTLINE;
CTA5:EMA(CTA4,3),COLOR61DC16 DOTLINE;
CTAS1:EMA(C,45),COLORD1875A DOTLINE;
CTAS2:EMA(CTAS1,3),COLORD1875A DOTLINE;
CTAS3:EMA(CTAS2,3),COLORD1875A DOTLINE;
CTAS4:EMA(CTAS3,3),COLORD1875A DOTLINE;
CTAS5:EMA(CTAS4,3),COLORD1875A DOTLINE;
IF(CTA1>REF(CTA1,1),CTA1,DRAWNULL),COLORMAGENTA LINETHICK2;
IF(CTA2>REF(CTA2,1),CTA2,DRAWNULL),COLORMAGENTA;
IF(CTA3>REF(CTA3,1),CTA3,DRAWNULL),COLORMAGENTA;
IF(CTA4>REF(CTA4,1),CTA4,DRAWNULL),COLORMAGENTA;
IF(CTA5>REF(CTA5,1),CTA5,DRAWNULL),COLORMAGENTA;
IF(CTAS1>REF(CTAS1,1),CTAS1,DRAWNULL),COLORRED LINETHICK2;
IF(CTAS2>REF(CTAS2,1),CTAS2,DRAWNULL),COLORRED;
IF(CTAS3>REF(CTAS3,1),CTAS3,DRAWNULL),COLORRED;
IF(CTAS4>REF(CTAS4,1),CTAS4,DRAWNULL),COLORRED;
IF(CTAS5>REF(CTAS5,1),CTAS5,DRAWNULL),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,3.5,-1),COLOR00FFFF;
STICKLINE(CLOSE< REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,3.5,-1),COLORGREEN;
ACB1:=REF(MA(C,20),10);
开:=O-ACB1;
高:=H-ACB1;
低:=L-ACB1;
收:=C-ACB1;
MID:=MA(C,20);
UPPER:=MID+2*STD(C,20);
LOWER:=MID-2*STD(C,20);
V1:=(C-LOWER)/(UPPER-LOWER)*100;
V2:=V1-EMA(V1,5);
K1:=SUM(LLV(V2,4),4)/4;
V3:=EMA(V2,64)*10;
V4:=EMA(0.4*V2*(-1),3);
V5:=-1*EMA(V2,39)*10;
A:=V3>10;
B:=V2>V4;
D:=V5>10;
E:=V3<=10 OR V2<=V4 OR V5<=10;
AAA1:=C>MA(C,5);
CTAF:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
CTAG:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
趋势:=IF(CTAF-CTAG,CTAF,CTAF),COLORBB11AA,LINETHICK0;
底部:=IF(CTAG-CTAF,CTAG,CTAF),COLORGRAY;
多多:=BARSLASTCOUNT(开<=收AND B)=1 AND AAA1 AND(趋势>REF(趋势,1));
CTC:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
CTC1:=EMA(CTC,3);
CTC2:=EMA(CTC,5);
CTC3:=EMA(CTC,7);
T1:=CTC2>=CTC3 AND CTC1< REF(CTC1,1);
T2:=CTC2< CTC3 AND CTC1>REF(CTC1,1);
STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T2,C,O,1.25,0),COLORRED;
STICKLINE(T2,C,O,1.25,0),COLORRED;
N:=10;
大涨:=CLOSE/REF(CLOSE,1)>=1.08 OR((H-L)/REF(C,1)>0.1 AND C=H);
STICKLINE(大涨,C,O,2.75,0),COLOR007FFF;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(CROSS(DA-DBB,0),L*0.995,'★B'),COLORYELLOW;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
操作线:MA(C,5)*IF(CONST(MA(C,5)),1,DRAWNULL)COLORYELLOW LINETHICK2;
NN:=8;
AA:=REF(H,NN)=HHV(H,2*NN+1);
AA1:=REF(L,NN)=LLV(L,2*NN+1);
QY:=(AA,NN+1);
QY1:=(AA1,NN+1);
CC:=FILTER(QY,NN)AND H=HHV(H,NN+1);
CC1:=FILTER(QY1,NN)AND L=LLV(L,NN+1);
DRAWICON(CC,H,2);
三、B买入选股:
CTC1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
CTC2:=EMA(CTC1,3);CTC12:=EMA(CTC1,5);CTC13:=EMA(CTC1,7);
T1:=CTC12>=CTC13 AND CTC2<REF(CTC2,1);
T2:=CTC12<CTC13 AND CTC2>REF(CTC2,1);N:=10;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
XG:CROSS(DA-DBB,0);
[url=http://www.70822.com/soft/sort013/sort05/down-175883.html]长妖趋势主图+选股指标,捕捉妖股起涨[/url]