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

上升买蓝等红同花顺主图,源码

发布时间:2022/8/5 8:44:12  浏览次数:
上升买蓝等红同花顺主图
SHORT:=12;LONG:=26;M:=12;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,M);
MACD:=2*(DIF-DEA);
KK:=IF(DIF>DEA,5,-5);
JCSC:=(M-1)/(M+1)*DEA/(1-2/(M+1));
DD:=(MACD/2+(DEA*(M-1)/(M+1)))/(1-2/(M+1));
DIF拐头价:=(DIF*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1))),colorgreen,POINTDOT;
金死叉价:=(JCSC*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1))),NODRAW;
柱变向价:=(DD*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1))),coloryellow,POINTDOT;
见顶:=IF(柱变向价>=DIF拐头价,柱变向价,DRAWNULL),coloryellow,CIRCLEDOT,LINETHICK1;
上拐:IF(DIF拐头价<柱变向价,DIF拐头价,DRAWNULL),colorred,LINETHICK4;
下拐:IF(DIF拐头价>=柱变向价,DIF拐头价,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;
ZJ:=上拐,COLOR0000FF;
HY:=金死叉价,COLORFF00FF;
IF(ZJ>REF(ZJ,1),ZJ,DRAWNULL),colorred,LINETHICK2;
IF(HY>REF(HY,1),HY,DRAWNULL),colormagenta,LINETHICK2,NODRAW;
IF(HY<REF(HY,1),HY,DRAWNULL),colorblue,LINETHICK2,NODRAW;
STICKLINE(C>ZJ AND C>O,H,C,0,0 ),colorred;
STICKLINE(C>ZJ AND C>O,L,O,0,0 ),colorred;
STICKLINE(C>ZJ AND C>O,O,C,2.8,1),colorred;
STICKLINE(C>ZJ AND C<=O,H,L,0,0 ),colorred;
STICKLINE(C>ZJ AND C<=O,O,C,2.8,0),colorred;
STICKLINE(CLOSE=ZJ,H,L,3,0),colorwhite;
STICKLINE(CLOSE<ZJ,H,L,0,0),coloryellow;
STICKLINE(CLOSE<ZJ,O,C,2.5,0),coloryellow;
STICKLINE(C<HY AND C>O,H,C,0,0),colorcyan;
STICKLINE(C<HY AND C>O,O,L,0,0),colorcyan;
STICKLINE(C<HY AND C>O,O,C,2.8,1),colorcyan;
STICKLINE(C<HY AND C<=O,H,L,0,0),colorcyan;
STICKLINE(C<HY AND C<=O,O,C,2.8,0),colorcyan;
HD0:=CROSS(DIF,DEA);
金收:REF(L,BARSLAST(HD0)),coloryellow,DOTLINE;
LD0:=CROSS(DEA,DIF);
死收:REF(H,BARSLAST(LD0)),COLOR00FF00,DOTLINE;
买入准备:DRAWICON(CROSS(柱变向价,DIF拐头价),上拐,34);
卖出准备:DRAWICON(CROSS(DIF拐头价,柱变向价),下拐,35);


上升买蓝等红同花顺主图,源码

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