M1:=12;M2:=50;M3:=120;N:=68;M:=1357;F:=48;
低:=REF(LLV(L,N),3);
低点:REFDATE(低,DATE),COLORWHITE;
Y1:REFDATE(低*1.0809,DATE),POINTDOT,LINETHICK1,COLORYELLOW;
Y2:REFDATE(低*1.1618,DATE),POINTDOT,LINETHICK1,COLORYELLOW;
Y3:REFDATE(低*1.2558,DATE),POINTDOT,LINETHICK1,COLORMAGENTA;
Y4:REFDATE(低*1.4589,DATE),POINTDOT,LINETHICK1,COLORYELLOW;
{Y5:REFDATE(低*1.5770,DATE),POINTDOT,LINETHICK1,COLORRED;
Y6:REFDATE(低*1.8322,DATE),POINTDOT,LINETHICK1,COLORYELLOW;
Y7:REFDATE(低*1.9804,DATE),POINTDOT,LINETHICK1,COLORGREEN;
Y8:REFDATE(低*2.3008,DATE),POINTDOT,LINETHICK1,COLORYELLOW;
Y10:REFDATE(低*2.8894,DATE),POINTDOT,LINETHICK1,COLORYELLOW;
Y11:REFDATE(低*3.1231,DATE),POINTDOT,LINETHICK1,COLORGREEN;
Y12:REFDATE(低*3.6285,DATE),POINTDOT,LINETHICK1,COLORYELLOW;}
Y:REFDATE(低*M/1000,DATE),LINETHICK4,COLORYELLOW;
压力:REFDATE(低*M/1000,DATE),LINETHICK2,COLORRED;
DRAWTEXT(ISLASTBAR,低点,’低’),COLORWHITE;
DRAWTEXT(ISLASTBAR,Y1,’8.09′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y2,’16.18′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y3,’25.58′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y4,’45.98′),COLORGREEN;
{DRAWTEXT(ISLASTBAR,Y5,’57.7′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y6,’83.22′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y7,’98.04′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y8,’130.08′),COLORGREEN;
DRAWTEXT(ISLASTBAR,Y9,’148.7′),COLORGREEN;}
DRAWKLINE(H,O,L,C);
{ _通达信股票指标公式}
{参数(M1 2 250 12; M2 2 250 50; M3 2 250 120)}
EXP1:expma(CLOSE,M1);
EXP2:EXPMA(CLOSE,M2);
EXP3:EXPMA(CLOSE,M3);
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;
VAR1:=(C>REF(C,1) AND C>REF(C,2));
VAR2:=(REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR3:=(REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR4:=(REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR5:=(REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR6:=(REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR7:=(REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR8:=(REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR9:=(REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2));
VARA:=(REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2));
VARB:=(REF(VARA,1) AND C>=REF(C,1) AND C<=REF(C,2));
VARC:=(REF(VARB,1) AND C<=REF(C,1) AND C>=REF(C,2));
VARD:=(C<REF(C,1) AND C<REF(C,2));
VARE:=(REF(VARD,1) AND C>=REF(C,1) AND C<=REF(C,2));
VARF:=(REF(VARE,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR10:=(REF(VARF,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR11:=(REF(VAR10,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR12:=(REF(VAR11,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR13:=(REF(VAR12,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR14:=(REF(VAR13,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR15:=(REF(VAR14,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR16:=(REF(VAR15,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR17:=(REF(VAR16,1) AND C<=REF(C,1) AND C>=REF(C,2));
VAR18:=(REF(VAR17,1) AND C>=REF(C,1) AND C<=REF(C,2));
VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
DRAWTEXT(VAR19,L,’←¤’),COLOR33FFCC;
DRAWTEXT(VAR1A,H+0.1,’←◆’),COLORFF99FF;
STICKLINE(ISLASTBAR,HHV(C,5),HHV(C,5),218,1)COLORBLUE;
STICKLINE(ISLASTBAR,HHV(C,5)*0.95,HHV(C,5)*0.95,218,1)COLORRED;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)