软件名称:[B]一分线抄底[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2016-03-05 00:32:17
软件简介:
MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N);
LOWER: MID - P*STD(CLOSE,N);
UP_TOUCH_UPPER := CROSS(HIGH,UPPER);
DOWN_TOUCH_MID := CROSS(MID,LOW);
DOWN_TOUCH_LOWER := CROSS(LOWER,LOW);
DRAWTEXT(UP_TOUCH_UPPER, HIGH,'U');
DRAWTEXT(DOWN_TOUCH_MID, HIGH,'M');
DRAWTEXT(DOWN_TOUCH_LOWER,HIGH,'L');
touch = DOWN_TOUCH_MID OR DOWN_TOUCH_LOWER;
IF touch==0 THEN RETURN;
NEAR1_UP_TOUCH_UPPER_POS = 0;
NEAR2_UP_TOUCH_UPPER_POS = 0;
icount = 1;
ilasttouchup = 0;
WHILE (icount <300 )
{
IF ( REF(UP_TOUCH_UPPER,icount) )
{
IF ( NEAR1_UP_TOUCH_UPPER_POS == 0 )
{
NEAR1_UP_TOUCH_UPPER_POS=icount;
}
ELSE
{
//距离必须远点,不然认为是同一个,这个要根据不同的时间单位来调
IF ( icount - ilasttouchup > 7 )
{
NEAR2_UP_TOUCH_UPPER_POS=icount;
BREAK;
}
}
ilasttouchup = icount;
}
icount = icount +1;
}
//分钟线的条件
C1 = NEAR2_UP_TOUCH_UPPER_POS > NEAR1_UP_TOUCH_UPPER_POS;
C2 = NEAR1_UP_TOUCH_UPPER_POS < 20;
C3 = NEAR2_UP_TOUCH_UPPER_POS - NEAR1_UP_TOUCH_UPPER_POS > 40;
C4 = REF(CLOSE, NEAR1_UP_TOUCH_UPPER_POS) < (REF(CLOSE, NEAR2_UP_TOUCH_UPPER_POS) * 0.99);
IF ( C1 AND C2 AND C3 AND C4)
{
DRAWICON(1,LOW,1);
DRAWTEXT(1,LOW,'BUY');
}
[url=http://www.70822.com/soft/sort013/sort036/down-95606.html]一分线抄底[/url]