看股吧 www.kanguba.com [今日大盘指数 欧美全球股市行情 股票公式查询网站] 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
看股吧
看股吧股票网-今日大盘指数 欧美全球股市行情 股票公式查询网站
股票查询: 行情分析 DDX指标 走势点评 股票公告 大事 主力持仓 股权质押 分红 大小非 十大股东 股本结构 高管持股 研报 高管 主营 龙虎榜 股吧
当前位置: 看股吧 > 股票公式 > 公式编写
股票公式搜索:

将(近日均价)指标合并为一个公式

2019/12/16 18:13:05

公式编写说明:

这两个公式组合以后压缩的厉害,还得麻烦老师帮忙将(近日均价)公式加入第二个公式,看能不能不再压缩,谢谢!!!!!(近日均价)公式:RA:=LLV(LOW,35);RB:=HHV(HIGH,30);RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,近日均价*1.15 ,2 , 0),COLORYELLOW;第二个公式:WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);趋势线:=WEN;红柱:=COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2;DRAWICON(红柱,0.3,1);RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);STICKLINE((RSI1 > 80),100,110,3,0),COLOR3333DD;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR18:=(HIGH+LOW+CLOSE)/3;VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));VAR1B:=IF(VAR19>=150 AND VAR19<200 AND VAR1A>=150 AND VAR1A<200,-10,0);VAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 AND VAR1A>-200,10,0);VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR1E:=100-ABS(VAR1D);出击2:IF(BARSCOUNT(CLOSE)<13,10,IF(VAR1E<92 AND VAR1D<0,10,0)),COLORF00FF0,COLORFFFF00 ;出击1:IF(BARSCOUNT(CLOSE)<70,-10,IF(VAR1A<=-200 AND VAR19<=-150,15,VAR1C)-10),COLORRED,LINETHICK2,;STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2,0,50,4,0),COLORWHITE;Y:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);R7:=LLV(L,30); R8:=HHV(H,30);E:=EMA((C-R7)/(R8-R7)*4,4)*25; STICKLINE(E>90,110,115,10,2),COLOR00FF00;AR:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;RV:=HHV(AR,30)*8;Q:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,26);VAR5:=HHV(HIGH,34);VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,16);VAR7:=SMA((SMA(VAR2,3,1)+3),3,1),LINETHICK3;VAR8:=EMA(VAR6,7);VAR9:=SMA(VAR1,3,1);VAR10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; VAR13:=(VAR10+VAR11+VAR12)/3; VAR14:=IF(VAR13<=-20,10,0); VAR15:=HHV(VAR14,10);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;底背离: IF((VAR26<10),90,100), COLORYELLOW,COLORFFFF00 ;VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;VARO3:=SMA(SMA(VARO2,3,1),3,1);VARO4:=EMA(VARO3,5);VARO5:=LLV(LOW,26);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<6),80,100),LINETHICK2, COLOR00CCFF;

公式源码示例:

 WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

趋势线:=WEN;
红柱:=COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2;
 
 
RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
STICKLINE((RSI1 > 80),100,110,3,0),COLOR3333DD;
 
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR18:=(HIGH+LOW+CLOSE)/3;
VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));
VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));
VAR1B:=IF(VAR19>=150 AND VAR19<200 AND VAR1A>=150 AND VAR1A<200,-10,0);
VAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 AND VAR1A>-200,10,0);
VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR1E:=100-ABS(VAR1D);
出击2:IF(BARSCOUNT(CLOSE)<13,10,IF(VAR1E<92 AND VAR1D<0,10,0)),COLORF00FF0,COLORFFFF00 ;
出击1:IF(BARSCOUNT(CLOSE)<70,-10,IF(VAR1A<=-200 AND VAR19<=-150,15,VAR1C)-10),COLORRED,LINETHICK2,;
 
STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;
STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2,0,50,4,0),COLORWHITE;
 
Y:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
R7:=LLV(L,30); R8:=HHV(H,30);
E:=EMA((C-R7)/(R8-R7)*4,4)*25; 
STICKLINE(E>90,110,115,10,2),COLOR00FF00;
AR:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
RV:=HHV(AR,30)*8;
Q:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);
 
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3);
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,26);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,16);
VAR7:=SMA((SMA(VAR2,3,1)+3),3,1),LINETHICK3;
VAR8:=EMA(VAR6,7);
VAR9:=SMA(VAR1,3,1);
VAR10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; 
VAR11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; 
VAR12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; 
VAR13:=(VAR10+VAR11+VAR12)/3; 
VAR14:=IF(VAR13<=-20,10,0); 
VAR15:=HHV(VAR14,10);
VAR24:=LLV(LOW,36);
VAR25:=HHV(HIGH,30);
VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;
底背离: IF((VAR26<10),90,100), COLORYELLOW,COLORFFFF00 ;
 
VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VARO3:=SMA(SMA(VARO2,3,1),3,1);
VARO4:=EMA(VARO3,5);
VARO5:=LLV(LOW,26);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<6),80,100),LINETHICK2, COLOR00CCFF;
RA:=LLV(LOW,35);
RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;
STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,近日均价*4 ,2 , 0),COLORYELLOW;
DRAWICON(红柱,0.3,1);

看 股吧公式 www.k anguba.com

其它股票公式列表
看股吧查股导航:个股行情分析查询 股票DDX指标查询 走势点评 股票公告查询 大事提醒 股权质押查询 股票分红查询 解禁查询 高管持股 高管查询
N浙版 601921+43.97% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
捷佳伟创 300724+20.00% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
航宇科技 688239+20.00% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
英搏尔 300681+20.00% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
明冠新材 688560+19.99% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
迈信林 688685+19.99% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
联得装备 300545+19.99% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
金运激光 300220+19.98% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
青岛中程 300208+19.96% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
瑞松科技 688090+18.16% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
看股网力求但不保证数据的完全准确,不对因网站全部内容或部分内容而引致的盈亏承担任何责任,本站所有内容仅供参考。
本站不提供任何股票服务,站内广告不代表看股吧的观点,由此引起的一切法律责任均与本站无关,请股民自行识别判断,谨慎投资,预防上当受骗!
联系我们:nlfen9@hotmail.com
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-121