投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 公式问题
股市公式查询:

把BOLL指标改为大智慧L2

2019/12/7 19:08:48

公式编写说明:

三号线:EMA(C,318),COLOR0000FF,LINETHICK2;{MID:=MA(C,20);VART1:=POW((C-MID),2);VART2:=MA(VART1,20);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BO:=REF(MID,1),COLORFFFFFF;UB:REF(UPPER,1);LB:REF(LOWER,1);}AA1:=MA((2*CLOSE+HIGH+LOW)/4,5);通1:=AA1*102/100;通2:=AA1*(200-102)/100;CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);DD:=DMA(CLOSE,CC);上:(1+7/100)*DD,COLORYELLOW;下:(1-7/100)*DD,COLORWHITE;BO:(上+下)/2,COLORCFB53B;AA:MA(C,5),COLORGREEN;IF(AA>=REF(AA,1),AA,DRAWNULL),COLORGREEN,LINETHICK3;STICKLINE(V/REF(V,1)>2,BO,BO*1.1,1,0),COLORRED;DRAWTEXT(V/REF(V,1)>2,BO*1.15,'放量'),COLORMAGENTA;STICKLINE(CROSS(AA,BO),BO,BO*1.1,1,0),COLORYELLOW;DRAWTEXT(CROSS(AA,BO),BO*0.98,'追?'),COLORYELLOW;VAR1:=MA(HHV(HIGH,485),17); VAR2:=MA(HHV(HIGH,222),17); VAR3:=MA(HHV(HIGH,96),17); VAR4:=MA(LLV(LOW,485),17); VAR5:=MA(LLV(LOW,222),17); VAR6:=MA(LLV(LOW,96),17); VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558) /6,17); VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17); VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17); VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); VARB:=IF(DATE<=1341231,VARA,VARA*DAY); VARC:=LOW; VARD:=REF(LOW,1); VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100; VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),3); VAR10:=LLV(LOW,30); VAR11:=HHV(VARF,30); VAR12:=1341231; SS:=IF(DATE<=VAR12,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3),100000000);STICKLINE(SS,BO,BO*1.1,1,0),COLORCYAN;DRAWTEXT(SS=1,BO*0.98,'底'),COLORGREEN;N:=14;M:=6;TRA:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); HD :=HIGH-REF(HIGH,1); LD :=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N); DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N); PDI:=DMP*100/TRA; MDI:=DMM*100/TRA; ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M); ADXR:=EXPMEMA(ADX,M); 买点:=(CROSS(PDI, MDI)AND CROSS(PDI, ADX)AND CROSS(PDI, ADXR))AND CLOSE>OPEN AND C/REF(C,1)>0.5 AND VOL>MA(VOL,5)*1.5,COLORRED,LINETHICK3;DRAWTEXT(买点,BO*0.9,'买?'),COLORRED;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;获利筹码:=WINNER(CLOSE)*100; 换手:=VOL*100/FINANCE(7)*100;比昨筹码:=获利筹码-REF(获利筹码,1);AAA:=MACD<0 AND MACD>REF(MACD,1) AND 比昨筹码>20;DRAWTEXT(AAA,BO*0.84,'∧'),COLORRED;TYP := (HIGH + LOW + CLOSE)/3;CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORFF00FF;C1:=SMA(CC1,3,1);C2:=SMA(C1,3,1);C3:=3*C1-2*C2;CB1:=EMA(C3,5);CB2:=REF(CB1,1);LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI:=(RSI1-50)*5,LINETHICK2,COLORFFFFFF;R1:=SMA(RSI,3,1);D1:=SMA(R1,3,1);J1:=3*R1-2*D1;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1>RR2;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);K1:=(K-50)*5,COLOR00FF00;K2:=SMA(K1,3,1);D2:=SMA(K2,3,1);J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);BBB:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100)AND CB1<-100,LINETHICK0;DRAWTEXT(BBB,BO*0.84,'底'),COLORRED;DF:=EMA("399005$C",12)-EMA("399005$C",26);DA:=EMA(DF,9);MAD:=(DF-DA)*2;DDD:=MAD>0 AND REF(MAD,1)<0;DRAWTEXT(DDD,BO*0.84,'√'),COLORRED;LT:=(CAPITAL/100)/10000<=10;A1A:=C/DYNAINFO(3);JD:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;VV:=V>1999;PX:=JD>30;ZZ:=EMA(CLOSE,5)+EMA(CLOSE,60);ZQ:=EMA(ZZ,30);Z2:=REF(A1A,1)<1.025 AND A1A>1.025 AND A1A<1.04;TJ:=ZZ/ZQ>0.99 AND ZZ/ZQ<1.015;XG:=LT AND (Z2 AND VV AND PX AND TJ);DRAWTEXT(XG,BO*0.80,'K'),COLORYELLOW;生命:=VOL*(O+C)/2;生命线:=SUM(生命,88)/SUM(VOL,88),LINETHICK2;JCCOUNT:=COUNT(CROSS(C,生命线),21)=2;二金:=CROSS(C,生命线) AND JCCOUNT;DRAWTEXT(二金,BO*0.78,'2'),COLORRED;

