顶底共振副图指标当短趋势线呈现红色时做多

RSV1:=100*(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));
K1:=REF(MA(RSV1,3),1)+(RSV1-REF(MA(RSV1,3),1))/3;
D1:=REF(MA(K1,3),1)+(K1-REF(MA(K1,3),1))/3;
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
J27:AA1,COLORRED,LINETHICK2;
STICKLINE(AA1>AA2,AA1,AA2,8/3,0),COLOR0055AA;
STICKLINE(AA1>AA2,AA1,AA2,5/3,0),COLOR0077CC;
STICKLINE(AA1>AA2,AA1,AA2,3/3,0),COLOR0099DD;
STICKLINE(AA1>AA2,AA1,AA2,1/3,0),COLORWHITE;
STICKLINE(AA1<=AA2,AA1,AA2,8/3,0),COLOR006600;
STICKLINE(AA1<=AA2,AA1,AA2,5/3,0),COLOR009900;
STICKLINE(AA1<=AA2,AA1,AA2,3/3,0),COLOR00BB00;
STICKLINE(AA1<=AA2,AA1,AA2,1/3,0),COLORWHITE;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;
D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
J9:BB1;
STICKLINE(BB1>BB2,BB1,BB2,7,0),COLOR000045;
STICKLINE(BB1>BB2,BB1,BB2,5,0),COLOR000085;
STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR0000C5;
STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;
STICKLINE(BB1<=BB2,BB1,BB2,7,0),COLOR353500;
STICKLINE(BB1<=BB2,BB1,BB2,5,0),COLOR555500;
STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR757500;
STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;
DD:=AA1>AA2 AND BB1>BB2;
注意卖出:REF(DD,1)=1 AND NOT(DD),NODRAW,COLORGREEN;
DRAWTEXT(注意卖出,105,'S'),COLORGREEN;
VAR01:=J27>REF(J27,1);
VAR02:=J9>REF(J9,1);
XG:=VAR01>0 AND VAR02>0 AND (REF(VAR01,1)=0 OR REF(J9,1)=0) AND J9<35 AND J27<35;
底部共振:15*XG,LINETHICK2;
N:=27;
M1:=9;
M2:=5;
M3:=3;
A:=6;
B:=49;
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR3:=SMA(VAR2,M1,1);
VARA:=(CLOSE-LLV(LOW,21.55))/(HHV(HIGH,21.55)-LLV(LOW,34))*80;
VARB:=SMA(VARA,9,1);
VARC:=SMA(VARB,5,1);
LC:=REF(CLOSE,1);
山:=SMA(MAX(CLOSE-LC,0),A,1)/SMA(ABS(CLOSE-LC),A,1)*100;
花:=CROSS(山,14);
底1:=IF(CROSS(VARB,VARC) AND VARB<13,20,0);
顶:IF(CROSS(68,山),81,100),LINETHICK1,COLORGREEN;
底:IF((底1 OR 花),30,0),LINETHICK1,COLORYELLOW;
短趋势线:MA(CLOSE,13),COLORRED,LINETHICK2;
涨:IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK2;
平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK2;
跌:IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLOR80FF00,LINETHICK2;
 


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

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

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

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