翼展电脑服务中心


计算K线实体,上影线,下影线的高度

2017-1-13 乱云飞 评论(0) 浏览(213)

上影线:=(H-MAX(O,C))/(H-L);//上影线高度
实体:=ABS(O-C)/(H-L);//实体高度
下影线:=(MIN(O,C)-L)/(H-L);//下影线高度
DRAWTEXT_FIX(ISLASTBAR,0.8,0.22,0,"●上影线:"+上影线*100),colorgreen;
DRAWTEXT_FIX(ISLASTBAR,0.8,0.33,0,"●实体:"+实体*100),colorFFFFFF;
DRAWTEXT_FIX(ISLASTBAR,0.8,0.44,0,"●下影线:"+下影线*100),colorred;

下跌出九红线显示,上涨出九蓝线显示,最初版

2016-12-2 乱云飞 评论(0) 浏览(484)

A1:=C>REF(C,4);
A2:=C<REF(C,4);
T1:=A2 AND REF(A1,1);
T2:=A2 AND REF(T1,1);
T3:=A2 AND REF(T2,1);
T4:=A2 AND REF(T3,1);
T5:=A2 AND REF(T4,1);
T6:=A2 AND REF(T5,1);
T7:=A2 AND REF(T6,1);
T8:=A2 AND REF(T7,1);
T9:=A2 AND REF(T8,1);
T10:=A2 AND REF(T9,1);
T11:=A2 AND REF(T10,1);
T12:=A2 AND REF(T11,1);
T13:=A2 AND REF(T12,1);
T14:=A2 AND REF(T13,1);
DRAWTEXT(T1,0.1,'1'),colorgreen;
DRAWTEXT(T2,0.1,'2'),colorgreen;
DRAWTEXT(T3,0.1,'3'),colorgreen;
DRAWTEXT(T4,0.1,'4'),colorgreen;
DRAWTEXT(T5,0.1,'5'),colorgreen;
DRAWTEXT(T6,0.1,'6'),colorgreen;
DRAWTEXT(T7,0.1,'7'),colorgreen;
DRAWTEXT(T8,0.1,'8'),colorgreen;
下跌出九:A2 AND REF(T8,1),STICK,colorred,LINETHICK3;//下跌出九红线显示
B1:=C<REF(C,4);
B2:=C>REF(C,4);
D1:=B2 AND REF(B1,1);
D2:=B2 AND REF(D1,1);
D3:=B2 AND REF(D2,1);
D4:=B2 AND REF(D3,1);
D5:=B2 AND REF(D4,1);
D6:=B2 AND REF(D5,1);
D7:=B2 AND REF(D6,1);
D8:=B2 AND REF(D7,1);
D9:=B2 AND REF(D8,1);
D10:=B2 AND REF(D9,1);
D11:=B2 AND REF(D10,1);
D12:=B2 AND REF(D11,1);
D13:=B2 AND REF(D12,1);
D14:=B2 AND REF(D13,1);
DRAWTEXT(D1,0.5,'1'),colorblue;
DRAWTEXT(D2,0.5,'2'),colorblue;
DRAWTEXT(D3,0.5,'3'),colorblue;
DRAWTEXT(D4,0.5,'4'),colorblue;
DRAWTEXT(D5,0.5,'5'),colorblue;
DRAWTEXT(D6,0.5,'6'),colorblue;
DRAWTEXT(D7,0.5,'7'),colorblue;
DRAWTEXT(D8,0.5,'8'),colorblue;
DRAWTEXT(D9,0.5,'9'),colorgreen;
上涨出九:B2 AND REF(D8,1),STICK,colorblue,LINETHICK3;//上涨出九蓝线显示

单针下20黄线标示,四线归零红线标示,四线上90白线标示

2016-11-17 乱云飞 评论(0) 浏览(471)

短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
单针:短期<20 AND 中期>60 AND 中长期>60 AND 长期>60,STICK,coloryellow,LINETHICK3;
四线:短期<6 AND 长期<6 AND 中期<6 AND 中长期<6,STICK,colorred,LINETHICK3;
选股:短期>90 AND 中期>90 AND 中长期>90 AND 长期>90,STICK,colorFFFFFF,LINETHICK1;
//单针下20黄线标示,四线归零红线标示,四线上90白线标示

单针下20选股公式

2016-11-16 乱云飞 评论(0) 浏览(495)

短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));

选股:短期<20 AND 中期>50 AND 中长期>60 AND 长期>60;

