股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 5357|回复: 9
打印 上一主题 下一主题

东方财富"定海神针"买卖主图

[复制链接]

指标研习F2

Rank: 8Rank: 8

听众
2
跳转到指定楼层
楼主
发表于 2015-7-26 17:49 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
以下是东方财富"定海神针"买卖主图【原码】

支撑价:V(LOW,19),LINETHICK2 , COLOR00FF00;   
阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;   
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);   
VAR2:=EMA(VAR1,9);   
VAR3:=(CLOSE*2.5/100+CLOSE);   
VAR4:EMA(C,3);   
VAR5:=LLV(HIGH,240);   
VAR6:=100*(CLOSE-VAR5)/VAR5;   
VAR7:=REF(LLV(CLOSE,480),1);   
VAR8:=REF(HHV(CLOSE,480),1);   
VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);   
VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;   
VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;   
VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;   
VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;   
VARE:=VARC>98.5 OR VARD>98.5;   
VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;   
VAR13:=VARA=0 AND VARC=0 AND VAR6<0;   
VAR14:=VARA=100 AND VARC=100;   
VAR15:=VARB=0 OR VARD=0 AND VAR9<0;   
VAR16:=VARB=100 AND VARD=100;   
VAR17:=VAR6<0 AND VAR9<0;   
VAR18:=VAR13 AND VAR15;   
VAR19:=VAR14 AND VAR16;   
VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;   
VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;   
VAR1D:=BARSCOUNT(CLOSE);   
VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;   
VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;   
VAR20:=REF(CLOSE,1);   
VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;   
VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;   
VAR23:=BARSCOUNT(CLOSE);   
VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;   
VAR25:=VARA=0 AND VARF<1.2 AND VAR17;   
  
VAR27:=VAR18 AND VARF<1.2 AND VAR17;   
  
VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;   
VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;   
VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;   
VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;   
买点:=VAR25 AND VAR2B;   
绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;   
VAR2D:=VAR1F AND VAR2C AND VAR25;   
分析家公式网万元户:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 OR CLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));   
DRAWTEXT(FILTER(绝对卖点>0,3),H,'别贪'), COLOR00FF00;   
DRAWTEXT(分析家公式网万元户>0,L,'☆追涨'),COLORYELLOW ;   
DRAWICON(买点>0,L,4);   
DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;   
DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'万元'),COLORYELLOW;   
STICKLINE(VAR2D>0,O,C,10,0), COLORRED;   
DRAWTEXT(VAR2D>0,L,'大方神针'),COLORRED;   
DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,4);   
DRAWICON(FILTER(COUNT(VAR6<0,5)AND CROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);   
DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)AND VAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);   
DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,5);

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
1
沙发
发表于 2015-7-27 10:32 | 只看该作者
通达信不行
回复

使用道具 举报

县令

Rank: 2

听众
1
板凳
发表于 2015-7-28 19:38 | 只看该作者
你好,这是什么软件用的指标,能给配个图吗,谢谢一与
回复

使用道具 举报

指标研习F2

Rank: 8Rank: 8

听众
2
地板
 楼主| 发表于 2015-7-29 19:31 | 只看该作者

这个通达信用不了
回复

使用道具 举报

指标研习F2

Rank: 8Rank: 8

听众
2
5#
 楼主| 发表于 2015-7-29 19:33 | 只看该作者
红荭 发表于 2015-7-28 19:38
你好,这是什么软件用的指标,能给配个图吗,谢谢一与

回复

使用道具 举报

县令

Rank: 2

听众
1
6#
发表于 2015-8-2 14:56 | 只看该作者
不能用,源码错误
回复

使用道具 举报

县令

Rank: 2

听众
1
7#
发表于 2015-8-2 18:10 | 只看该作者
[函数'V'参数个数不匹配]!--行:1;列:7;相关上下文:支撑价:V(LOW,19),LINETHICK2 , COLOR00FF00;
回复

使用道具 举报

县令

Rank: 2

听众
1
8#
发表于 2015-8-2 18:11 | 只看该作者
[函数'V'参数个数不匹配]!--行:1;列:7;相关上下文:支撑价:V(LOW,19),LINETHICK2 , COLOR00FF00;
回复

使用道具 举报

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
1
9#
发表于 2015-8-16 14:55 | 只看该作者
[函数'V'参数个数不匹配]!--行:1;列:7;相关上下文:支撑价:V(LOW,19),LINETHICK2 , COLOR00FF00;   
回复

使用道具 举报

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
1

指标研习

10#
发表于 2015-8-17 09:48 | 只看该作者
可以在通达信上使用了,源码原来有两个地方错误,第一个是第一行,支撑价: V(。。。应该是:支撑价: LLV(。。。,另一个地方是“分析家公式网万元户:=(CLOSE/REF(CLOSE,1)”这一句的名称过长,通达信不支持,改短一点,就可以了。


支撑价: LLV(LOW,19),LINETHICK2 , COLOR00FF00;   
阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;   
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);   
VAR2:=EMA(VAR1,9);   
VAR3:=(CLOSE*2.5/100+CLOSE);   
VAR4:EMA(C,3);   
VAR5:=LLV(HIGH,240);   
VAR6:=100*(CLOSE-VAR5)/VAR5;   
VAR7:=REF(LLV(CLOSE,480),1);   
VAR8:=REF(HHV(CLOSE,480),1);   
VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);   
VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;   
VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;   
VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;   
VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;   
VARE:=VARC>98.5 OR VARD>98.5;   
VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;   
VAR13:=VARA=0 AND VARC=0 AND VAR6<0;   
VAR14:=VARA=100 AND VARC=100;   
VAR15:=VARB=0 OR VARD=0 AND VAR9<0;   
VAR16:=VARB=100 AND VARD=100;   
VAR17:=VAR6<0 AND VAR9<0;   
VAR18:=VAR13 AND VAR15;   
VAR19:=VAR14 AND VAR16;   
VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;   
VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;   
VAR1D:=BARSCOUNT(CLOSE);   
VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;   
VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;   
VAR20:=REF(CLOSE,1);   
VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;   
VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;   
VAR23:=BARSCOUNT(CLOSE);   
VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;   
VAR25:=VARA=0 AND VARF<1.2 AND VAR17;   
VAR27:=VAR18 AND VARF<1.2 AND VAR17;   
VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;   
VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;   
VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;   
VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;   
买点:=VAR25 AND VAR2B;   
绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;   
VAR2D:=VAR1F AND VAR2C AND VAR25;   
AFW:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 OR CLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));   
DRAWTEXT(FILTER(绝对卖点>0,3),H,'别贪'), COLOR00FF00;   
DRAWTEXT(AFW>0,L,'☆追涨'),COLORYELLOW ;   
DRAWICON(买点>0,L,4);   
DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;   
DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'万元'),COLORYELLOW;   
STICKLINE(VAR2D>0,O,C,10,0), COLORRED;   
DRAWTEXT(VAR2D>0,L,'大方神针'),COLORRED;   
DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,4);   
DRAWICON(FILTER(COUNT(VAR6<0,5)AND CROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);   
DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)AND VAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);   
DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,5);


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-12-5 10:21 , Processed in 0.201642 second(s), 23 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

快速回复 返回顶部 返回列表