大智慧钻石薛氏主图指标公式

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;
 




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图