软件名称:[B]钻石薛氏主图指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2014-03-22 08:32:36
软件简介:
N:=5;
BU:=BARSLAST(CLOSE=HHV(CLOSE,N));
SE:=BARSLAST(CLOSE=LLV(CLOSE,N));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1<LM2;
NOK:=KK2>KK1 AND LM2>LM1;
NOK1:=KK2>KK1 AND LM2<LM1;
STICKLINE(OK1,CLOSE,OPEN,8,0),colorFF0000;
STICKLINE(OK1,HIGH,LOW,0,0),colorFF0000;
STICKLINE(OK,CLOSE,OPEN,8,0),color0000FF;
STICKLINE(OK,HIGH,LOW,0,0),color0000FF;
STICKLINE(NOK,CLOSE,OPEN,8,0),colorFF0000;
STICKLINE(NOK,HIGH,LOW,0,0),colorFF0000;
STICKLINE(NOK1,CLOSE,OPEN,8,0),color0000FF;
STICKLINE(NOK1,HIGH,LOW,0,0),color0000FF;
DRAWICON(CROSS(KK1,KK2),OPEN*0.98,7);
DRAWICON(CROSS(KK2,KK1),OPEN*1.04,8);
DRAWTEXT(CROSS(KK1,KK2),OPEN*0.95,'买'),colorFFFFFF;
DRAWTEXT(CROSS(KK2,KK1),OPEN*1.065,'卖'),color00FFFF;
M1:WMA(CLOSE,14),LINETHICK2,color0000FF;
M2:=WMA(M1,5);
M3:IF(M1>M2,M2,M1),LINETHICK2,color00FF00;
M2,LINETHICK2,color000001;
X:=EMA(SLOPE(CLOSE,21)*20+CLOSE,68);
Y:=EMA(CLOSE,10);
LL:=REF(CLOSE,2);
MM:=(SMA(MAX(CLOSE-LL,0),6,1))/(SMA(ABS(CLOSE-LL),6,1))*100;
DB:=IF(MM<REF(MM,1) AND MM>79,MM,0);
{开盘后预测今日股价高低}
F:=(ref(high,1)+ref(low,1)+2*ref(close,1))/4;
今日次高:=2*F-ref(LOW,1);
今日次低:=2*F-ref(HIGH,1);
今日最高:=F+ref(HIGH,1)-ref(LOW,1);
今日最低:=F-(ref(HIGH,1)-ref(LOW,1));
DRAWTEXTabs(20,0,'●今日开盘股价预测,仅供参考'),colorFFBBCC;
DRAWTEXTabs(20,15,'●今日最高=:'+NUMTOSTR(今日最高)+''),colorFF00FF;
DRAWTEXTabs(20,30,'■今日次高=:'+NUMTOSTR(今日次高)+''),color0000FF;
DRAWTEXTabs(20,45,'■今日分割位=:'+NUMTOSTR(F)+''),color00FFFF;
DRAWTEXTabs(20,60,'■今日次低=:'+NUMTOSTR(今日次低)+''),colorFF0000;
DRAWTEXTabs(20,75,'●今日最低=:'+NUMTOSTR(今日最低)+''),color00FF00;
{薛斯通道}
AHC1:=CLOSE*VOL;
AHC2:=EMA((EMA(AHC1,3)/EMA(VOL,3)+EMA(AHC1,6)/EMA(VOL,6)+EMA(AHC1,12)/EMA(VOL,12)+EMA(AHC1,24)/EMA(VOL,24))/4,13);
SUP:1.06*AHC2;
SDN:AHC2*0.94;
AHC3:=EMA(CLOSE,9);
LUP:EMA(AHC3*1.14,5);
LDN:EMA(AHC3*0.86,5);
DRAWTEXT( BARSTATUS=2,SUP,'--短上通道'),COLORf0fFF0;
DRAWTEXT( BARSTATUS=2,SDN,'--短下通道'),COLORf0f000;
DRAWTEXT( BARSTATUS=2,LUP,'--长上通道'),COLORf0f000;
DRAWTEXT( BARSTATUS=2,LDN,'--长下通道'),COLORf0f000;
RCC:=DYNAINFO(3);
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
STICKLINE(DK>0,RCC,RCC+DK,0,1),COLORRED;
STICKLINE(DK<0,RCC,RCC+DK,0,1),COLORCYAN;
黄金线:(EMA(C,18)),POINTDOT;
[url=http://www.70822.com/soft/sort013/sort03/down-70892.html]钻石薛氏主图指标公式[/url]