软件名称:[B]聚宝盆(指标 主图 通达信 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2018-09-23 21:00:36
软件简介:
股指主图指标--聚宝盆,
精准提示买多-持仓,买空时间,不含未来函数。
除及时提示买多买空外,也精准提示持仓(多单)和持空单的时间。试用后就知道,是否名副其实!
{公式名称: 聚宝盆
公式描述: 股指主图
参数数量: 4
参数1: N, 最小: 2, 最大: 100, 缺省: 11
参数2: M, 最小: 2, 最大: 100, 缺省: 2
参数3: M3, 最小: 2, 最大: 100, 缺省: 20
参数4: M4, 最小: 2, 最大: 100, 缺省: 60}
SHOU:=IF(DATE<=1180619,1,0),NODRAW;
CV:=CLOSE;
BBI:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:BBI+M*STD(BBI,N);
DWN:BBI-M*STD(BBI,N);
{MA144:MA(C,144),COLORYELLOW;}
主力线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT;
超短线:=(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK3,COLORLIRED;
ROC:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12),COLORRED;
MAROC:=MA(ROC,5),COLORLIRED,LINETHICK3;
斜率:=SLOPE(超短线,3),COLORMAGENTA,NODRAW;
斜率B:=SLOPE(BBI,3),COLORMAGENTA,NODRAW;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4,COLORRED,LINETHICK3;
空:=长趋势<REF(长趋势,1) AND SHOU AND MAROC<REF(MAROC,1),NODRAW,COLORGREEN;
多:=长趋势>=REF(长趋势,1) AND 斜率>0.6 AND MAROC>=REF(MAROC,1),NODRAW,COLORMAGENTA;
快:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12),COLORRED;
慢:=MA(快,5),COLORLIRED,LINETHICK3;
DRAWICON(CROSS(快,慢) AND SHOU AND COUNT(CROSS(快,慢),5)=1,DWN-3,1);
DRAWICON(CROSS(慢,快) AND SHOU AND COUNT(CROSS(慢,快),5)=1 ,UPR+3,2);
持多:(多 OR (长趋势>REF(长趋势,1) ) AND SHOU AND 快>=慢),NODRAW ,COLORMAGENTA;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3) AND SHOU AND 斜率B>=0,DWN-3,'●买'),COLORRED;
DRAWTEXT((CROSS(3.5,价位线) OR (CROSS(慢,快)) AND SHOU AND COUNT(CROSS(3.5,价位线) OR (CROSS(慢,快)),6)=1),UPR+3,'●卖'),COLORGREEN;
{低买:=((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))),COLORMAGENTA ;}
MIDA:=(3*CLOSE+LOW+OPEN+HIGH)/6;
龙线:=(20*MIDA+19*REF(MIDA,1)+18*REF(MIDA,2)+17*REF(MIDA,3)+16*REF(MIDA,4)+15*REF(MIDA,5)+14*REF(MIDA,6)+13*REF(MIDA,7)+12*REF(MIDA,8)+11*REF(MIDA,9)+10*REF(MIDA,10)+9*REF(MIDA,11)+8*REF(MIDA,12)+7*REF(MIDA,13)+6*REF(MIDA,14)+5*REF(MIDA,15)+4*REF(MIDA,16)+3*REF(MIDA,17)+2*REF(MIDA,18)+REF(MIDA,20))/210,COLORRED;
虎线:=MA(龙线,6),COLORGREEN;
买入:= ({低买 OR} CROSS(快,慢) OR CROSS(龙线,虎线))AND C>=REF(C,2) AND 斜率B>=0 AND 斜率>=0,NODRAW,COLORMAGENTA;
MA5:=EMA(C,5);
MA13:=EMA(C,13);
买:= 买入 AND COUNT(买入,6)=1,NODRAW,COLORRED;
DRAWTEXT(买 AND SHOU,DWN-3,'买'),LINETHICK1,COLORMAGENTA;
卖:=(CROSS(3.5,价位线) OR (CROSS(慢,快)) AND COUNT(CROSS(3.5,价位线) OR (CROSS(慢,快)),6)=1),NODRAW,COLORGREEN;
买多:(买 OR 持多 AND 快>=REF(快,1)) AND NOT(卖) AND 持多 AND 斜率B>=0 AND SHOU ,NODRAW,COLORRED;
买空:(卖 OR 空 AND 快<REF(快,1)) AND NOT(买多) AND SHOU,NODRAW,COLORGREEN;
{卖绝:IF(REF(TJ0,1)=0 AND TJ0>=1,0.3,0),STICK,COLORCYAN,LINETHICK5;
买一绝:IF(REF(TJ1,1)=0 AND TJ1>=1,60,0),STICK,COLORRED,LINETHICK3;}
买绝:IF(买多 AND 斜率B>0.03 AND COUNT(买多,6)=1 ,1,0),STICK,COLORRED,LINETHICK5,NODRAW;
卖绝:=IF(卖 ,1,0),STICK,COLORCYAN,LINETHICK3;
MA3:MA(CLOSE,M3);
MA4:=MA(CLOSE,M4),COLORYELLOW,LINETHICK2;
STICKLINE(买多 AND SHOU AND 斜率B>0.03 ,MA3,UPR,4,0),COLORMAGENTA;
STICKLINE(空 AND SHOU,MA3,BBI,4,0),COLORLICYAN;
{DRAWTEXT_FIX(1,0.70,1-0.15,0,STRCAT('变盘:',CON2STR(变盘*10,0))),COLORMAGENTA;}
DRAWTEXT_FIX(1,0.32,1-0.08,0,STRCAT('买空:',CON2STR(卖绝*100,0))),COLORGREEN;
DRAWTEXT_FIX(1,0.32,1-0.15,0,STRCAT('买多:',CON2STR(买多*100,0))),COLORMAGENTA;
{DRAWTEXT_FIX(1,0.75,1-0.88,0,STRCAT('变盘:',CON2STR(变盘*10,0))),COLORRED;}
DRAWTEXT_FIX(1,0.40,1-0.15,0,STRCAT('持多:',CON2STR(持多*100,0))),COLORMAGENTA;
DRAWTEXT_FIX(1,0.40,1-0.08,0,STRCAT('持空:',CON2STR(空*100,0))),COLORGREEN;
DRAWTEXT_FIX(1,0.850,1-0.08,0,STRCAT('绝卖:',CON2STR(卖绝*100,0))),COLORCYAN;
DRAWTEXT_FIX(1,0.850,1-0.15,0,STRCAT('绝买:',CON2STR(买绝*100,0))),COLORRED;
[url=http://www.70822.com/soft/sort013/sort05/down-125812.html]聚宝盆(指标 主图 通达信 贴图)[/url]