2023主力趋势动向 彩色多空买卖《通达信+指标+公式+副图+源码》

[复制链接]
查看24982 | 回复0 | 2023-11-17 14:31 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
655708b361446.png
副图公式源码支持 手机/电脑

GUP1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP2:=VOL;
GUP3:=GUP1*GUP2;
阴线:ABS(SUM(IF(GUP3<0,GUP3,0),7)),DOTLINE,COLOR008000;
阳线:SUM(IF(GUP3>0,GUP3,0),7),DOTLINE,COLORRED;
空日:=BARSLAST(阳线>阴线),COLORLIBLUE;
多日:=BARSLAST(阳线<阴线),COLORLIMAGENTA;
空日*100000,COLORLIBLUE;
多日*100000,COLORLIMAGENTA;
DRAWBAND(多日*100000,RGB(200,50,200),0,RGB(50,50,200));
DRAWBAND(空日*100000,RGB(50,50,2000),0,RGB(200,50,20));
GUP15:=ABS(阴线-阳线);
GUP16:=49;
GUP17:=(阴线+阳线)/2;
GUP18:=STDP(MAX(阴线,阳线),GUP16);
GUP19:=STDP(MIN(阴线,阳线),GUP16);
GUP20:=WMA(GUP17,GUP16);
GUP21:=GUP20+1.618*GUP18;
GUP22:=GUP20-1.618*GUP19;
GUP23:=阳线>阴线 AND 阳线>=GUP20;
GUP24:=阴线>阳线 AND 阴线>=GUP20;
GUP25:=阳线>阴线 AND 阳线>GUP21;
GUP26:=阴线>阳线 AND 阴线>GUP21;
STICKLINE(GUP23,阳线,MAX(GUP20,阴线),6,0),COLORRED;
STICKLINE(GUP24,阴线,MAX(GUP20,阳线),6,0),COLORGREEN;
STICKLINE(GUP25,阳线,MAX(GUP21,阴线),6,0),COLORMAGENTA;
STICKLINE(GUP26,阴线,MAX(GUP21,阳线),6,0),COLORWHITE;
多头:IF(阳线>阴线,阳线,DRAWNULL),COLORRED,LINETHICK2;
空头:IF(阳线<阴线,阴线,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(阳线,阴线),阳线,'买'),COLORRED;
DRAWTEXT(CROSS(阴线,阳线),阳线,'卖'),COLORGREEN;

选股公式源码



{选股公式:买}
GUP1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,COLORWHITE;
GUP2:=VOL,COLORWHITE;
GUP3:=GUP1*GUP2,COLORWHITE;
阴线:=ABS(SUM(IF(GUP3<0,GUP3,0),7)),COLOR008000;
阳线:=SUM(IF(GUP3>0,GUP3,0),7),COLORRED;
GUP15:=ABS(阴线-阳线),COLORWHITE;
GUP16:=49,COLORWHITE;
GUP17:=(阴线+阳线)/2,COLORWHITE;
GUP18:=STDP(MAX(阴线,阳线),GUP16);
GUP19:=STDP(MIN(阴线,阳线),GUP16);
买:CROSS(阳线,阴线);
{卖出公式:卖}
GUP1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
GUP2:=VOL;
GUP3:=GUP1*GUP2;
阴线:=ABS(SUM(IF(GUP3<0,GUP3,0),7)),COLOR008000;
阳线:=SUM(IF(GUP3>0,GUP3,0),7),COLORRED;
GUP16:=49;
GUP17:=(阴线+阳线)/2;
GUP20:=WMA(GUP17,GUP16);
GUP23:=阳线>阴线 AND 阳线>=GUP20;
GUP24:=阴线>阳线 AND 阴线>=GUP20;
卖:CROSS(阴线,阳线);
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则