macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
26
2024 / 11 / 20
2023-05-06 19:43:28 通达信指标网
公式源码:
N :=21; M:=14; M1 :=5;
VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR2:=SMA(VAR1,M1,1);
卖线: SMA(VAR2,M1,2);
VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
VAR4:=SMA(VAR3,M1,1);
VAR5:=SMA(VAR4,M1,1);
空头线: SMA(VAR5,M1,2);
必卖线: SMA(卖线,M1,2);
高压线: 85,POINTDOT;
抄底线: 9,POINTDOT,COLORWHITE;
关注线:80,POINTDOT,COLORWHITE;
弱势线:25,POINTDOT,COLORWHITE;
分界线:50;
RSV:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
K:MA(RSV,3),COLORGREEN;
D:MA(K,3),COLORRED;
DRAWTEXT(空头线>85 AND CROSS(卖线,必卖线),必卖线*1.15,'进');
DRAWTEXT(空头线>56 AND 空头线<=76 AND CROSS(卖线,必卖线),15,'留意');
DRAWTEXT(空头线<45 AND 卖线>78 AND 必卖线>78 AND CROSS(必卖线,卖线),95,'跑'),COLORGREEN ;
DRAWTEXT(CROSS(空头线,80),空头线,'关注'),COLORRED ;
DRAWTEXT(CROSS(空头线,85),空头线,'重点关注'),COLORWHITE;
原文链接:https://www.tdxzb.com/?id=1250
本文版权:如无特别标注,本站文章均为原创。