通达信开口捉妖主图指标公式源码
开口捉妖主图通达信指标
源码
N:=5;
M:=3;
VAR0:=((EMA(C,5)) * 7 + (EMA(C,10)) * 3) / 10;
VAR1:=IF((YEAR) >= (2025),0,1);
VAR2:=EMA(EMA(L,21) + (6.8) * (STD(L,2)),55);
VAR3:=EMA(((C / (VAR2)) * ((1.88) * C + L + O)) / (2.75),3);
VAR4:=(((VAR3) - (VAR2)) / (VAR2)) / 2;
VAR5:=(EMA((VAR3) - ((VAR4) * (VAR3)),5)) * (VAR1);
黄金轨道:(IF((VAR0) > (VAR5),VAR0,VAR5)) * (VAR1),LINETHICK2,COLORYELLOW;
上轨:IF(((VAR5) < (VAR0)) AND ((VAR5) < (C * (0.15))),(EMA(C,300)) - (3 * (STD(C,300))),VAR5),LINETHICK2,COLORYELLOW;
IF((VAR5) > (VAR0),上轨,DRAWNULL),COLOR00FF00,LINETHICK2;
开口XG:BARSLASTCOUNT(黄金轨道!=上轨)=1,NODRAW;
DRAWICON(开口XG,MIN(上轨,黄金轨道)*0.96,11);
VAR6:=(REF(C,1)) * (0.95);
VAR7:=(REF(C,3)) * (0.875);
VAR8:=MIN(VAR6,VAR7);
DRAWTEXT_FIX(C>O,0.01,0.9,0,'公式网WWW.'),COLOR666666;
VAR9:=((SMA(MAX(C - (REF(C,1)),0),9,1)) / (SMA(ABS(C - (REF(C,1))),9,1))) * (100);
VAR10:=(((SMA(MAX(C - (REF(C,1)),0),24,1)) / (SMA(ABS(C - (REF(C,1))),24,1))) * (100)) * (VAR1);
IF((((VAR8) = (VAR6)) AND ((VAR0) > (VAR5))) AND ((VAR10) > (64.5)),上轨,DRAWNULL),COLORWHITE,LINETHICK2;
VAR11:=(EMA(DMA(((2.15) * C + L + H) / 4,(ABS((((3.48) * C + H + L) / 4) - (EMA(C,20)))) / (EMA(C,20))),200)) * (0.968 + 15 / (100));
VAR12:=MA(C,26) + 2 * (STD(C,26));
VAR13:=((SMA(MAX(C - (REF(C,1)),0),14,1)) / (SMA(ABS(C - (REF(C,1))),14,1))) * (100);
VAR14:=(EMA(C,60) + EMA(C,120) + EMA(C,240) + EMA(C,480)) / 4;
VAR15:=VAR14 + (1.91) * (STD(VAR14,3));
VAR16:=(EMA(VAR15,12)) * (1.23);
STICKLINE((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND ((MA(C,1)) > (VAR16)),C,O,3,0),COLORRED;
STICKLINE((((VAR10) >= 65) AND (C = O)) AND ((MA(C,1)) > (VAR16)),C,O,3,0),COLORRED;
STICKLINE((((VAR10) > 65) AND ((VAR13) >= 65)) AND ((MA(C,1)) > (VAR16)),H,L,0,0),COLORRED;
STICKLINE(((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND ((VAR13) > (VAR10))) AND (C < 上轨),O,L,0,0),COLORRED;
STICKLINE(((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND ((VAR13) > (VAR10))) AND (C < 上轨),C,H,0,0),COLORRED;
VAR17:=(MA(C,3) + MA(C,6) + MA(C,12) + MA(C,24)) / 4;
IF((VAR0) > (VAR5),VAR17 + 3 * (STD(VAR17,10)),DRAWNULL),COLORFF00FF,LINETHICK1;
VAR19:=(EMA((C - (REF(C,1))) / (REF(C,3)),8)) * (100);
DRAWTEXT(((((((((C >= ((REF(C,1)) * (1.095))) AND (C = O)) AND (L < C)) AND (C > (VAR5))) AND ((VAR19) <= 6)) AND ((VAR19) > 1)) > 0) AND ((VAR9) > (VAR10))) AND ((VAR9) > (64.5)),C,'T字战法'),COLORYELLOW;
VAR20:=((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND (C > (VAR16))) AND (C > ((MA(H,30)) * (1 + 15 / (100))));
IF(((((VAR0) > (VAR5)) AND ((VAR20) > 0)) AND ((VAR17 + 3 * (STD(VAR17,10))) > (REF(VAR17 + 3 * (STD(VAR17,10)),1)))) AND ((VAR17 + 3 * (STD(VAR17,10))) > (HHV(MA(C,5),60))),VAR17 + 3 * (STD(VAR17,10)),DRAWNULL),COLORFF00FF,LINETHICK3;
VAR22:=EMA(EMA(EMA(EMA(EMA((C - (REF(C,1))) / (REF(C,3)),8),2),2),2),3);
DRAWTEXT_FIX(1,0,0.9,0,'所属板块:')COLOR00FFFF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0.1,0.9,0,STRCAT(Z3,GNBLOCK)),COLOR00FFFF;
VAR23:=(REF((C - (REF(C,1))) / (REF(C,1)),1)) * (100);
STICKLINE(((((C >= ((REF(C,1)) * (1.095))) AND (C = O)) AND (L < C)) AND ((VAR19) > 1)) > 0,C,O,5,0),COLORWHITE;
STICKLINE(((((C >= ((REF(C,1)) * (1.095))) AND (C = O)) AND (L < C)) AND ((VAR19) > 1)) > 0,L,C,0,0),COLORWHITE;
STICKLINE(CROSS(VAR9,21),O,C,4,1),COLORWHITE;
VAR24:=COUNT((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 8,120);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0,0,VAR24),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'【股票活跃度】 '),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.16,0,0,'级: '),COLORYELLOW;
VAR25:=C * V;
VAR26:=EMA(((EMA(VAR25,3)) / (EMA(V,3)) + (EMA(VAR25,6)) / (EMA(V,6)) + (EMA(VAR25,12)) / (EMA(V,12)) + (EMA(VAR25,24)) / (EMA(V,24))) / 4,13);
VAR27:=(1.06) * (VAR26);
DRAWTEXT(((((C - (REF(C,1))) / (REF(C,1))) * (100)) > (5.5)) AND (CROSS((L / ((H + REF(C,1) + O) / 3)) * C,EMA((EMA(C,9)) * (1.14),5))),EMA(L - (0.15),1),'▲'),COLORF00FF0;
STICKLINE((((((C - (REF(C,1))) / (REF(C,1))) * (100)) > (8.5)) AND (CROSS(MA(C,1),(EMA(H,10)) * (1 + 5 / (100))))) AND (CROSS(MA(C,1),VAR27)),(L + H + O) / 3,O,3,0),COLORRED;
STICKLINE((((((C - (REF(C,1))) / (REF(C,1))) * (100)) > (8.5)) AND (CROSS(MA(C,1),(EMA(H,10)) * (1 + 5 / (100))))) AND (CROSS(MA(C,1),VAR27)),(L + H + O) / 3,C,3,0),COLORFF0099;
VAR28:=((C - (LLV(L,9))) / ((HHV(H,9)) - (LLV(L,9)))) * (100);
VAR29:=SMA(VAR28,3,1);
VAR30:=SMA(VAR29,3,1);
VAR31:=(3 * (VAR29)) - (2 * (VAR30));
VAR32:=((H - L) / (REF(C,1))) * (100);
VAR33:=((C - O) / (REF(C,1))) * (100);
VAR34:=((O - L) / (REF(C,1))) * (100);
VAR35:=((H - C) / (REF(C,1))) * (100);
VAR36:=(VAR32) / (1.5);
STICKLINE(((((((VAR32) > 7) AND ((VAR36) > (4.5))) AND ((VAR35) < (5.5))) AND ((VAR35) < (VAR34))) AND (BETWEEN(VAR33,-2.5,2.5))) AND ((VAR31) < (100)),O,H,0,0),COLORRED;
STICKLINE(((((((VAR32) > 7) AND ((VAR36) > (4.5))) AND ((VAR35) < (5.5))) AND ((VAR35) < (VAR34))) AND (BETWEEN(VAR33,-2.5,2.5))) AND ((VAR31) < (100)),O,C,3.5,0),COLORRED;
STICKLINE(((((((VAR32) > 7) AND ((VAR36) > (4.5))) AND ((VAR35) < (5.5))) AND ((VAR35) < (VAR34))) AND (BETWEEN(VAR33,-2.5,2.5))) AND ((VAR31) < (100)),C,L,0,0),COLORF00FF0;
DRAWTEXT(((((VAR32) > 2) AND ((VAR34) > (VAR33))) AND (H = C)) AND (((((((C >= ((REF(C,1)) * (1.095))) AND (L < C)) AND ((VAR19) <= 6)) AND ((VAR19) > 1)) AND ((VAR9) > (VAR10))) AND ((VAR9) > 64)) > 0),L,'锤法→'),COLORYELLOW;
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),C,C,5,0),COLORYELLOW;
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),O,O,5,0),COLORYELLOW;
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),L,O,0,0),COLORYELLOW;
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),C,O,3,0),COLORYELLOW;
压线:HHV(MA(C,N),60),COLORGREEN;
大压线:HHV(MA(H,M),120),COLORGREEN;
IF((大压线) > (REF(大压线,1)),大压线,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(C > 压线,压线,DRAWNULL),COLOR00FFFF,LINETHICK1;
DRAWTEXT(ISLASTBAR,压线,' ←小压力'),COLORGREEN;
DRAWTEXT(ISLASTBAR,大压线,' ←大压力'),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0.1,0,VAR19),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.1,0,'【强度关注2级以上】 '),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.2,0.1,0,'级: '),COLORYELLOW;
天界:(EMA(H,11)) * (1 + (5.2) / (100)),NODRAW;
VAR37:=((L + H) / 2);
VAR38:=(EMA((O + C + L + H) / 4,1));
VAR39:=(EMA((C + L + H) / 3,1));
STICKLINE(((C > ((MA(H,30)) * (1 + 18 / (100)))) AND (C > (VAR5))) AND ((VAR10) > (64.5)),VAR39,VAR37,3,0),COLORWHITE;
波段:EMA(C,5),COLORWHITE,LINETHICK1;
红升1:IF(波段>REF(波段,1),波段,DRAWNULL),COLORFF00FF,LINETHICK2;
绿降1:IF(波段< REF(波段,1),波段,DRAWNULL),COLOR00FF01,LINETHICK1;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
开口捉妖主图通达信指标
源码
N赋值:5
M赋值:3
VAR0赋值:((C的5日指数移动平均) * 7 + (C的10日指数移动平均) * 3) / 10
VAR1赋值:IF((YEAR) >= (2025),0,1)
VAR2赋值:L的21日指数移动平均 + (6.8) * (L的2估算标准差),55)
VAR3赋值:EMA(((C / (VAR2)) * ((1.88) * C + L + O)) / (2.75),3)
VAR4赋值:(((VAR3) - (VAR2)) / (VAR2)) / 2
VAR5赋值:(EMA((VAR3) - ((VAR4) * (VAR3)),5)) * (VAR1)
输出黄金轨道:(IF((VAR0) > (VAR5),VAR0,VAR5)) * (VAR1), 线宽为2,画黄色
输出上轨:IF(((VAR5) < (VAR0)) AND ((VAR5) < (C * (0.15))),(C的300日指数移动平均) - (3 * (C的300估算标准差)),VAR5), 线宽为2,画黄色
IF((VAR5) > (VAR0),上轨,DRAWNULL),COLOR00FF00, 线宽为2
输出开口XG:BARSLASTCOUNT(黄金轨道!=上轨)=1,NODRAW
DRAWICON(开口XG,上轨和黄金轨道的较小值*0.96,11)
VAR6赋值:(1日前的C) * (0.95)
VAR7赋值:(3日前的C) * (0.875)
VAR8赋值:VAR6和VAR7的较小值
当满足条件C>O时,在横轴0.01纵轴0.9位置书写文字
VAR9赋值:((SMA(MAX(C - (1日前的C),0),9,1)) / (SMA(C - (1日前的C的绝对值),9,1))) * (100)
VAR10:=(((SMA(MAX(C - (1日前的C),0),24,1)) / (SMA(C - (1日前的C的绝对值),24,1))) * (100)) * (VAR1)
IF((((VAR8) = (VAR6)) AND ((VAR0) > (VAR5))) AND ((VAR10) > (64.5)),上轨,DRAWNULL),画白色, 线宽为2
VAR11:=(EMA(DMA(((2.15) * C + L + H) / 4,((((3.48的绝对值 * C + H + L) / 4) - (EMA(C,20)))) / (EMA(C,20))),200)) * (0.968 + 15 / (100))
VAR12:=C的26日简单移动平均 + 2 * (C的26估算标准差)
VAR13:=((SMA(MAX(C - (1日前的C),0),14,1)) / (SMA(C - (1日前的C的绝对值),14,1))) * (100)
VAR14:=(C的60日指数移动平均 + C的120日指数移动平均 + C的240日指数移动平均 + C的480日指数移动平均) / 4
VAR15:=VAR14 + (1.91) * (VAR14的3估算标准差)
VAR16:=(VAR15的12日指数移动平均) * (1.23)
STICKLINE((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND ((C的1日简单移动平均) > (VAR16)),C,O,3,0),画红色
STICKLINE((((VAR10) >= 65) AND (C = O)) AND ((C的1日简单移动平均) > (VAR16)),C,O,3,0),画红色
STICKLINE((((VAR10) > 65) AND ((VAR13) >= 65)) AND ((C的1日简单移动平均) > (VAR16)),H,L,0,0),画红色
STICKLINE(((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND ((VAR13) > (VAR10))) AND (C < 上轨),O,L,0,0),画红色
STICKLINE(((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND ((VAR13) > (VAR10))) AND (C < 上轨),C,H,0,0),画红色
VAR17:=(C的3日简单移动平均 + C的6日简单移动平均 + C的12日简单移动平均 + C的24日简单移动平均) / 4
IF((VAR0) > (VAR5),VAR17 + 3 * (VAR17的10估算标准差),DRAWNULL),COLORFF00FF,LINETHICK1
VAR19:=(EMA((C - (1日前的C)) / (3日前的C),8)) * (100)
DRAWTEXT(((((((((C >= ((1日前的C) * (1.095))) AND (C = O)) AND (L < C)) AND (C > (VAR5))) AND ((VAR19) <= 6)) AND ((VAR19) > 1)) > 0) AND ((VAR9) > (VAR10))) AND ((VAR9) > (64.5)),C,'T字战法'),画黄色
VAR20:=((((VAR10) >= (64.5)) AND ((VAR13) >= 65)) AND (C > (VAR16))) AND (C > ((H的30日简单移动平均) * (1 + 15 / (100))))
IF(((((VAR0) > (VAR5)) AND ((VAR20) > 0)) AND ((VAR17 + 3 * (VAR17的10估算标准差)) > (REF(VAR17 + 3 * (VAR17的10估算标准差),1)))) AND ((VAR17 + 3 * (VAR17的10估算标准差)) > (HHV(C的5日简单移动平均,60))),VAR17 + 3 * (VAR17的10估算标准差),DRAWNULL),COLORFF00FF, 线宽为3
VAR22:=EMA(EMA(EMA(EMA(EMA((C - (1日前的C)) / (3日前的C),8),2),2),2),3)
当满足条件1时,在横轴0纵轴0.9位置书写文字
Z1赋值:STRCAT(HYBLOCK,' ')
Z2赋值:STRCAT(Z1,DYBLOCK)
Z3赋值:STRCAT(Z2,' ')
DRAWTEXT_FIX(ISLASTBAR,0.1,0.9,0,STRCAT(Z3,GNBLOCK)),COLOR00FFFF
VAR23:=(REF((C - (REF(C,1))) / (REF(C,1)),1)) * (100)
STICKLINE(((((C >= ((1日前的C) * (1.095))) AND (C = O)) AND (L < C)) AND ((VAR19) > 1)) > 0,C,O,5,0),画白色
STICKLINE(((((C >= ((1日前的C) * (1.095))) AND (C = O)) AND (L < C)) AND ((VAR19) > 1)) > 0,L,C,0,0),画白色
STICKLINE(VAR9上穿21,O,C,4,1),画白色
VAR24:=COUNT((((C - (1日前的C)) / (1日前的C)) * (100)) > 8,120)
当满足条件 到最后交易的周期=1时,在横轴0.145纵轴0位置书写数字
当满足条件 到最后交易的周期=1时,在横轴0纵轴0位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.16纵轴0位置书写文字
VAR25:=C * V
VAR26:=EMA(((EMA(VAR25,3)) / (EMA(V,3)) + (EMA(VAR25,6)) / (EMA(V,6)) + (EMA(VAR25,12)) / (EMA(V,12)) + (EMA(VAR25,24)) / (EMA(V,24))) / 4,13)
VAR27:=(1.06) * (VAR26)
DRAWTEXT(((((C - (1日前的C)) / (1日前的C)) * (100)) > (5.5)) AND (CROSS((L / ((H + 1日前的C + O) / 3)) * C,EMA((EMA(C,9)) * (1.14),5))),EMA(L - (0.15),1),'▲'),COLORF00FF0
STICKLINE((((((C - (1日前的C)) / (1日前的C)) * (100)) > (8.5)) AND (CROSS(C的1日简单移动平均,(H的10日指数移动平均) * (1 + 5 / (100))))) AND (CROSS(C的1日简单移动平均,VAR27)),(L + H + O) / 3,O,3,0),画红色
STICKLINE((((((C - (1日前的C)) / (1日前的C)) * (100)) > (8.5)) AND (CROSS(C的1日简单移动平均,(H的10日指数移动平均) * (1 + 5 / (100))))) AND (CROSS(C的1日简单移动平均,VAR27)),(L + H + O) / 3,C,3,0),COLORFF0099
VAR28:=((C - (9日内L最低值)) / ((9日内H最高值) - (9日内L最低值))) * (100)
VAR28的3日[1日权重]移动平均
VAR29的3日[1日权重]移动平均
VAR31:=(3 * (VAR29)) - (2 * (VAR30))
VAR32:=((H - L) / (1日前的C)) * (100)
VAR33:=((C - O) / (1日前的C)) * (100)
VAR34:=((O - L) / (1日前的C)) * (100)
VAR35:=((H - C) / (1日前的C)) * (100)
VAR36:=(VAR32) / (1.5)
STICKLINE(((((((VAR32) > 7) AND ((VAR36) > (4.5))) AND ((VAR35) < (5.5))) AND ((VAR35) < (VAR34))) AND (BETWEEN(VAR33,-2.5,2.5))) AND ((VAR31) < (100)),O,H,0,0),画红色
STICKLINE(((((((VAR32) > 7) AND ((VAR36) > (4.5))) AND ((VAR35) < (5.5))) AND ((VAR35) < (VAR34))) AND (BETWEEN(VAR33,-2.5,2.5))) AND ((VAR31) < (100)),O,C,3.5,0),画红色
STICKLINE(((((((VAR32) > 7) AND ((VAR36) > (4.5))) AND ((VAR35) < (5.5))) AND ((VAR35) < (VAR34))) AND (BETWEEN(VAR33,-2.5,2.5))) AND ((VAR31) < (100)),C,L,0,0),COLORF00FF0
DRAWTEXT(((((VAR32) > 2) AND ((VAR34) > (VAR33))) AND (H = C)) AND (((((((C >= ((1日前的C) * (1.095))) AND (L < C)) AND ((VAR19) <= 6)) AND ((VAR19) > 1)) AND ((VAR9) > (VAR10))) AND ((VAR9) > 64)) > 0),L,'锤法→'),画黄色
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),C,C,5,0),画黄色
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),O,O,5,0),画黄色
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),L,O,0,0),画黄色
STICKLINE((((((REF(((C - (REF(C,1))) / (REF(C,1))) * (100),1)) < -4) AND ((REF(VAR32,1)) > 5)) AND (O > (REF(C,1)))) AND ((((C - (REF(C,1))) / (REF(C,1))) * (100)) > 3)) AND (O < (REF(O,1))),C,O,3,0),画黄色
输出压线:HHV(C的N日简单移动平均,60),画绿色
大输出压线:HHV(H的M日简单移动平均,120),画绿色
IF((大压线) > (1日前的大压线),大压线,DRAWNULL),画黄色,LINETHICK1
如果C > 压线返回压线否则返回DRAWNULL
当满足条件ISLASTBAR时,在压线和' ←小压力'位置书写文字
当满足条件ISLASTBAR时,在大压线和' ←大压力'位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.145纵轴0.1位置书写数字
当满足条件 到最后交易的周期=1时,在横轴0纵轴0.1位置书写文字
当满足条件 到最后交易的周期=1时,在横轴0.2纵轴0.1位置书写文字
输出天界:(H的11日指数移动平均) * (1 + (5.2) / (100)),NODRAW
VAR37:=((L + H) / 2)
VAR38:=(EMA((O + C + L + H) / 4,1))
VAR39:=(EMA((C + L + H) / 3,1))
STICKLINE(((C > ((H的30日简单移动平均) * (1 + 18 / (100)))) AND (C > (VAR5))) AND ((VAR10) > (64.5)),VAR39,VAR37,3,0),画白色
输出波段:C的5日指数移动平均,画白色,LINETHICK1
输出红升1:IF(波段>1日前的波段,波段,DRAWNULL),COLORFF00FF, 线宽为2
输出绿降1:IF(波段< 1日前的波段,波段,DRAWNULL),COLOR00FF01,LINETHICK1