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

修整精确均势线的错误点

2020/7/13 18:35:39

公式编写说明:

错误句 : {灯塔}FILLRGN(0,25,CROSS(VARC,VARD) AND VARC>VARD AND VARC<18),COLOR0000FF 详细信息 : 您在括号前写的不是函数、公式等,且缺少必要的运算符! {XZC-精确均势 N=10 F=25}VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR6:=(HIGH+LOW+OPEN+CLOSE)/4;VAR7:=SMA(VAR3/VAR1*100,3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VARA:=IF(VAR9>100,VAR9-100,0);VARB:=HHV(HIGH,34);VARC:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;VARF:=MA(VARE,3);VAR10:=REF(VARF,1);生命:EMA(VARD,N), COLORFFAA00;VAR11:=(CLOSE-LLV(LOW,F))/(HHV(HIGH,F)-LLV(LOW,F))*100;K:=SMA(VAR11,3,1);D:=SMA(K,3,1);红灯: STICKLINE(CROSS(VARC,VARD) AND VARC>VARD AND VARC<18,36,0,1,0), COLORRED;见红:IF(VARC>18,0,IF(CROSS(VARC,VARD) AND VARC>VARD AND VARC<18,37,0)),COLOR3355FF;{灯塔}FILLRGN(0,25,CROSS(VARC,VARD) AND VARC>VARD AND VARC<18),COLOR0000FF;{画红色灯桩}PARTLINE(38,CROSS(VARC,VARD) AND VARC>VARD AND VARC<18),POINTDOT,LINETHICK7,COLOR0000FF;{画浅蓝色灯辉}PARTLINE(38,CROSS(VARC,VARD) AND VARC>VARD AND VARC<18),POINTDOT,LINETHICK4,COLORFFFFFF;{画白色灯芯}浪尖: STICKLINE(CROSS(VARD,VARC) AND VARC<VARD AND VARC>60,90,100,12,1),COLORBLUE;IF(VARC<79,100,IF(CROSS(VARD,VARC) AND VARD>79 AND VARC>79,70,100)),COLOR00FF00;{灯塔}卖: STICKLINE(FILTER(CROSS(VARD,VARC),10) AND VARD>79 AND VARC>79,100,75,4,0),COLORGREEN;{画绿色倒灯桩}PARTLINE(68,CROSS(VARD,VARC) AND VARD>79 AND VARC>79),POINTDOT,LINETHICK7,COLOR00FF00;{画绿色灯辉}PARTLINE(68,CROSS(VARD,VARC) AND VARD>79 AND VARC>79),POINTDOT,LINETHICK4,COLORFFFFFF;{画白色灯芯}STICKLINE(VARC-VARD>0,VARC,VARD,8,1),COLOR0000FF;{多头行情显出红柱状}STICKLINE(VARC-VARD<0,VARC,VARD,8,0),COLOR00FF00;{空头行情显出绿色柱状}KAR1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);KAR2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;KAR3:=SMA(SMA(KAR2,3,1),3,1);KAR4:=EMA(KAR3,5);KAR5:=LLV(LOW,26);KAR6:=HHV(HIGH,34);KAR7:=EMA((CLOSE-KAR5)/(KAR6-KAR5)*4,4)*25;KAR8:=100-KAR1;KAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;KAR10:=SMA(KAR9,3,1);KAR11:=SMA(KAR10,3,1);KAR12:=EMA(3*KAR10-2*KAR11,3);KAR13:=(-1)*(EMA(KAR8,1)-50)+50;KAR14:=EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);底:STICKLINE(CROSS(KAR4,10) AND KAR4>10,50,0,10,0),COLORYELLOW;建: IF((KAR7<10),18,0), COLORCC00FF;

公式源码示例:

 {XZC-精确均势 N=10 F=25}

