通达信号称镇店之宝主图有量化评分、风口启动一体等等 源码
((CLOSE > 1),RGB(0,0,0),RGB(0,0,2),0,0,0);(=1,0,0,0,'公众号:婧琪创意信息!');
L1A:=LLV(L,10);
起爆点:=(-REF(C,1))/REF(C,1)*100;
XG:=CROSS(起爆点,20) OR CROSS(起爆点,18);
L3:=IF(XG,O,L1A*0.999),;
(XG,L3,L3,40,0),,;
M5:=MA(C,5);
M10:=MA(C,10);
MA4:=MA(CLOSE,60),;
(CROSS(M5,M10),M5,'●准备'),, ;
(CROSS(M10,M5),M10,'◎'),, ;
(CROSS(M5,MA4),MA4,'●注意'),, ;
试盘:=MA(REF(HHV((C+L+O+H)/4,8),1),3);
攻击:=MA(REF(HHV((C+L+O+H)/4,13),1),3),;
突破:=MA(REF(HHV((C+L+O+H)/4,21),1),3),;
冲顶:=MA(REF(HHV((C+L+O+H)/4,34),1),3);
CCI:="CCI";
CCI3:=MA(CCI,3);
CCI7:=MA(CCI,7);
头:=CROSS(CCI3,CCI) AND (CCI>130);
(头,H*1.005,H*1.01,4,0),;
卖出警报:=(头 AN),;
(卖出警报,H*1.016,H*1.025,4,0),;
(卖出警报,H*1.038,'下探'),;
(卖出警报,H*1,15);
(卖出警报,H*1,''),;
平衡线:MA(CLOSE,163),;
SJTJ:=DATE
{主趋势线:EMA(EMA(C,10),10),,;
B:=主趋势线
IF(B-1,主趋势线,),;}
主趋势线:EMA(EMA(C,10),10),,;
B:=主趋势线>REF(主趋势线,1);
IF(B-1,主趋势线,),;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE
(AA AND SJTJ,H,L,0,0),;
(AA AND SJTJ,O,C,3,1),;
(AA AND SJTJ AND DD,O,C,3,0),;
(BB AND SJTJ,H,L,0,0),;
(BB AND SJTJ,O,C,3,1),;
(BB AND SJTJ AND DD,O,C,3,0),;
(BB AND SJTJ,H,L,0,0),;
(BB AND SJTJ,O,C,3,1),;
(BB AND SJTJ AND DD,O,C,3,0),;
(BB AND SJTJ AND CC,H,L,0,1),;
(BB AND SJTJ AND CC,O,C,3,1),;
(BB AND SJTJ AND CC AND DD,O,C,3,0),;
(AA AND SJTJ AND CC1,H,L,0,0),;
(AA AND SJTJ AND CC1,O,C,3,1),;
(AA AND SJTJ AND CC1 AND DD,O,C,3,0),;
{彩色K线}
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
TYX4:=MA((C+L+O+H)/4,13);
TYX5:=EMA((C+L+O+H)/4,21);
{深绿}
(C
(C
(C
(C
{蓝}
{黄}
(C>TYX5 AND C>O,H,L,0,0 ),;
(C>TYX5 AND C>O,C,O,3,0 ),;
(C>TYX5 AND C>O,C,O,2,0 ),;
(C>TYX5 AND C>O,C,O,1,0 ),;
{深红}
(C>TYX3 AND C>O,H,L,0,0),;
(C>TYX3 AND C>O,C,O,3,0),;
(C>TYX3 AND C>O,C,O,2,0),;
(C>TYX3 AND C>O,C,O,1,0),;
N:=150;判断高低:=3;
涨跌:=REF(C,1);
涨停:=IF((C-涨跌)*100/涨跌>=(10-0.01*100/涨跌),1,0);
(涨停,H*0.97,23);
:=>4;
T1:=CONST((LOW,10));
:=CONST(REF(HIGH,T1));
CCVV:=CONST();
T2:=CONST((( >(CCVV+T1)) AND (HIGH>)));
:=CONST(REF(HIGH,T2));
T3:=CONST((( >(CCVV+T2)) AND (HIGH>)));
:=CONST(REF(HIGH,T3));
X1:=IF(MA(C,5)>MA(C,10),20,0);
X2:=IF(MA(C,20)>MA(C,60),10,0);
X3:=IF(KDJ.J>KDJ.K,10,0);
X4:=IF(MACD.DIF>MACD.DEA,10,0);
X5:=IF(MACD.MACD>0,10,0);
X6:=IF(V>MA(V,60),10,0);
X8:=IF(C/REF(C,1)>1.03,10,0);
XX:=X1+X2+X3+X4+X5+X6+X8;
(V>O,0.01,0.10,0,('[量化评分]:',((XX,2),' '))),;
(REF(COUNT(C试盘 AND C>O,C,O,3,0),;
(REF(COUNT(C突破 AND C>O,C,O,3,0),;
(REF(COUNT(C冲顶 AND C>O,C,O,3,0),;
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);
波动提示:=MA(CLOSE,10000);
(CROSS(FF,MA15),(LOW * 0.99),'(上探)'),;
(CROSS(MA15,FF),(HIGH * 1.02),'(下拐)'),;
买线:=MA(CLOSE,9),;
卖线:=MA(CLOSE,20);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
(BU,L-0.1,'建仓');
(SEL,H+0.1,'空仓');
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
AAAB:=(DIF-DEA)*2*60;
起爆:=CROSS(AAAB-REF(AAAB,1),15);
(起爆,O,C,2.5,0),;
(起爆,(O+H)/2,'{爆涨}'),,;
AQ1:=REF(V,1);AQ2:=DVOL;AQ3:=AQ2/AQ1;
LNX:=AQ3-REF(AQ3,1);
E1:=REF(C,1);E2:=;E3:=(E2-E1)/E1*100;
QMX:=E3-REF(E3,1);
XXG:=CROSS(LNX,500) AND CROSS(QMX,10);(XXG=1,L*0.955,'{--启动点}'),;(XXG=1,L*0.993,25);
启爆线:(=T3+1, , , , 1),,;
警示:=('S');
ZT:=C>=(REF(C,1),IF(警示,0.05,0.099)),,;
首板:=ZT AND COUNT(ZT,2)=1;
二板:=REF(首板,1) AND ZT;
三板:=REF(二板,1) AND ZT;
四板:=REF(三板,1) AND ZT;
五板:=REF(四板,1) AND ZT;
六板:=REF(五板,1) AND ZT;
七板:=REF(六板,1) AND ZT;
八板:=REF(七板,1) AND ZT;
九板:=REF(八板,1) AND ZT;
十板:=REF(九板,1) AND ZT;
(首板,0.1+(C+O)/2,'1'),;
(二板,0.1+(C+O)/2,'2'),;
(三板,0.1+(C+O)/2,'3'),;
(四板,0.1+(C+O)/2,'4'),;
(五板,0.1+(C+O)/2,'5'),;
(六板,0.1+(C+O)/2,'6'),;
(七板,0.1+(C+O)/2,'7'),;
(八板,0.1+(C+O)/2,'8'),;
(九板,0.1+(C+O)/2,'9'),;
(十板,0.1+(C+O)/2,'10'),;
N0:=9;
M1:=3;
M2:=3;
(1,0.980,0,1,'微信公众号★:婧琪创意信息'),; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N0))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通市值:=*C/;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
价格:=C;
VAR0:=NOT(('ST') OR ('*ST') OR ('S') OR (4)=0 OR ('创业板') OR ('科创板')) OR (C)>1;
VAR1:=流通市值>0 AND 流通市值
VAR2:=涨幅>9.8 AND 涨幅
VAR3:=价格>2 AND 价格
VAR4:=COUNT(VAR2,2)=1;
XG1:=金叉 AND VAR0 AND VAR1 AND VAR2 AND VAR3 AND VAR4;
(XG1,H,L,0,0),;
(XG1,C,O,3,0),;
(XG1,C,O,2,0),;
(XG1,C,O,1,0),;
(XG1,C,O,0.3,0),;
(XG1,L*0.99,'风口启动'),;
(1,0.88,5,0,'~☆~公众号:婧琪创意信息~☆~'),; (XG,L3,'[起爆]'),,;
(REF(COUNT(C试盘 AND C>O,L*0.9999,'试盘'),;
(REF(COUNT(C冲顶 AND C>O,C*0.999,'拉升'),;
(REF(COUNT(C突破 AND C>O,C*0.999,'突破'),;
(REF(COUNT(C攻击 AND C>O,C*0.9999,'攻击'),;
(CROSS(C,启爆线),启爆线*1,11);
{风口启动}
N:=150;
N0:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N0))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通市值:=*C/;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
价格:=C;
VAR0:=NOT(('ST') OR ('*ST') OR ('S') OR (4)=0 OR ('创业板') OR ('科创板')) OR (C)>1;
VAR1:=流通市值>0 AND 流通市值
VAR2:=涨幅>9.8 AND 涨幅
VAR3:=价格>2 AND 价格
VAR4:=COUNT(VAR2,2)=1;
XG1:金叉 AND VAR0 AND VAR1 AND VAR2 AND VAR3 AND VAR4;
我来说两句