//有效性和准确性等待测试

选出市盈率小于10,大于1的股票

2016-11-16 乱云飞 评论(0) 浏览(468)

DYNAINFO(39)<10 AND DYNAINFO(39)>1
//选出市盈率小于10,大于1的股票

选出振幅大于大于15%的股票

2016-11-15 乱云飞 评论(0) 浏览(553)

H/L>1.15
//最高价除以最低价大于等于1.15
//选出振幅大于大于15%的股票

光头光脚选股公式代码

2016-11-15 乱云飞 评论(0) 浏览(447)

H/C<=1.0009 AND C>O AND O/L<=1.0009
//最高价/收盘价<=1 而且 收盘价>0 而且 开盘价/最低价<=1
//选出光头光脚上涨的股票,排除一字板

翼展科技最新版选股公式备份。V20161114

2016-11-14 乱云飞 评论(0) 浏览(529)

翼展科技最新版选股公式备份。V20161114
--------------------------------------------------------------------------
H-L>=1 AND H<=20
最高-最低>=1元,而且最高<=20元
//选出20元以下涨幅炒过1元的股票
--------------------------------------------------------------------------
L=O AND H=C AND H<=10元
最低=开盘 而且 最高=收盘 而且 最高<=10元
//选出10元以下光头光脚的股票
--------------------------------------------------------------------------
H-L<=0.1 AND H<=10
最高-最低<=0.1元 而且 收盘价<=10元
//选出10元以下波动较小的股票(一毛钱玩一天的股票)
--------------------------------------------------------------------------
H=L H<=20
最高=最低 而且 收盘=开盘 而且 最高<=20元
//选出20元以下一字板
--------------------------------------------------------------------------
{流通盘:=10;现价:=20;} 
{非ST股:=STRFIND(ZQMC,"ST",1)=0;}
{非创业板股:=STRFIND(CODE,"3",1)=0;}
{条件:SHGZG/100000000<=流通盘 AND HHV(C,1)<=现价 AND 非ST股 AND 非创业板股;  }
//选出非停牌,非创业板,低于10元,低于10亿的低价小盘股
--------------------------------------------------------------------------
IF(H>=REF(C,1)*1.095 AND H>=C) RETURN "涨停";
IF(L<=REF(C,1)*0.92) RETURN "跌停";
//修改K线颜色。涨停黄色,跌停白色。
--------------------------------------------------------------------------
MA7:=MA(C,7);
MA14:=MA(C,14);
MA60:=MA(C,60);
CROSS(MA7,MA14) AND ATAN((MA7/REF(MA7,1)-1)*100)*57.3>45 AND (L>MA60) AND H<=10;
//7天线上穿14天线形成金叉,角度大开55度
//最后一个条件是最低价大于或者小于60日线,根据需要修改
//还可以增加60日线大于120日线 AND MA(C,60)>MA(C,120)
//最高价小于等于10元
--------------------------------------------------------------------------
L>=7 AND H<=10
//选出价格区间内的股票(7-10元)
--------------------------------------------------------------------------
C/REF(C,1)>1.098 AND H=O AND L=H;
//选出一字板股票
--------------------------------------------------------------------------
A:=C/REF(C,1)>1.098 AND H=O AND L=H;
NOT(A);
//排除一字板股票
--------------------------------------------------------------------------
AA:=C/REF(C,1)>1.099 AND C!=O;
BB:=C/REF(C,1)>1.099 AND C=O AND H=O AND O=L;
XG:REF(AA,1) AND BB;
//上一日涨停,今日一字板的股票
--------------------------------------------------------------------------


涨停显示成黄色,跌停显示成白色。

2016-10-18 乱云飞 评论(0) 浏览(286)

修改普通K线,添加以下两行,在标志设置里添加对应的图形。

IF(H>=REF(C,1)*1.095 AND H>=C) RETURN "涨停";//最高价大于等于开盘*109%

IF(L<=REF(C,1)*0.91) RETURN "跌停";//最低价小于等于开盘价*91%


禁止FLV视频

2016-10-8 乱云飞 路由 评论(0) 浏览(1127) 标签: 防火墙 禁止视频

#禁止FLV视频
iptables -I FORWARD -p tcp --dport 80 -m flv -j DROP
预ICP备10086-001号 © 翼展网/80C.CC 技术支持/洛阳翼展科技
TEL / 13213610060 QQ / 345794501
Powered by emlog