N:=10;F:=25;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(HIGH+LOW+OPEN+CLOSE)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
VAR10:=REF(VARF,1);
生命:EMA(VARD,N),  COLORFFAA00;
VAR11:=(CLOSE-LLV(LOW,F))/(HHV(HIGH,F)-LLV(LOW,F))*100;
K:=SMA(VAR11,3,1);
D:=SMA(K,3,1);
红灯: STICKLINE(CROSS(VARC,VARD) AND VARC>VARD AND VARC<18,36,0,1,0),  COLORRED;
见红:IF(VARC>18,0,IF(CROSS(VARC,VARD) AND VARC>VARD AND VARC<18,37,0)),COLOR3355FF;{灯塔}
AS:=IF(CROSS(VARC,VARD) AND VARC>VARD AND VARC<18,25,DRAWNULL);
DRAWBAND(AS,RGB(200,0,0),0,DRAWNULL);
IF(CROSS(VARC,VARD) AND VARC>VARD AND VARC<18,38,DRAWNULL),POINTDOT,LINETHICK7,COLOR0000FF;
IF(CROSS(VARC,VARD) AND VARC>VARD AND VARC<1,38,DRAWNULL),POINTDOT,LINETHICK4,COLORFFFFFF;{画白色灯芯}
浪尖: STICKLINE(CROSS(VARD,VARC) AND VARC<VARD AND VARC>60,90,100,12,1),COLORBLUE;
IF(VARC<79,100,IF(CROSS(VARD,VARC) AND VARD>79 AND VARC>79,70,100)),COLOR00FF00;{灯塔}
卖: STICKLINE(FILTER(CROSS(VARD,VARC),10) AND VARD>79 AND VARC>79,100,75,4,0),COLORGREEN;{画绿色倒灯桩}
IF(CROSS(VARD,VARC) AND VARD>79 AND VARC>79,68,DRAWNULL),POINTDOT,LINETHICK7,COLOR00FF00;{画绿色灯辉}
IF(CROSS(VARD,VARC) AND VARD>79 AND VARC>79,68,DRAWNULL),POINTDOT,LINETHICK4,COLORFFFFFF;{画白色灯芯}
STICKLINE(VARC-VARD>0,VARC,VARD,5,1),COLOR0000FF;{多头行情显出红柱状}
STICKLINE(VARC-VARD<0,VARC,VARD,5,0),COLOR00FF00;{空头行情显出绿色柱状}
KAR1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
KAR2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
KAR3:=SMA(SMA(KAR2,3,1),3,1);
KAR4:=EMA(KAR3,5);
KAR5:=LLV(LOW,26);
KAR6:=HHV(HIGH,34);
KAR7:=EMA((CLOSE-KAR5)/(KAR6-KAR5)*4,4)*25;
KAR8:=100-KAR1;
KAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KAR10:=SMA(KAR9,3,1);
KAR11:=SMA(KAR10,3,1);
KAR12:=EMA(3*KAR10-2*KAR11,3);
KAR13:=(-1)*(EMA(KAR8,1)-50)+50;
KAR14:=EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);
底:STICKLINE(CROSS(KAR4,10) AND KAR4>10,50,0,6,0),COLORYELLOW;
建: IF((KAR7<10),18,0), COLORCC00FF;

看股吧 公式 www.kanguba.co m

其它股票公式列表
看股吧查股导航:个股行情分析查询 股票DDX指标查询 走势点评 股票公告查询 大事提醒 股权质押查询 股票分红查询 解禁查询 高管持股 高管查询
山河智能 002097+2.95% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
西藏城投 600773+2.94% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
合肥城建 002208+2.93% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
松霖科技 603992+2.92% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
剑桥科技 603083+2.92% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
华特达因 000915+2.91% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
新劲刚 300629+2.91% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
中达安 300635+2.90% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
科林电气 603050+2.90% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
中炬高新 600872+2.89% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
看股网力求但不保证数据的完全准确,不对因网站全部内容或部分内容而引致的盈亏承担任何责任,本站所有内容仅供参考。
本站不提供任何股票服务,站内广告不代表看股吧的观点,由此引起的一切法律责任均与本站无关,请股民自行识别判断,谨慎投资,预防上当受骗!
联系我们:nlfen9@hotmail.com
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-121