MA_DAYS:=MA(CLOSE, DAYS);{N天均价}R1:=IF(((CLOSE/MA_DAYS)0),1,0);{剔除停牌股}R3:=IF(NAMELIKE('S'),0,1);{剔除ST股}IF ((R1 AND R2 AND R3), 1, 0);备注:MA_DAYS赋值:收盘价的D...
分类:
其他好文 时间:
2015-05-01 18:36:41
阅读次数:
162
PRICE_BEFORE:=REF(CLOSE, DAYS);{N天前收盘价}PRICE_CURR:=CLOSE;{当天收盘价}R1:= IF((PRICE_CURR/PRICE_BEFORE 0),1,0);{剔除停牌股}R3:=IF(NAMELIKE('S'),0,1);{剔除ST股}IF ((...
分类:
其他好文 时间:
2015-05-01 18:35:12
阅读次数:
103
错误信息:connection of the layout renderer failed.this may be caused by a misconfiguration of java.please close and open the file aganin翻译:布局渲染器连接失败了。这可能是...
分类:
其他好文 时间:
2015-04-30 16:06:41
阅读次数:
291
一、JS实现关闭当前子窗口,刷新父窗口
JS代码如下:
function refreshParent() {
window.opener.location.href = window.opener.location.href;
window.close();
}
html页面代码如下:
onclick=...
分类:
Web程序 时间:
2015-04-30 10:49:27
阅读次数:
217
14180. Encoded Coordinates
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
You have been monitoring a terrorist cell that is planning a big attack somewhere close. T...
分类:
Web程序 时间:
2015-04-29 21:52:11
阅读次数:
192
使用QT编辑界面,其中带来很大方便的一点就是Qt中自带丰富的、种类齐全的类及其功能函数,程序员可以在编辑程序的过程中简单地直接调用。关于窗口关闭的操作,在这里指出常用的三个槽,即quit(),exit()以及close()。 首先说明窗口退出时,系统提示对话框的代码编辑。对主程序的退出,可以调用.....
分类:
其他好文 时间:
2015-04-28 20:42:58
阅读次数:
137
假设已有一个 Session 工厂类: lang:python Session = sessionmaker(bind=some_engine) 那么 session 实例的生命周期可以为: --- ###最短模式 —— 每次请求新建一个 session,用完就 close lang:python @conte...
分类:
数据库 时间:
2015-04-28 19:09:05
阅读次数:
352
%直接提取四个顶点坐标
clc;clear;close;%clc清除命令行,clear清除存在内存里的数据,close关闭打开了的文件,
I=imread('e:\role0\003i.bmp'); %载入图像
I = I(:,:,1);
BW=im2bw(I);
figure ;
imshow(~BW);
[x,y]=getpts ;...
分类:
其他好文 时间:
2015-04-28 18:35:33
阅读次数:
267
%中值滤波器 用MATLAB实现中值滤波程序如下:
clc;clear;close;
I=imread('e:\role0\003i.bmp');
I=rgb2gray(I);
J=imnoise(I,'salt',0.02);
subplot(231),imshow(I);
title('原图像');
subplot(232),imshow(J);
title('添加椒盐噪声图像'); ...
分类:
其他好文 时间:
2015-04-28 16:09:01
阅读次数:
154
%自动阈值法:Otsu法 用MATLAB实现Otsu算法:
clc;clear;close;
I=imread('e:\role0\003i.bmp');
subplot(1,2,1),imshow(I);
title('原始图像')
grid on; %显示网格线
axis on; %显示坐标系
level=graythres...
分类:
编程语言 时间:
2015-04-28 16:07:44
阅读次数:
264