最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • KDJ+RSI+MACD指标组合的副图源码

    正文概述    2024-04-14 08:41:39  

    九毛八公式指标

    首先谢谢各位高手老师的辛勤劳动,你们辛苦了 。 最近看到关于KDJ+RSI+MACD指标组合的文章,感觉不错,就是没有找到源码,各位高手老师如果有的话,麻烦给发一个,谢谢啦

    公式模块:

    VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;

    特别准:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),3,14,5,0),LINETHICK4,COLORRED; 有点准:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),14,27,3,0),LINETHICK3,COLORMAGENTA; bias1:=(C-MA(C,6))/MA(C,6)*100; BIAS2:=(C-MA(C,12))/MA(C,12)*100; BIAS3:=(C-MA(C,24))/MA(C,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖离:=MA(BIAS,3); 红柱抄底:STICKLINE(crOSS(BIAS,乖离) AND 乖离<-9.5,27,40,1,0),COLOR00FFFF; DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA:=EMA(DIFF,9),COLORFFFF00; macd:=(DIFF-DEA)*2; A1:=BArslAST(REF(CROSS(DIFF,DEA),1)); A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); MacD底背离:STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),40,50,1,0),COLOR00FF00; VAR6:=LLV(LOW,10); VAR8:=HHV(HIGH,25); 减仓线:=3.2 ; 卖出线:=3.5; 动力线:=EMA((CLOSE-VAR6)/(VAR8-VAR6)*4,4); 清仓线:=EMA((CLOSE-VAR6)/(VAR8-VAR6)*5,5); DRAWICON(CROSS(动力线,减仓线),85,2); DRAWTEXT(CROSS(动力线,减仓线),85,'减仓'),COLORBLUE; DRAWICON(CROSS(卖出线,动力线),90,35); DRAWTEXT(CROSS(卖出线,动力线),95,'减仓'),COLORRED; DRAWTEXT(CROSS(卖出线,清仓线),100,'清仓'),COLOR00FF00; VAR3:=PEAKBARS(3,15,1)<10; VAR5:=IF(VAR3=1,2,0); 顶:= IF(VAR5=2,2,0); 顶A:IF(顶>REF(顶,1),50,0),COLORGREEN,LINETHICK3; DRAWTEXT(顶A=50,60,'快'),COLORMAGENTA; DRAWTEXT(顶A=50,50,'逃'),COLORRED; DRAWTEXT(顶A=50,40,'顶'),COLORMAGENTA; LC:=REF(CLOSE,1); rsi6:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORRED,LINETHICK1; DRAWTEXT(RSI6>82,85,'减')COLOR00FF00; DRAWTEXT(RSI6<12.8,6,'补')COLORYELLOW;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » KDJ+RSI+MACD指标组合的副图源码 加入收藏