macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
23
2024 / 11 / 20
2023-06-06 21:04:53 通达信指标网
RSV:=(((CLOSE - LLV(LOW,36)) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
Y0:=SMA(RSV,7,1);
Y1:=SMA(SMA(RSV,7,1),3,1);
Y2:=(((CLOSE/COST(13))<=0.8)*10);
Y3:=SMA(Y0,7,1);
XG1:=CROSS(18,Y0) AND Y1<21;
XG2:=COUNT(CROSS(Y0,Y1),4)>=1 AND CROSS(Y0,Y3) AND Y3<=30;
{共振}
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
DD:=AA1>AA2 AND BB1>BB2;
M:=DD AND NOT(REF(DD,1)) AND (AA1<25 OR BB1<25) ;
FF:=AA1<AA2;
Z:=FF AND NOT(REF(FF,1)) AND (AA1>65 OR BB1>65);
{多头买入} ENTERLONG:XG2 OR XG1;
{多头卖出} EXITLONG:Z AND Y0>80;
原文链接:https://www.tdxzb.com/?id=1367
本文版权:如无特别标注,本站文章均为原创。