股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」傻买傻卖公式——落带为安A(无未来函数)——让你如虎添翼!


    [-----复制链接-----]

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-3-6 08:54:46
【资料名称】:傻买傻卖公式——落带为安A(无未来函数)——让你如虎添翼!介绍
【资料描述】:

傻买傻卖公式——落带为安A(无未来函数)——让你如虎添翼!

落带为安A----主图公式,提示买卖操作过程。必须严格遵守操作纪律,会买的是儿子,会卖的是老子。信号灯由蓝色转为粉红色买入,粉红色转为蓝色,卖出。配合买卖区间,K线B、S点变化更加准确有效,橙黄色直尺是安全带,B点、S点是交易信号提示,不懂添加的可以把公式BS点提示打开。。公式源码:
{买卖区}
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),5,0),COLOR000055;
STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),5,0),COLOR663300;
DRAWNUMBER(ISLASTBAR, C,C),COLORMAGENTA;
{BS点提示}
{VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWBMP(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.01)),'BUY1');
DRAWBMP(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),'SELL1');}
{落带为安-顶、压、支、底线}
DRAWRECTREL(0,5,1000,1,RGB(200,300,500));
DRAWRECTREL(0,202,1000,195,RGB(0,50,50));
DRAWRECTREL(0,498,1000,495,RGB(100,500,300));
DRAWRECTREL(0,808,1000,800,RGB(00,50,50));
DRAWRECTREL(0,1000,1000,995,RGB(200,300,500));

趋势射线21: DRAWLINE(H=HHV(H,21),H,L=LLV(L,21),L,0),COLORC100FF;
射线21上涨: DRAWLINE(L=LLV(L,21),L,H=HHV(H,21),L,0),COLORC100FF;
趋势射线35: DRAWLINE(H=HHV(H,35),H,L=LLV(L,35),L,0),COLORWHITE;
射线35上涨: DRAWLINE(L=LLV(L,35),L,H=HHV(H,35),L,0),COLORWHITE;
趋势射线49: DRAWLINE(H=HHV(H,49),H,L=LLV(L,49),L,0),COLORYELLOW;
射线49上涨: DRAWLINE(L=LLV(L,49),L,H=HHV(H,49),L,0),COLORYELLOW;

{安全建仓区}
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TJ:=D<10;
TJ1:=D>90;
上边线:IF(BARSLAST(TJ),REF(HIGH,BARSLAST(TJ)),DRAWNULL),COLORWHITE;
下边线:IF(BARSLAST(TJ),REF(LOW,BARSLAST(TJ)),DRAWNULL),COLORMAGENTA;
安全带:STICKLINE(D,上边线*0.996,下边线*1.005,8,0),COLORBROWN;
STICKLINE(C>O,O,C,3,1),COLORRED;
STICKLINE(C>O,H,C,0,0),COLORRED;
STICKLINE(C>O,L,O,0,0),COLORRED;
STICKLINE(C<O,O,C,3,0),COLORCYAN;
STICKLINE(C<O,H,L,0,1),COLORCYAN;
STICKLINE(TJ,O,C,2,0),COLORFF00FF;
STICKLINE(TJ1,O,C,2,0),COLORGREEN;
{地域板块、所属行业、所属概念,主图显示}
DRAWTEXT_FIX(ISLASTBAR ,0.10,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.18,0.01,1,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.36,0.01,1,GNBLOCK),COLORWHITE;
{买卖信号灯}
降:=HHV(EMA(C,3),5),COLORCYAN;
升:=LLV(EMA(C,3),5),COLORRED;
走势:=EMA(C,3),COLORYELLOW;
线上多:IF(走势<降,降,DRAWNULL),COLORCYAN,LINETHICK2;{CIRCLEDOT}
线下空:IF(走势>升,升,DRAWNULL),COLORMAGENTA,LINETHICK3;
SJTJ:=DATE<1590301;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
STICKLINE(X2>=X3 AND SJTJ,LOW,HIGH,0,1),COLORRED;
STICKLINE(X2>=X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(X2<X3 AND SJTJ,LOW,HIGH,0,1),COLORCYAN;
STICKLINE(X2<X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORCYAN;
STICKLINE(CROSS(X3,X2) AND SJTJ,OPEN,CLOSE,3.2,0),COLORCYAN;
STICKLINE(CROSS(X2,X3) AND SJTJ,OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (X2<X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORCYAN;
STICKLINE((CLOSE>OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE<OPEN) AND (X2<X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORCYAN;
STICKLINE((CLOSE<OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORRED;
{涨停板立体K线}
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
STICKLINE(A AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
STICKLINE(B AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
STICKLINE(B,H,L,0,0),COLORGREEN,LINETHICK1;
STICKLINE(B,O,C,3.5,0),COLOR008800;
STICKLINE(B,O,C,2,0),COLOR00AA00;
STICKLINE(B,O,C,1,0),COLOR00CC00;
STICKLINE(B,O,C,0.2,0),COLOR00FF00;
STICKLINE(A,H,L,0,0),COLORYELLOW,LINETHICK1;
STICKLINE(A,O,C,3.5,0),COLOR008888;
STICKLINE(A,O,C,2,0),COLOR00AAAA;
STICKLINE(A,O,C,1,0),COLOR00CCCC;
STICKLINE(A,O,C,0.2,0),COLOR00FFFF;


股道换手统计----------副图公式:
{P换手=15 N:=REF("MACD.DIF#WEEK",1)<0 AND "MACD.DIF#WEEK">=0;{信号点}}
DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'012',0);
重心线:0.01*AMOUNT/VOL,LINETHICK2,COLORRED;
MA5:MA(C,5),LINETHICK1;
中期方向线:EXPMA(C,12)-EXPMA(C,50),NODRAW;
F:=MOD(SUM(100*VOL/CAPITAL,0),100);
M:=(SUM(100*VOL/CAPITAL,0)-F)/100,LINETHICK0;
TJ:=F<REF(F,1),LINETHICK0;
FD:=REF(BARSLAST(TJ),1)+1,LINETHICK0;
DRAWTEXT(TJ,重心线*0.96,'▲换!'),COLORYELLOW,LINETHICK3;
STICKLINE(TJ,重心线,重心线*0.98,0.08,0),COLOR0000FF,LINETHICK1;

N:=REF(中期方向线,1)<0 AND 中期方向线>=0;{信号点}
AC:=IF(中期方向线<0,0,BARSLAST(N));
HSL:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;

DRAWTEXT(N,重心线*0.93,'▲中红'),COLORRED;
STICKLINE(N,重心线,重心线*0.98,0.02,0),COLOR00FFFF,LINETHICK1;

TZHSL:=SUM(HSL,AC);
TZHSL1:=SUM(HSL,1);
TZHSL2:=SUM(HSL,2);
TZHSL3:=SUM(HSL,3);
TZHSL5:=SUM(HSL,5);
TZHSL10:=SUM(HSL,10);
TZHSL20:=SUM(HSL,20);
TZHSLN:=SUM(HSL,P换手);
TZHSLJL:=SUM(HSL,FD);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.30,0,'■中红至今换手率:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.30,0,' %---中期天数为0无效'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.30,0,TZHSL),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.40,0,'■起点至今天数:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.40,0,' 天---中期方向变红'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.40,0,AC),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0,'■ 重 心 价:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.10,0,' 元--- -金和量的比'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.10,0,重心线),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.20,0,'■ 5 日 价 格:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.20,0, ' 元'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.20,0,MA5),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.05,0,'■今日换手率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.05,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.05,0,TZHSL1),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.15,0,'■2日换手率:'),COLORBROWN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.15,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.15,0,TZHSL2),COLORBROWN;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.25,0,'■3日换手率:'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.25,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.25,0,TZHSL3),COLORLIGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.35,0,'■5日换手率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.35,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.35,0,TZHSL5),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.45,0,'■10日换手率:'),COLORBROWN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.45,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.45,0,TZHSL10),COLORBROWN;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.55,0,'■20日换手率:'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.55,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.55,0,TZHSL20),COLORLIGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.75,0,'■上次到目前换手率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.75,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.75,0,TZHSLJL),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.85,0,'■一次换手率天数:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.96,0.85,0,'天'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.85,0,FD),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.40,0.00,0,'■N换手率 :'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.50,0.00,0,'%'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.46,0.00,0,TZHSLN),COLORRED;


 















筹码研判顶底----副图公式源码:

DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'1',0);
锁定因子:MA(LFS,1),COLORWHITE;
换手:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK1;
收盘价获利比例:WINNER(C)*100,LINETHICK0;