公式源码回答:

 三号线:EMA(C,318),COLOR0000FF,LINETHICK2;{MID:=MA(C,20);

VART1:=POW((C-MID),2);
VART2:=MA(VART1,20);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
BO:=REF(MID,1),COLORFFFFFF;
UB:REF(UPPER,1);
LB:REF(LOWER,1);}
AA1:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA1*102/100;
通2:=AA1*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,COLORYELLOW;
下:(1-7/100)*DD,COLORWHITE;
BO:(上+下)/2,COLORCFB53B;
AA:MA(C,5),COLORGREEN;
{IF(AA>=REF(AA,1),AA,DRAWNULL),COLORGREEN,LINETHICK3;}
PARTLINE(AA,AA>=REF(AA,1),RGB(0,255,0)),LINETHICK3;
STICKLINE(V/REF(V,1)>2,BO,BO*1.1,3,0),COLORRED;
DRAWTEXT(V/REF(V,1)>2,BO*1.15,'放量'),COLORMAGENTA;
STICKLINE(CROSS(AA,BO),BO,BO*1.1,3,0),COLORYELLOW;
DRAWTEXT(CROSS(AA,BO),BO*0.98,'追?'),COLORYELLOW;
VAR1:=MA(HHV(HIGH,485),17); 
VAR2:=MA(HHV(HIGH,222),17); 
VAR3:=MA(HHV(HIGH,96),17); 
VAR4:=MA(LLV(LOW,485),17); 
VAR5:=MA(LLV(LOW,222),17); 
VAR6:=MA(LLV(LOW,96),17); 
VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558) 
/6,17); 
VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17); 
VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17); 
VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); 
VARB:=IF(DATE<=1341231,VARA,VARA*DAY); 
VARC:=LOW; 
VARD:=REF(LOW,1); 
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100; 
VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),3); 
VAR10:=LLV(LOW,30); 
VAR11:=HHV(VARF,30); 
VAR12:=1341231; 
SS:=IF(DATE<=VAR12,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3),100000000);
STICKLINE(SS,BO,BO*1.1,3,0),COLORCYAN;
DRAWTEXT(SS=1,BO*0.98,'底'),COLORGREEN;
N:=14;
M:=6;
TRA:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); 
HD :=HIGH-REF(HIGH,1); 
LD :=REF(LOW,1)-LOW; 
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N); 
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N); 
PDI:=DMP*100/TRA; 
MDI:=DMM*100/TRA; 
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,M); 
ADXR:=EMA(ADX,M); 
买点:=(CROSS(PDI, MDI)AND CROSS(PDI, ADX)AND CROSS(PDI, ADXR))AND CLOSE>OPEN 
AND C/REF(C,1)>0.5 AND VOL>MA(VOL,5)*1.5;
DRAWTEXT(买点,BO*0.9,'买?'),COLORRED;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
获利筹码:=WINNER(CLOSE)*100; 
换手:=VOL/CAPITAL*100;
比昨筹码:=获利筹码-REF(获利筹码,1);
AAA:=MACD<0 AND MACD>REF(MACD,1) AND 比昨筹码>20;
DRAWTEXT(AAA,BO*0.84,'∧'),COLORRED;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI:=(RSI1-50)*5;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
K1:=(K-50)*5;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
BBB:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100)
AND CB1<-100;
DRAWTEXT(BBB,BO*0.84,'底'),COLORRED;
DF:=EMA("399005$CLOSE",12)-EMA("399005$CLOSE",26);
DA:=EMA(DF,9);
MAD:=(DF-DA)*2;
DDD:=MAD>0 AND REF(MAD,1)<0;
DRAWTEXT(DDD,BO*0.84,'√'),COLORRED;
LT:=(CAPITAL/100)/10000<=10;A1A:=C/DYNAINFO(3);
JD:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
VV:=V>1999;PX:=JD>30;ZZ:=EMA(CLOSE,5)+EMA(CLOSE,60);
ZQ:=EMA(ZZ,30);Z2:=REF(A1A,1)<1.025 AND A1A>1.025 AND A1A<1.04;
TJ:=ZZ/ZQ>0.99 AND ZZ/ZQ<1.015;
XG:=LT AND (Z2 AND VV AND PX AND TJ);
DRAWTEXT(XG,BO*0.80,'K'),COLORYELLOW;
生命:=VOL*(O+C)/2;
生命线:=SUM(生命,88)/SUM(VOL,88);
JCCOUNT:=COUNT(CROSS(C,生命线),21)=2;
二金:=CROSS(C,生命线) AND JCCOUNT;
DRAWTEXT(二金,BO*0.78,'2'),COLORRED;

投 股票网 www.to u18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
中科电气 300035+6.50% 评股 实时DDX 大智慧 最新消息 题材分析 股权
佳创视讯 300264+6.50% 评股 实时DDX 大智慧 最新消息 题材分析 股权
棒杰股份 002634+6.47% 评股 实时DDX 大智慧 最新消息 题材分析 股权
美迪西 688202+6.46% 评股 实时DDX 大智慧 最新消息 题材分析 股权
国轩高科 002074+6.43% 评股 实时DDX 大智慧 最新消息 题材分析 股权
福耀玻璃 600660+6.42% 评股 实时DDX 大智慧 最新消息 题材分析 股权
陆家嘴 600663+6.42% 评股 实时DDX 大智慧 最新消息 题材分析 股权
吉比特 603444+6.41% 评股 实时DDX 大智慧 最新消息 题材分析 股权
舍得酒业 600702+6.40% 评股 实时DDX 大智慧 最新消息 题材分析 股权
广大特材 688186+6.35% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120