小韭菜 发表于 2024-1-22 11:16:36

通达信【绝对底部】副图指标 抓住机会赚上一波 源码分享


【绝对底部】副图指标 红色区域为绝对底部信号,抓住机会赚上一波







{---------------------源码开始---------------------}
Y11:=LLV(L,8);
Y21:=SMA(ABS(L-REF(L,1)),34,1);
Y31:=SMA(MAX(L-REF(L,1),0),34,2);
NOTEXTA:-(EMA(IF(L<=Y11,Y21/Y31,-3),9)),COLORYELLOW;
DRAWBAND(NOTEXTA,RGB(100,30,30),0.5,RGB(250,10,10));
Y1:=LLV(L,34);
Y2:=SMA(ABS(L-REF(L,1)),34,1);
Y3:=SMA(MAX(L-REF(L,1),0),34,2);
NOTEXT彩虹:-(EMA(IF(L<=Y1,Y2/Y3,-3),9)),COLORMAGENTA;
DRAWBAND(NOTEXT彩虹,RGB(100,90,200),NOTEXTA,RGB(20,250,20));
NOTEXT:0.5,COLORWHITE,POINTDOT;
VART1:=EMA(EMA(CLOSE,13),13);
控盘:=(VART1-REF(VART1,1))/REF(VART1,1)*1000;
JJ:=DYNAINFO(11);
财:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
神:=EMA(财,3);
BTJ1:=(C-JJ)/JJ<-0.005;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
STICKLINE(BTJ811,2,0.5,0,0),COLORWHITE;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势2:=3*Q3-2*Q4,COLORWHITE,LINETHICK1;
短线2:=EMA(Q3, 3),COLORRED,LINETHICK1;
出:=CROSS(短线2, 长趋势2) AND REF(长趋势2,1)>80,NODRAW,COLORLIBLUE;
DRAWICON(出,NOTEXT彩虹,12);
A:=MAX(MA(C,5),MA(C,10));
F30A:=MAX(MA(C,10),MA(C,20)),NODRAW;
F60A:=MAX(MA(C,20),MA(C,28));
NOTEXT3:IF(C>A,0.7,DRAWNULL),LINETHICK1,COLORYELLOW;
NOTEXT2:IF(C>F30A,0.6,DRAWNULL),LINETHICK1,COLORMAGENTA;
NOTEXT1:IF(C>F60A,0.5,DRAWNULL),LINETHICK1,COLORYELLOW;
{----------------------源码结束---------------------}
页: [1]
查看完整版本: 通达信【绝对底部】副图指标 抓住机会赚上一波 源码分享