VARF:=TROUGHBARS(3,15,1)<4;
DRAWTEXT( FILTER(VARF=1,5),主流资金*0.90,'★底'),COLORYELLOW;
明天见底:FILTER(VARF=1,5) ,COLORFF00FF,LINETHICK0;

主力筹码估算:=EMA(WINNER(CLOSE)*70,3),NODRAW;
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
市场总量:MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;
散户警戒:=EMA(散户套牢比率,89),NODRAW;
主力警戒:=EMA(主力控盘比率,89),NODRAW;
{散户坑}
STICKLINE(REF(散户套牢比率,1)>90 AND 散户套牢比率<90,30,0,1,0),COLOR0000FF;
{筹码总量}
筹码总量:IF(市场总量>REF(市场总量,1),市场总量,DRAWNULL),COLOR0066FF,LINETHICK2;

DRAWRECTREL(0,60,240,950,RGB(80,00,100));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0,'■ 主力筹码估算:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.10,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.10,0,主力筹码估算),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.20,0,'■ 主力控盘比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.20,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.20,0,主力控盘比率),COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.30,0,'■ 散户套牢比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.30,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.30,0,散户套牢比率),COLORRED;

DRAWTEXT_FIX(收盘价获利比例>=0,0.0,1-0.61,0,STRCAT(' ■ 收盘价获利比 : ',CON2STR(收盘价获利比例,2))),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.45,0,'■ 锁定因子: 锁定筹码和解锁筹码的相对速度'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.50,0,' 不直接监测锁定筹码多少,但可监测筹码。'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.55,0,'■主流资金:可监控筹码资金的背离,做决策'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.86,0,'■《股金道中》股道股灵子编辑'),COLORLIMAGENTA;
{换手}
F:=MOD(SUM(100*VOL/CAPITAL,0),100);
M:=(SUM(100*VOL/CAPITAL,0)-F)/100,LINETHICK0;
TJ:=F<REF(F,1),LINETHICK0;
FD:=REF(BARSLAST(TJ),1)+1,LINETHICK0;
DRAWTEXT(TJ,主流资金*0.96,'▲换!'),COLORYELLOW,LINETHICK3;
STICKLINE(TJ,主流资金,主流资金*0.98,0.08,0),COLOR0000FF,LINETHICK1;
HSL:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
TZHSLJL:=SUM(HSL,FD);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.68,0,'■上次到目前换手率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.68,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.11,0.68,0,TZHSLJL),COLORYELLOW;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.75,0,'■一次换手率 天数:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.75,0,' 天'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.11,0.75,0,FD),COLORYELLOW;

20,POINTDOT,COLORF00FF0;
50,POINTDOT,COLORGREEN;
80,POINTDOT,COLORWHITE;


 




 



gd27553


【下载地址隐藏】:                    点:回复可见地址
游客,如果您要查看本帖隐藏内容请回复






上一篇:「指标」线上操作,下线休息!
下一篇:「指标」观察主力动向
回复

举报

QQ|

GMT+8, 2024-11-25 03:01

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