将通达信画线压力支撑改为大智慧可用的画线_大智慧

写MACD双线从O轴下上攻O轴之后第一次金叉的选股

写MACD双线从O轴下上攻O轴之后第一次金叉的选股

【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!

是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。

编写条件:

前面好像发错了,求助变成了分享,重发 压力支撑 HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0; AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); QY:=BACKSET(AA,HIGHN+1); CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); DRAWICON(CC,H*1.02,2); DDD:=BARSLAST(CC); GDTS:=IF(CC,CURRBARSCOUNT,0); DINGBU:=IF(DDD,REF(H,DDD),H);{顶部} DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DINGBU1:=REF(DINGBU,DDD+1); GDCS1:=CONST(DINGBUTS); DINGBUTS1:=REF(DINGBUTS,DDD+1); GDCS2:=CONST(DINGBUTS1); DINGBU2:=REF(DINGBU1,DDD+1); MM:=IF(CURRBARSCOUNT>GDCS2,0,1); 高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2; DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT; DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT; AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1); QY1:=BACKSET(AA1,LOWN+1); CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1); DRAWICON(CC1,L*0.98,1); DD1:=BARSLAST(CC1); DDTS:=IF(CC1,CURRBARSCOUNT,0); YDB:=IF(DD1,REF(L,DD1),L); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); DDCS1:=CONST(DDTS1); ZDB:=REF(YDB,DD1+1); DDTS2:=REF(DDTS1,DD1+1); DDCS2:=CONST(DDTS2); 低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2; ZGSTAR:=(高点压力+低点支撑)/2; ZGEND:=CONST((高点压力+低点支撑)/2); STARDAY:=IF(DDCS2

编写方法:

 HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;

AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,8),ALIGN1;
DH1:=BARSLAST(CC);
DH2:=BACKSET(BARSTATUS=2,DH1+1);
DH3:=BACKSET(BARSTATUS=2,DH1+REF(DH1,DH1+1)+2);
DH4:=BARSLAST(DH2>REF(DH2,1));
DH5:=BARSLAST(DH3>REF(DH3,1));
高点压力:REF(H,DH5)+(REF(H,DH4)-REF(H,DH5))*DH5/(DH5-DH4),COLORGREEN,LINETHICK2;
DRAWLINE(DH3>REF(DH3,1),H,DH2>REF(DH2,1),H,0),COLORGREEN,LINETHICK2;
REF(H,DH5),COLOR0055FF,POINTDOT;
REF(H,DH4),COLORYELLOW,POINTDOT;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DRAWICON(CC1,L*0.98,7);
DL1:=BARSLAST(CC1);
DL2:=BACKSET(BARSTATUS=2,DL1+1);
DL3:=BACKSET(BARSTATUS=2,DL1+REF(DL1,DL1+1)+2);
DL4:=BARSLAST(DL2>REF(DL2,1));
DL5:=BARSLAST(DL3>REF(DL3,1));
低点支撑:REF(L,DL5)+(REF(L,DL4)-REF(L,DL5))*DL5/(DL5-DL4),COLORRED,LINETHICK2;
REF(L,DL4),COLORMAGENTA,POINTDOT;
REF(L,DL5),COLORCYAN,POINTDOT;
DRAWLINE(DL3>REF(DL3,1),L,DL2>REF(DL2,1),L,0),COLORRED,LINETHICK2;
中轨:(高点压力+低点支撑)/2,COLORFF55BB,LINETHICK2;

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股软件

把通达信的“操盘主图”改成大智慧的主图

把通达信的“操盘主图”改成大智慧的主图

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu