找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 406|回复: 7

分享自用指标!

[复制链接]
发表于 2023-3-31 10:46 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
C_: CONST(C),COLOR555555;{现价线}



{★===============================================★}
DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;
Z1:=STRCAT(HYBLOCK,'');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00FFFF;
{★===============================================★}
N:=4; N1:=2; N2:=20;
持仓:IF(CLOSE>=SAR(N,N1,N2),SAR(N,N1,N2),
DRAWNULL),COLORRED,LINETHICK1,NODRAW;
空仓:IF(CLOSE<=SAR(N,N1,N2),SAR(N,N1,N2),
DRAWNULL),COLORGRAY,LINETHICK1,NODRAW;
获利%:WINNER(CLOSE)*100,COLORYELLOW,NODRAW;
HSB:=REF(CLOSE,1);
止损价位HSB*1.0035*97+0.2)/99.65,COLORGREEN,NODRAW;
HSC:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);
HSD:=FILTER(HSC,12);
HSE:=LLV(LOW,13)=LOW AND LOW<REF(LOW,1);
HSF:=FILTER(HSE,12);
HSG:=BARSLAST(HSD);
箱顶:=REF(HIGH,HSG) ,COLORFF00FF,NODRAW;
STICKLINE(1,箱顶,箱顶,4,0),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,箱顶,'箱顶'),COLORYELLOW,NODRAW;
HSH:=BARSLAST(HSF);
箱底:=REF(LOW,HSH) ,COLOR009900,NODRAW;
STICKLINE(1,箱底,箱底,4,0),COLOR009900;
DRAWTEXT(CURRBARSCOUNT=1,箱底,'箱底'),COLORYELLOW,NODRAW;
中枢:=(箱顶+箱底)/2;
STICKLINE(1,中枢,中枢,4,0),COLORGRAY,NODRAW;
DRAWTEXT(CURRBARSCOUNT=1,中枢,'中枢'),COLORYELLOW,NODRAW;
HSI:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*HSI-LOW;
明日支撑:=2*HSI-HIGH;
今日阻力:REF(明日阻力,1)NODRAW,COLORGREEN;
今日支撑:REF(明日支撑,1)NODRAW,COLORRED;
DRAWTEXT(ISLASTBAR,今日阻力,'←↓'),COLORGREEN;
DRAWTEXT(ISLASTBAR,今日支撑,'←↑'),COLORRED;
{★===============================================★}
BLZ:=VOL>REF(V,1)*1.8;
STICKLINE(BLZ,C,O,0.5,0),COLORRED;
STICKLINE(BLZ,H,L,0.0,0),COLORYELLOW;
{===================================================}
DLZ:=VOL<REF(V,1)*0.51;
STICKLINE(DLZ,C,O,0.5,0),COLORMAGENTA;
STICKLINE(DLZ,H,L,0.0,0),COLORGREEN;
{★===============================================★}
{长阴}
长阴:=C<O*0.952;
二分之一MAX(C,O)+MIN(C,O))/2,NODRAW;
三分之二MAX(C,O)-MIN(C,O))/3*2+MIN(C,O),NODRAW;
三分之一MAX(C,O)-MIN(C,O))/3+MIN(C,O),NODRAW;
STICKLINE(长阴,C,二分之一,0.1,0),COLORBLUE;
STICKLINE(长阴,(C+O)/2,(C+O)/2,0.1,0),COLORBLUE;
{★===============================================★}
{长阴}
DH:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);
STICKLINE(DH<=-3,(C+O)/2,C,0.1,0),COLORBLUE;
STICKLINE(DH<=-3,(C+O)/2,C,0.1,0),COLORBLUE;
STICKLINE(DH<=-3,(C+O)/2,C,0.1,0),COLORBLUE;
STICKLINE(DH<=-3,(C+O)/2,C,0.1,0),COLORBLUE;
{★===============================================★}
{3121}
STICKLINE(C/REF(C,1)>=1.03 OR C/REF(C,1)<=0.96,(C+O)/2,(C+O)/2,5,1),COLORRED;{中分线};
STICKLINE(C/REF(C,1)>=1.03 OR C/REF(C,1)<=0.96,(MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),(MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),1,1),COLORBLACK;{上三一线};
STICKLINE(C/REF(C,1)>=1.03 OR C/REF(C,1)<=0.96,(MAX(O,C)-MIN(O,C))/3+MIN(O,C),(MAX(O,C)-MIN(O,C))/3+MIN(O,C),1,1),COLORBLACK;{下三一线};
{★===============================================★}
立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);
立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
立桩量三日不破:=BARSLAST(立桩量)=3 AND REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));
BACKSET300:=BACKSET(立桩量三日不破,4);
BACKSET301:=BACKSET(立桩量三日突破,4);
立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;
DRAWTEXT(立桩量成立,HIGH*1.0001,'←立柱'),COLORRED;
发表于 2023-3-31 12:23 | 显示全部楼层
谢谢分享好好学习
回复

使用道具 举报

发表于 2023-3-31 13:41 | 显示全部楼层
谢谢楼主的分享!
回复

使用道具 举报

发表于 2023-3-31 14:53 | 显示全部楼层
谢谢楼主的分享!
回复

使用道具 举报

发表于 2023-3-31 15:02 | 显示全部楼层
学习学习再学习!
回复

使用道具 举报

发表于 2023-3-31 15:12 | 显示全部楼层
好好学习天天向上
回复

使用道具 举报

发表于 2023-4-1 00:27 | 显示全部楼层
谢谢楼主的分享!
回复

使用道具 举报

发表于 2023-6-27 23:55 | 显示全部楼层
感谢您的分享,好好学习,天天上涨!2023/6/27
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-22 13:01 , Processed in 0.094896 second(s), Total 12, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表