股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网同花顺公式 → 正文

RSI出击同花顺副图指标

发布时间:2023/5/26 18:02:46  浏览次数:
RSI出击同花顺副图指标
源码
LC:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;
VAR1:=10;
VAR2:=11;
VAR3:=11;
VAR4:=12;
VAR5:=12;
VAR6:=13;
VAR7:=13;
VAR8:=14;
VAR9:=14;
VARA:=15;
VARB:=15;
VARC:=SMA(((CLOSE-LLV(LOW,VAR1))/(HHV(HIGH,VAR1)-LLV(LOW,VAR1)))*(100),4,1);
VARD:=SMA(((CLOSE-LLV(LOW,VAR2))/(HHV(HIGH,VAR2)-LLV(LOW,VAR2)))*(100),4,1);
VARE:=SMA(((CLOSE-LLV(LOW,VAR3))/(HHV(HIGH,VAR3)-LLV(LOW,VAR3)))*(100),4,1);
VARF:=SMA(((CLOSE-LLV(LOW,VAR4))/(HHV(HIGH,VAR4)-LLV(LOW,VAR4)))*(100),4,1);
VAR10:=SMA(((CLOSE-LLV(LOW,VAR5))/(HHV(HIGH,VAR5)-LLV(LOW,VAR5)))*(100),4,1);
VAR11:=SMA(((CLOSE-LLV(LOW,VAR6))/(HHV(HIGH,VAR6)-LLV(LOW,VAR6)))*(100),4,1);
VAR12:=SMA(((CLOSE-LLV(LOW,VAR7))/(HHV(HIGH,VAR7)-LLV(LOW,VAR7)))*(100),4,1);
VAR13:=SMA(((CLOSE-LLV(LOW,VAR8))/(HHV(HIGH,VAR8)-LLV(LOW,VAR8)))*(100),4,1);
VAR14:=SMA(((CLOSE-LLV(LOW,VAR9))/(HHV(HIGH,VAR9)-LLV(LOW,VAR9)))*(100),4,1);
VAR15:=SMA(((CLOSE-LLV(LOW,VARA))/(HHV(HIGH,VARA)-LLV(LOW,VARA)))*(100),4,1);
VAR16:=SMA((VAR15-50)*(2),3,1);
VAR17:=SMA(((CLOSE-LLV(LOW,VARB))/(HHV(HIGH,VARB)-LLV(LOW,VARB)))*(100),4,1);
VAR18:=(HIGH+LOW+CLOSE)/(3);
VAR19:=(VAR18-MA(VAR18,14))/((0.015)*(AVEDEV(VAR18,14)));
VAR1A:=(VAR18-MA(VAR18,70))/((0.015)*(AVEDEV(VAR18,70)));
VAR1B:=IF((VAR19>=150) AND (VAR19<200) AND (VAR1A>=150) AND (VAR1A<200),(-10),0);
VAR1C:=IF((VAR19<=(-150)) AND (VAR19>(-200)) AND (VAR1A<=(-150)) AND (VAR1A>(-200)),10,0);
VAR1D:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);
VAR1E:=100-ABS(VAR1D);
D11=(SMA((VAR17-50)*(2),3,1)+SMA((VAR13-50)*(2),3,1))/(2);
Y:(D11+100)/2;
V6:=((3)*(VAR17-50))*(2)-(2)*(SMA((VAR17-50)*(2),3,1));
X:(V6+100)/2;
DRAWBAND(X,RGB(255,0,0),Y,RGB(0,255,0));
DRAWICON(RSI<13,RSI,1);
DRAWICON(87<RSI,RSI,2);
出击:FILTER((RSI>REF(RSI,1) AND REF(RSI,1)<13),1)*RSI;
买:STICKLINE(FILTER((RSI>=REF(RSI,1) AND REF(X,1)<21) AND REF(RSI,1)<=REF(RSI,2),1),0,-10,5,0),coloryellow;
卖:STICKLINE(FILTER((RSI<=REF(RSI,1) AND REF(X,1)>79) AND REF(RSI,1)>=REF(RSI,2),1),100,110,5,0),coloryellow;
STICKLINE(出击>0,0,RSI+10,10,0),RGB(255,0,0);
买入1:FILTER(RSI>REF(RSI,1) AND REF(RSI,1)<REF(RSI,2) AND REF(RSI,3)<REF(RSI,2) AND REF(RSI,3)<REF(RSI,1) AND REF(CLOSE,3)<REF(CLOSE,1) AND (REF(RSI,1)<40 OR REF(RSI,2)<40 OR REF(RSI,3)<40),1)*RSI,COLORFF00FF;
买入2:FILTER(RSI>REF(RSI,1) AND REF(RSI,1)<REF(RSI,2) AND REF(RSI,3)>REF(RSI,2) AND REF(RSI,3)>REF(RSI,4) AND REF(RSI,4)<REF(RSI,1) AND REF(CLOSE,4)<REF(CLOSE,1) AND (REF(RSI,1)<40 OR REF(RSI,2)<40 OR REF(RSI,3)<40 OR REF(RSI,4)<40),1)*RSI,COLORFF00FF;
买入3:FILTER(RSI>REF(RSI,1) AND REF(RSI,1)<REF(RSI,2) AND REF(RSI,2)>REF(RSI,3) AND REF(RSI,3)>REF(RSI,4) AND REF(RSI,4)<REF(RSI,1) AND REF(CLOSE,4)<REF(CLOSE,1) AND (REF(RSI,1)<40 OR REF(RSI,2)<40 OR REF(RSI,3)<40 OR REF(RSI,4)<40),1)*RSI,COLORFF00FF;



增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.