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

资金进出组合同花顺副图指标

发布时间:2023/1/23 15:25:35  浏览次数:
资金进出组合同花顺副图指标
源码
//资金进出(取自主力真吸公式),买卖点含未来函数;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,LINETHICK1;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),colorwhite,LINETHICK1;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorwhite;
出货:IF(VAR51>REF(VAR51,1),VAR51,0),LINETHICK1,colorgreen;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),colorgreen;
拉高:IF(VAR51<REF(VAR51,1),VAR51,0),LINETHICK1,colorblue;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),colorblue;
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF (ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF (ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF (ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF (ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF (ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF (ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
//买入:(VAR11+VAR13+VAR15+VAR17)*20,colorred,LINETHICK1;
买入:=DRAWICON((VAR11+VAR13+VAR15+VAR17)*20,0,1);
//卖出:(VAR12+VAR14+VAR16+VAR18)*20,colorgreen,LINETHICK1;
卖出:=DRAWICON((VAR12+VAR14+VAR16+VAR18)*20,0,2);
//最佳:(VAR10)*15,STICK,colorFFA540,LINETHICK5;
最佳:STICKLINE((VAR10),0,70,9,0);
//DRAWICON((VAR10)*15,70,9);
//3%涨幅公式,买入提醒colormagenta,卖出提醒,colormagenta,3%提醒 colormagenta;
Var71:=(2*CLOSE+HIGH+LOW)/4;
Var72:=LLV(LOW,34);
Var73:=HHV(HIGH,34);
xx:=EMA((Var71-Var72)/(Var73-Var72)*100,13);
yy:=EMA(0.667*REF(xx,1)+0.333*xx,2) ;
DRAWTEXT(CROSS(xx,20) AND yy<xx,-21,'3% ');
STICKLINE(CROSS(xx,20) AND yy<xx,0,-20,7,0),colormagenta;
//选股:-IF(CROSS(xx,yy) AND xx<20 ,20,0),colormagenta,LINETHICK1;
//STICKLINE(CROSS(YY,XX) AND xx>75,80,100,7,0),colormagenta;
//主力真吸公式,风险和涨跌;
VAR88:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR89:=SMA(VAR88,13,8);
风险:CEILING(SMA(VAR89,13,8)),LINETHICK1,colorgreen;
涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK1,colorred;
STICKLINE(CROSS(涨跌,风险) AND 涨跌>69,80,100,7,0),colormagenta;
//趋势及波段,买入提醒colorcyan;
VAR90:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR91:=REVERSE(VAR90);
VAR92:=SMA(VAR90,3,1);
移动平均:=SMA(VAR92,3,1), colorred;
参考线:=SMA(移动平均,3,1),colorcyan ;
走势线:=SMA(移动平均,2,1),colorwhite;
STICKLINE(CROSS(移动平均,参考线) AND 移动平均<30,0,-20,7,0),colorcyan;
A:0,colorcyan,LINETHICK2;
B:50,colorcyan,LINETHICK1;

资金进出组合同花顺副图指标

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