通达信V字拉升主图 V字反弹 调整后起涨 源码附图

{V字拉升副图源码如下}

Z1:=STRCAT(HYBLOCK,' '),COLOR222222;
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
HAN:=DATE< 1141230;
当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,0);
DRAWKLINE(H,O,L,C);
九十成本集中:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
参考线:COST(九十成本集中),LINETHICK2,COLORMAGENTA;
入1:IF(参考线>REF(参考线,1),参考线,DRAWNULL),COLORRED,LINETHICK2;
出1:IF(参考线< REF(参考线,1),参考线,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),3.2,0),COLOR0077FF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),2.5,0),COLOR0099FF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),1.9,0),COLOR00BBFF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),1.2,0),COLOR00DDFF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),0.3,0),COLOR00FFFF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),3.2,0),COLOR0077FF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),2.5,0),COLOR0099FF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),1.9,0),COLOR00BBFF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),1.2,0),COLOR00DDFF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),0.3,0),COLOR00FFFF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,0.3,0),COLOR00FFFF;
STICKLINE(参考线>HIGH,HIGH,LOW,0,0),COLORGREEN;
DF2:=(C-REF(C,1))/REF(C,1)*100>5;
DF3:=(C-O)/O*100>4;
当天涨幅:(C-O)/O*100,NODRAW;
V反弹:=L< 参考线 AND DF2;
V反弹2:=CROSS(C,参考线) AND DF2;
V反弹3:=L< 参考线 AND DF3;
DRAWTEXT(V反弹,L*0.98,'↖V反点'),COLORCYAN;
DRAWTEXT(V反弹2,L*0.98,'↖V反点'),COLORCYAN;
DRAWTEXT(V反弹3,L*0.98,'↖V反点'),COLORCYAN;
STICKLINE(V反弹=1,C,O,3.2,0),COLORRED;
STICKLINE(V反弹2=1,C,O,3.2,0),COLORRED;
STICKLINE(V反弹3=1,C,O,3.2,0),COLORRED;

{V字拉升主图源码如下}


Z1:=STRCAT(HYBLOCK,' '),COLOR222222;
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
HAN:=DATE< 1141230;
当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,0);
DRAWKLINE(H,O,L,C);
九十成本集中:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
参考线:COST(九十成本集中),LINETHICK2,COLORMAGENTA;
入1:IF(参考线>REF(参考线,1),参考线,DRAWNULL),COLORRED,LINETHICK2;
出1:IF(参考线< REF(参考线,1),参考线,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),3.2,0),COLOR0077FF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),2.5,0),COLOR0099FF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),1.9,0),COLOR00BBFF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),1.2,0),COLOR00DDFF;
STICKLINE(参考线>LOW AND 参考线< HIGH,参考线,MIN(MIN(OPEN,CLOSE),参考线),0.3,0),COLOR00FFFF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),3.2,0),COLOR0077FF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),2.5,0),COLOR0099FF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),1.9,0),COLOR00BBFF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),1.2,0),COLOR00DDFF;
STICKLINE(参考线>MIN(C,O) AND 参考线< MAX(C,O),参考线,MIN(OPEN,CLOSE),0.3,0),COLOR00FFFF;
WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
STICKLINE(参考线>HIGH,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(参考线>HIGH,CLOSE,OPEN,0.3,0),COLOR00FFFF;
STICKLINE(参考线>HIGH,HIGH,LOW,0,0),COLORGREEN;
DF2:=(C-REF(C,1))/REF(C,1)*100>5;
DF3:=(C-O)/O*100>4;
当天涨幅:(C-O)/O*100,NODRAW;
V反弹:=L< 参考线 AND DF2;
V反弹2:=CROSS(C,参考线) AND DF2;
V反弹3:=L< 参考线 AND DF3;
DRAWTEXT(V反弹,L*0.98,'↖V反点'),COLORCYAN;
DRAWTEXT(V反弹2,L*0.98,'↖V反点'),COLORCYAN;
DRAWTEXT(V反弹3,L*0.98,'↖V反点'),COLORCYAN;
STICKLINE(V反弹=1,C,O,3.2,0),COLORRED;
STICKLINE(V反弹2=1,C,O,3.2,0),COLORRED;
STICKLINE(V反弹3=1,C,O,3.2,0),COLORRED;




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图