分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式通达信公式 → 一键转帖:短线主图

软件名称:[B]短线主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2012-07-24 14:03:17
软件简介:

短线主图的源码,借用论坛上老师的,感谢论坛,有需要的可以下.

金**底买进:0,COLORFF22FF,NODRAW;
黄托底买进:0,COLOR00FFFF,NODRAW;
蓝顶绿顶卖出:0,COLORFF9900,NODRAW;
多空红线升势:0,COLORRED,NODRAW;
{短线操盘:=REF(LLV(H*0.98,3),1);
波段操盘:EMA(短线操盘,2),COLOR00FF00,LINETHICK2;}
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-6/100)*(DMA(CLOSE,V1));
V3:=(1+6/100)*(DMA(CLOSE,V1));
【支撑线】:REFDATE(V2,DATE),POINTDOT,LINETHICK4,COLORCC66FF;
【阻力线】:REFDATE(V3,DATE),POINTDOT,LINETHICK4,COLORGREEN;

{【短线压力价】:阻力,COLOR00FFFF,NODRAW;
【短线支撑价】:支撑,COLORFF00FF,NODRAW;}

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND 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 VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
JRH:=HHV(C,2);
JRL:=LLV(C,2);
{红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;
卖:=IF(红色持股,JRL,DRAWNULL);
明卖价:=卖,COLORFF99FF,NODRAW;
今卖价:=REF(卖,1)COLOR0000FF,NODRAW;
青色观望:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;
进:=IF(青色观望,JRH,DRAWNULL);
明进场价:=进,COLOR33AACC,NODRAW;
今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;
STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今卖价,今卖价*0.9995,30,1),COLOR00FFFF;
STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价*0.9995,30,1),COLOR00FF00;}
X:=(3*C+2*L+O+H)/7;
多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORRED;
IF(多空线>REF(多空线,1),多空线,DRAWNULL),LINETHICK4,COLORRED;
IF(多空线<REF(多空线,1),多空线,DRAWNULL),COLOR00FF00,LINETHICK3;
MA3:=MA((C+O+2*L)/4,4);
MA5:=MA(C,5),COLORWHITE;
短:=MA((C+O+L)/3,5);
等待:=IF(MA3>多空线,多空线,MA3);
短线:IF(短>多空线,短,短),COLORWHITE;
{IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLORRED;}
{IF(强势>REF(强势,1)*0.997 AND 短线>多空线,强势,DRAWNULL),LINETHICK2,COLORFF00FF;
IF(强势>REF(强势,1)*0.997 AND 短线<多空线,强势,DRAWNULL),LINETHICK2,COLOR00FFFF;}

{MA10:=MA(C,10),NODRAW;
MA30:MA(C,34),NODRAW;
五日乖离率:=(C-MA5)/MA5*100;
BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
IF(BB5>30 AND MA5>REF(MA5,1),MA5,DRAWNULL),LINETHICK1,COLORRED;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
IF(BB5<0 AND MA5<REF(MA5,1),MA5,DRAWNULL),LINETHICK1,COLORGREEN;
DD5:=MA5<REF(MA5,1);
IF(DD5,MA5,DRAWNULL),COLOR00FF00;}

{用法:黄托底买进,绿压顶买出。}
DD:=多空线<REF(多空线,1);
{IF(DD,多空线,DRAWNULL),COLORBLUE,LINETHICK2;}
A:=(MA5>多空线);
{IF(A,多空线,DRAWNULL),COLORYELLOW,POINTDOT;}
A1:=(MA5<多空线);
{IF(A1,多空线,DRAWNULL),COLORWHITE;}

涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
上穿:=(CROSS(C,多空线*1.01) OR (CROSS(C,多空线*1.01) AND CROSS(C,MA5)) OR (L<MA5 AND C>多空线*1.01)) AND MA5<多空线;
黄底:=VAR19 AND ((C>多空线 AND 多空线>REF(多空线,1) AND C>O) OR (C<多空线 AND 涨幅>=9) OR (CROSS(C,多空线) AND 涨幅>5) OR (CROSS(C,MA5) AND 涨幅>=8));
STICKLINE((黄底 OR 上穿),L*0.995,L*0.985,4,0),COLORYELLOW;{黄托底}
{STICKLINE(上穿,L*0.995,L*0.985,4,1),COLORYELLOW;}
DRAWTEXT(VAR19 AND 涨幅>9.97 AND C<多空线,L*0.95,'底部反转'),COLORFF00FF;

蓝压顶:=(VAR1A AND C>多空线) AND NOT(黄底 OR 上穿) OR (CROSS(短线,C) AND REF(VAR1A,1)<1);
STICKLINE(蓝压顶 AND C>短线{ AND 涨幅<-0.8},H*1.015,H*1.0055,3,0),COLORBLUE;
STICKLINE(蓝压顶 AND C<短线 AND 涨幅<-0.8,H*1.015,H*1.005,4,0),COLORBLUE;
STICKLINE(VAR1A AND COUNT(上穿,7)>0 AND C<MA5,H*1.013,H*1.007,4,1),COLOR00FF00;
STICKLINE(VAR1A AND COUNT(黄底,7)>0 AND CROSS(多空线,C),H*1.014,H*1.006,4,0),COLOR00FF00;
{A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
财神:IF(A7,LLV(L,21),DRAWNULL),COLORRED,CIRCLEDOT;}
{CYS:=(EMA((CLOSE-V2)/V2,1)*100);
AA:=CYS;
MIDD:=MA(CYS,20);
CC:=MIDD+0.85*STD(CYS,10);
TM6:=AA>CC;
IF(TM6,MA5,DRAWNULL),COLORRED,LINETHICK1;}
A0:=(L+H+C*2)/4;
工作:=EMA(A0,14),COLORYELLOW,LINETHICK1;
度假:=EMA(A0,25),COLORYELLOW,LINETHICK1;
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
{A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));}
{KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR4;
买3:=(VAR14 OR VAR15) AND VAR2;
买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);
买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);

DRAWICON(VAR16,LOW-0.02,7);
DRAWICON((买1 OR 买2 OR 买3 OR 买4 OR 买5) AND C>多空线,LOW-0.01,1);
DRAWICON(死叉 OR VAR12 OR CROSS(40,VAR9) AND C>多空线 AND C>MA5,HIGH+0.01,2);
{资金流入+白K选股}
PJJ:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));
XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))),(VOL/2)))+IF((CLOSE>OPEN),(0-(QJJ*((HIG
[url=http://www.70822.com/soft/sort013/sort05/down-51065.html]短线主图[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