钱先生 发表于 2011-10-7 21:53

绝佳(上升点)通达信已测试,弱市一样能赚钱。

DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD := 2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:=IF(X2>0,X2,0);
X4:=IF(X2<0,X2,0);
AA:=X2;
BB:=X1;
XG:=CROSS(AA,BB);
PEAK1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND PEAK1;
LT:=FILTER(VAR19=1,5);
A50:=COST(50),COLORRED,LINETHICK2;
CC:=WINNER(C)*100>50 AND CROSS(C,A50);
DD:=CAPITAL/100<40000 AND C<20;
选股:XG=1 AND LT=1 AND CC=1;

李开贵 发表于 2011-10-7 21:57

A1:=(VOL/CLOSE)/3;
{A222:=IF(A1>0.29 AND CLOSE>REF(CLOSE,1),A1,0);}
{A22:=SUM(A222,0);}
A2:=SUM((IF(((A1>0.20) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>0.20) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSCOUNT( CLOSE)=1),((100*A2)/A6),0);
A8:=((IF((BARSCOUNT( CLOSE)=1),((100*A3)/A6),0)));
A9:=((IF((BARSCOUNT( CLOSE)=1),((100*A4)/A6),0)));
A10:=((IF((BARSCOUNT( CLOSE)=1),((100*A5)/A6),0)));
机构买盘红:(A2),LINETHICK3,COLORRED;
机构卖盘绿:(A3),LINETHICK3,COLORGREEN;
散户买盘黄:(A4),COLORYELLOW;
散户卖盘蓝:(A5),COLORBLUE;
DRAWTEXT(BARSCOUNT( CLOSE)=1,机构买盘红*0.9,'机构买盘'),LINETHICK2,COLORRED;
DRAWTEXT(BARSCOUNT( CLOSE)=1,机构卖盘绿*0.9,'机构卖盘'),LINETHICK2,COLORGREEN;
DRAWTEXT(BARSCOUNT( CLOSE)=1,散户买盘黄*0.9,'散户买盘'),LINETHICK2,COLORMAGENTA;
DRAWTEXT(BARSCOUNT( CLOSE)=1,散户卖盘蓝*0.9,'散户卖盘'),LINETHICK2,COLORBLUE;
买卖差额:(机构买盘红-机构卖盘绿)>0.5,LINETHICK6,COLORWHITE;

钱先生 发表于 2011-10-7 21:57

你的最爱 发表于 2011-10-7 22:00

学习!!!!!!!!!!!!!

钱先生 发表于 2011-10-7 22:01

狼道 发表于 2011-10-7 22:15

绝佳上升点

狼道 发表于 2011-10-7 22:19

当前公式 : 绝佳(上升点) (指标画线公式)
错误句 :
VARD:=CLOSE<REF(CLOSE,1) CLOSE<REF(CLOSE,2)
详细信息 : 某个操作数没有相应的操作符匹配!
错误起始位置 : 293 ; 长度: 3
楼主,怎么通不过啊

自得其乐 发表于 2011-10-7 22:39

言语三宝:谦虚、亲切、赞许!
入世三宝:乐观、合群、互助!
兴趣三宝:读书、音乐、旅游!
看家三宝:轻松、幽默、体贴!
饮食三宝:营养、均衡、节制!
祛病三宝:静心、动体、养气!
智慧三宝:广闻、觉悟、活用!
学问三宝:倾听、记忆、思辩!
交友三宝:喜欢、投缘、关爱!
吉祥三宝:慈悲、善良、宽容!
幸福三宝:吃香、睡实、如愿!

3388hcy 发表于 2011-10-7 22:40

弱市一样能赚钱

3388hcy 发表于 2011-10-7 22:48

公式少了一个:and

狼道 发表于 2011-10-7 22:52

回复 10# 3388hcy


    谢谢!

金佛手 发表于 2011-10-7 23:04

绝佳上升点

金佛手 发表于 2011-10-7 23:13

这个指标会要人命的。

陈方 发表于 2011-10-7 23:35

顶一下,支持!!!!:handshake

陈方 发表于 2011-10-8 10:55

顶一下,支持!!!!:handshake
页: [1] 2 3 4
查看完整版本: 绝佳(上升点)通达信已测试,弱市一样能赚钱。