中短线控盘副图上中下用了3排柱状线把KDJ均线和RSI融合到一起

N:=27;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
STICKLINE(J>D,0,15,2,0),colorred;
STICKLINE(J<D,0,15,2,0),colorgreen;
BSCG:=HHV(MA(C,17),2);
FS:=IF(MA(C,17)<BSCG,(MA(C,17)-(BSCG-MA(C,17))),BSCG);
AA:=C>MA(C,5) OR (C>MA(C,5) AND C>FS) OR C>BSCG;
BB:=C<MA(C,5);
STICKLINE(BB,18,32,2,0),colorgreen;
STICKLINE(AA,18,32,2,0),colorred;
LC := REF(CLOSE,1);
RSI8:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100,coloryellow;
RSI16:=SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100;
RSI32:=SMA(MAX(CLOSE-LC,0),32,1)/SMA(ABS(CLOSE-LC),32,1)*100;
JC:= RSI8>RSI16 AND RSI8>RSI32 AND RSI16>RSI32 ;
SC:= RSI8<RSI16 AND RSI8<RSI32 AND RSI16<RSI32 ;
空:=IF(SC,5,0),COLORFFCC66  ;
多:=IF(JC,5,0),colorwhite;
STICKLINE(JC,-4,-18,2,0),colorred;
STICKLINE(SC,-4,-18,2,0),COLORFFCC66;
STICKLINE(多=0 AND 空=0,-4,-18,2,0),colorred;
Q2:=HHV(VOL,10);
十量:=VOL>=Q2  ;
STICKLINE(十量,40,-18,0,0),colorwhite;
LX:=O>C;
HX:=O<C;
阳包阴:REF(LX,1)=1  AND REF(H,1)<H AND REF(L,1)>L AND HX,coloryellow;
STICKLINE(阳包阴,30,-18,1,0),colorblue;






来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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