软件名称:[B]新发动机(副图 源码 图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:19.0 KB
官方主页:Home Page
更新时间:2011-02-26 05:46:57
软件简介:
{新发动机副图}
{背景颜色设定}
{DRAWGBKLAST(CLOSE>0,STRIP(RGB(55,75,55),RGB(10,10,20),0));}
DRAWRECTREL(0,10,200,1000,rgb(0,0,255)),layer0;
{能量线 {测能量动力,很像KDJ公式的J值}
{原神猴探月公式 将原神猴线改名能量线}
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;能量线:YJD,LINETHICK0;
中线:0,LINETHICK2,COLORYELLOW,LAYER1;
DRAWICON(cross(YJD,中线),0,7),ALIGN1;
{原 庄家克星的抄底逃顶公式 将山水线改名抛留线,去掉倒影线}
能量线1:=能量线>=0;
能量线2:=能量线<=0;
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,5);
Var3:=HHV(HIGH,4);
Var5:=(Var1-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
Var6:=SMA(Var5,2,1);
sK:EMA((Var1-Var2)/(Var3-Var2)*100,4),LINETHICK0,precis2;
sD:EMA(0.667*REF(sK,1)+0.333*sK,2),LINETHICK0,precis2;
sJ:2*sK-1*sD,LINETHICK0,precis2;
sKD差:sK-sD,colorred,LINETHICK0,precis2;
抛留线: SMA(Var6,2,1),COLOR889999,linethick0;
PARTLINE(抛留线,抛留线>REF(抛留线,1),RGB(255,0,0),抛留线<REF(抛留线,1),RGB(0,250,0)),linethick1;{红留,变绿一定卖}
金叉:if(CROSS(sK,sD),抛留线,0),colorffffff,LINETHICK2,layer1;{买入点}
{金叉:if(CROSS(sK,sD),30,0),COLORWHITE,POINTDOT,LINETHICK0;
STICKLINE(金叉,30,40,6,0),COLORffffff;
drawtext(金叉,35,'金叉'),ALIGN1,color6600FF,layer0;}
VERTLINE(CROSS(金叉,0.1),2),COLORffffff,layer7;
金叉天数:barslast(cross(sK,sD)),linethick0;{计算几日前金叉}
{能量线用柱表示}
{绿色 0线上 表示下跌}
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,8,0 ),COLOr008800;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,7,0 ),COLOR009900;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,6,0 ),COLOR00aa00;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,5,0 ),COLOR00bb00;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,4,0 ),COLOR00cc00;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,3,0 ),COLOR00dd00;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,2,0 ),COLOR00ee00;
STICKLINE(YJD<ref(YJD,1)and YJD>0,0,YJD,1,0 ),COLOR00ff00;
{红色 0线上 表示上涨}
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,8,0 ),COLOR000088;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,7,0 ),COLOR000099;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,6,0 ),COLOR0000aa;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,5,0 ),COLOR0000bb;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,4,0 ),COLOR0000cc;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,3,0 ),COLOR0000dd;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,2,0 ),COLOR0000ee;
STICKLINE(YJD>=ref(YJD,1)and YJD>0,0,YJD,1,0 ),COLOR0000ff;
{黄s 0线下 表示上涨}
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,8,0 ),COLOR338fdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,7,0 ),COLOR339fdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,6,0 ),COLOR33afdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,5,0 ),COLOR33bfdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,4,0 ),COLOR33cfdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,3,0 ),COLOR33dfdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,2,0 ),COLOR33efdd;
STICKLINE(YJD>ref(YJD,1)and YJD<0,0,YJD,1,0 ),COLOR33ffdd;
{蓝色 0线下 表示下跌}
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,8,0 ),COLORFF4400;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,7,0 ),COLORFF6600;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,6,0 ),COLORFF7700;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,5,0 ),COLORFF8800;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,4,0 ),COLORFF9900;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,3,0 ),COLORFFaa00;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,2,0 ),COLORFFbb00;
STICKLINE(YJD<=ref(YJD,1)and YJD<0,0,YJD,1,0 ),COLORFFcc00;
{当日及时行情}
DRAWTEXTREL(5,30,'■' ),COLORffffff,linethick1,layer0;
DRAWTEXTREL(5,50,' 金 叉:'+NUMTOSTRN(金叉,2)),COLORffffff,linethick1,layer0;
DRAWTEXTREL(5,190,'今 '),COLORgreen,linethick1,layer0;
DRAWTEXTREL(5,350,'日 能量线:'+NUMTOSTRN(YJD,2)),COLORffffff,linethick1,layer0;
DRAWTEXTREL(5,510,'行 '),COLORgreen,linethick1,layer0;
DRAWTEXTREL(5,670,'情 抛留线:'+NUMTOSTRN(抛留线,2)),COLORffffff,linethick1,layer0;
DRAWTEXTREL(5,830,'■ '),COLORgreen,linethick1,layer0;
JC0:=金叉 < 35 and 金叉 >0 and YJD > ref(yjd,1) and 抛留线 > ref(抛留线,1);
JC1:=金叉 < 35 and 金叉 >0 and (YJD < ref(yjd,1) OR 抛留线 < ref(抛留线,1));
JC2:=金叉 <= 55 and 金叉 > 35 and YJD > ref(yjd,1) and 抛留线 > ref(抛留线,1);
JC3:=金叉 <=55 and 金叉 > 35 and (YJD < ref(yjd,1) or 抛留线 < ref(抛留线,1));
JC4:=金叉 > 55;
IF BARSTATUS=2 AND JC0 THEN BEGIN
DRAWTEXTREL(25,190,' ● 低位好 能量抛留见红 买'),colorred,layer0;
END
ELSE
IF BARSTATUS=2 AND JC1 THEN BEGIN
DRAWTEXTREL(25,190,' ● 低位好 能量或抛留回跌 可考虑买'),colorred,layer0;
END
ELSE
IF BARSTATUS=2 AND JC2 THEN BEGIN
DRAWTEXTREL(25,190,' ● 中位可 能量抛留见红 买'),colorred,layer0;
END
ELSE
IF BARSTATUS=2 AND JC3 THEN BEGIN
DRAWTEXTREL(25,190,' ● 中位可 能量线见绿 观望'),coloryellow,layer0;
END
ELSE
IF BARSTATUS=2 AND JC4 THEN BEGIN
DRAWTEXTREL(25,190,' ● 高位可能有暴利也是陷阱!!'),coloryellow,layer0;
END;
NJC1:=金叉 = 0 AND 金叉天数 <=1 and YJD > ref(yjd,1) and 抛留线 > ref(抛留线,1) and YJD <30;
NJC2:=金叉 = 0 AND 金叉天数 <=1 and YJD > ref(yjd,1) and 抛留线 > ref(抛留线,1) and YJD <60 and YJD >30;
NJC3:=金叉 = 0 AND 金叉天数 <=1 and YJD > ref(yjd,1) and 抛留线 > ref(抛留线,1) and YJD >60 ;
NJC4:=金叉 = 0 AND 金叉天数 <=1 and (YJD < ref(yjd,1) or 抛留线 < ref(抛留线,1)) ;
NJC5:=金叉 = 0 AND 金叉天数 =2 ;
NJC6:=金叉 = 0 AND 金叉天数 >2 and YJD > ref(yjd,1) and 抛留线 > ref(抛留线,1);
NJC7:=金叉 = 0 AND 金叉天数 >2 and (YJD < ref(yjd,1) or 抛留线 < ref(抛留线,1)) ;
NJC8:=金叉 = 0 AND 金叉天数 >2 and YJD < ref(yjd,1) and 抛留线 < ref(抛留线,1) ;
IF BARSTATUS=2 AND NJC1 THEN BEGIN
DRAWTEXTREL(25,30,' ● '+NUMTOSTRN(金叉天数,0)+'天前金叉'),colorred,layer0;
DRAWTEXTREL(25,190,' ● 低位可进场'),colorred,layer0;
END
ELSE
IF BARSTATUS=2 AND NJC2 THEN BEGIN
DRAWTEXTREL(25,30,' ● '+NUMTOSTRN(金叉天数,0)+'天前金叉'),colorred,layer0;
DRAWTEXTREL(25,190,' ● 中位可进场'),colorred,layer0;
END
ELSE
IF BARSTATUS=2 AND NJC3 THEN BEGIN
DRAWTEXTREL(25,30,' ● '+NUMTOSTRN(金叉天数,0)+'天前金叉'),coloryellow,layer0;
DRAWTEXTREL(25,190,' ● 高位小心 牛现 还是?'),coloryellow,layer0;
END
ELSE
IF BARSTATUS=2 AND NJC4 THEN BEGIN
DRAWTEXTREL(25,30,' ● '+NUMTOSTRN(金叉天数,0)+'天前金叉'),coloryellow,layer0;
DRAWTEXTREL(25,190,' ● 陷阱 还是?'),coloryellow,layer0;
END
ELSE
[url=http://www.70822.com/soft/sort013/sort03/down-30941.html]新发动机(副图 源码 图)[/url]