首页 > 编程语言 >通达信私募顶底线源码副图

通达信私募顶底线源码副图

时间:2024-02-05 19:12:37浏览次数:33  
标签:底线 27 HHV REF LLV 通达信 源码 100 N4

{ 股票指标 }

底部:0,COLORWHITE;
顶部:100,COLORYELLOW;
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BArslAst(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=crOSS(C,REF(W3,1));
峰顶:STICKLINE(饱和度>=97 AND CQ>90,0,100,3,0),COLORRED;
短期:100*(C-LLV(L,N1))/(HHV(C,N1)-LLV(L,N1)),COLORGRAY;
中期:100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4)),COLORRED;
持股:=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);
支撑:=LLV(持股,3);
下跌:=MA(持股,12);
KAAA:=持股=支撑 AND 支撑>下跌;

STICKLINE(KAAA,40,60,3,0),COLORGREEN;
STICKLINE(REF(中期,1)<1 AND 中期>1,0,20,3,0),COLORWHITE;
STICKLINE(W4 AND COUNT(W4,5)=1,80,100,3,0),COLORYELLOW;
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
macd:=(DIF-DEA)*2;
kdDD:=REF(MacD>0,3) OR REF(MACD>0,4);
KEEE:=MACD<0 AND KDDD AND REF(MACD>0,1)=0 AND REF(MACD>0,2)=0;
STICKLINE(KEEE,40,60,3,0),COLORBLUE;

 

标签:底线,27,HHV,REF,LLV,通达信,源码,100,N4
From: https://www.cnblogs.com/zhibiao/p/18008675

相关文章

  • 通达信精品成交量指标公式源码
    {股票指标}A1:=REF(CLOSE,2);A2:=SMA(maX(CLOSE-A1,0),7,1)/SMA(Abs(CLOSE-A1),7,1)*100;A3:=DATE<=1070615;A4:=REF(LOW,1);A5:=SMA(ABS(LOW-A4),3,1)/SMA(MAX(LOW-A4,0),3,1)*100;A6:=EMA(IF(CLOSE*1.3,A5*10,A5/10),3);A7:=LLV(LOW,29);A8:=HHV(A6,37);A9:=IF......
  • 通达信牛回头主图源码
    {股票指标} 开盘:=(O-REF(C,1))/REF(C,1)*100,NODRAW,COLORLIGREEN;现价:REFDATE(C,DATE),DOTLINE,COLORLIGRAY;半分:(O+C)/2,NODRAW,COLORWHITE;H2:=MAX(H,REF(H,1));L2:=MIN(L,REF(L,1));两日半:=(H2+L2)/2,NODRAW;STICKLINE(ISLASTBARAND两日半,两日半,两日半,......
  • 通达信愚公财神副图源码
    {股票指标} {愚公财神} LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; 买:EMA(RSI1,2),COLORRED,LINETHICK1; 卖:EMA(RSI2,5),LINETHICK1,COLORFFFF00;Q2:=(CL......
  • 通达信龙头选股公式源码副图
    {股票指标}HJ_1:=DYNAINFO(4)>0ANDHHV(HIGH,10)/LLV(LOW,10)<1.25ANDREF(CLOSE,1)<llv(low,15)+(hhv(high,15)-llv(low,15))*0.85and=""close="">OPENANDCLOSE>=HHV(HIGH,10);HJ_2:=IF(DATETODAY(DATE)<999999999,1,DRAWNULL)......
  • 通达信蜘蛛金操盘源码副图
    {股票指标}主力资金:Ema(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3)+100,COLORRED,LINETHICK2;进入启动区:65;快速拉伸区:80;筹码集中区:50;抄底阶段:20;DRAWTEXT(crOSS(主力资金,抄底阶段),主力资金,'抄底'),COLORFA8282;DRAWTEXT(CROSS(主力资金,筹码集中......
  • 通达信买卖顶底主图源码
    {股票指标}RSV:=Ema((MA(H,2)+MA(L,2))/2,2);原形:=MA(RSV,13),COLOR00AAEE;偏移:=xma(RSV,18),COLOR00FF00;运动趋势:=(原形+偏移)/2,COLORFFFFFF,LINETHICK2;DRAWBAND(运动趋势*1.1,RGB(00,100,100),运动趋势*1.125,RGB(00,100,100));DRAWBAND(运动趋势*1.125,RGB(10......
  • 通达信分时出击源码副图
    {股票指标}X_1:=ma((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50,17)+9;X_2:=MA(X_1,7)*1.372;X_3:=crOSS(X_2,50);X_4:=TIME2<132000;X_5:=EMA(CLOSE,8);X_6:=EMA(X_5,20);X_7:=CROSS(X_5,X_6);X_8:=X_5<ema(close,120);X_9:=EMA(SMA((CLOSE-LLV(LOW,10......
  • 通达信金石探庄源码副图
    {股票指标}VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,34);VAR5:=HHV(HIGH,34);空:Ema((VAR3-VAR4)/(VAR5-VAR4)*100,13),COLORYELLOW;多:EMA(0.667*REF(空,1)+0.333*空,2),COLORF00FF0;高抛低吸分界线:50,crOSSDOT,COLORYELLOW;危险小心套牢:IF(CROSS(多,空)AND......
  • 通达信五线上翘选股公式源码副图
    {股票指标}AAA:=(ma(CLOSE,13)+MA(CLOSE,17))/2;CCC:=(stD(CLOSE,13)+STD(CLOSE,17))/2;BBB:=AAA+2.1*CCC;DDD:=AAA+0.72*CCC;ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);起爆:=ZZZ*1.02;加仓:=ZZZ*0.97;优选2:=O>加仓ANDL>REF(H,1);优选1:O>起爆AND加仓ANDL>REF(H,1)......
  • 通达信葡萄熟了主图源码
    {股票指标}高:HHV(Ema(EMA(EMA(EMA(EMA(L,2),2),2),2),2),2),COLORLIBLUE,LINETHICK1;低:LLV(EMA(EMA(EMA(EMA(EMA(L,2),2),2),2),2),1),COLORRED,LINETHICK2;{30分钟MA}MA4:=MA(C,4),COLORBLUE,LINETHICK4;A8:=MA(C,8),COLORRED;A24:=MA(C,24),COLORRED;A40:=MA(C,40......