macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
26
2024 / 11 / 20
2023-05-03 20:56:42 通达信指标网
公式源码:
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
WEN:=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);
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
出点准备:=IF(CROSS(J2,J1) AND J2>85,70,100);
趋势线:=WEN,LINETHICK2;
买点准备:=IF(趋势线<=10,30,0);
STICKLINE(趋势线>88,3,2.6,3,1),COLORGREEN;
STICKLINE(CROSS(J2,J1) AND J2>85,3,2.6,3,0),COLORGREEN;
{出局减仓}
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
减仓线: 3.2 ;
卖出线: 3.5;
动力线: EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
DRAWTEXT(CROSS(动力线,减仓线),2.8,'减仓 '), ,;
DRAWTEXT(CROSS(动力线,卖出线),3.5,'出局 '), , ;
DRAWICON(CROSS(动力线,减仓线),3.4,2);
DRAWICON(CROSS(动力线,卖出线),3.9,2);
原文链接:https://www.tdxzb.com/?id=1243
本文版权:如无特别标注,本站文章均为原创。