{YXT}
{技术指标} {其他类型} {副图}
{公式描述: 一根线吃遍天(一线通吃) }
DRAWGBK((CLOSE >= 0),RGB(38,18,0),RGB(0,38,18),0,2,0);
VAR1:=(19000000 + DATE);
VAR2:=209412.3125;
VAR3:=(100 * VAR2);
VAR4:=(PERIOD = 5);
VAR5:=((((OPEN + HIGH) + LOW) + (CLOSE * 2)) / 5);
VAR6:=EMA(VAR5,21);
VAR7:=IF(((VAR1 <= VAR3) AND VAR4),STD(VAR5,21),DRAWNULL);
VAR8:=(((((VAR5 - VAR6) / VAR7) * 100) + 200) / 4);
VAR9:=((EMA(VAR8,5) - 25) * 1.56);
VAR10:=(EMA(VAR9,2) * 1.22);
VAR11:=EMA(VAR10,2);
VAR12:=IF(((VAR1 <= VAR3) AND VAR4),(1.618 * ((3 * VAR10) - (2 * VAR11))),DRAWNULL);
VAR13:=HHV(VAR12,8);
VAR14:=LLV(VAR12,8);
VAR15:=EXPMA(IF(((VAR1 <= VAR3) AND VAR4),SMA(VAR13,3,1),DRAWNULL),2);
VAR16:=EXPMA(IF(((VAR1 <= VAR3) AND VAR4),SMA(VAR14,3,1),DRAWNULL),2);
VAR17:=IF(((VAR1 <= VAR3) AND VAR4),((SMA(VAR13,3,1) + SMA(VAR14,3,1)) / 2),DRAWNULL);
VAR18:=IF(BACKSET((VAR17 >= REF(VAR17,1)),2),VAR15,DRAWNULL);
VAR19:=IF(BACKSET((VAR17 <= REF(VAR17,1)),2),VAR15,DRAWNULL);
DRAWBAND(VAR15,RGB(68,68,68),VAR16,RGB(0,0,0));
DRAWBAND(VAR18,RGB(68,38,18),VAR16,RGB(0,0,0));
DRAWBAND(VAR19,RGB(18,68,38),VAR16,RGB(0,0,0));
0,POINTDOT,COLOR636363;
VAR12,LINETHICK2,COLOR666666;
IF(((BACKSET(((VAR12 <= REF(VAR12,1)) AND (VAR1 <= VAR3)),2) AND NOT(((CLOSE = OPEN) AND (HIGH = LOW)))) AND VAR4),VAR12,DRAWNULL),LINETHICK2,COLORAA9933;
IF(((((VAR1 <= VAR3) AND VAR4) AND BACKSET((VAR12 >= REF(VAR12,1)),2)) AND NOT(((CLOSE = OPEN) AND (HIGH = LOW)))),VAR12,DRAWNULL),LINETHICK2,COLOR0099AA;
STICKLINE((((VAR1 <= VAR3) AND VAR4) AND IF(((HIGH = LOW) AND (CLOSE = OPEN)),CROSS(VAR12,VAR16),(((VAR12 < VAR16) AND (VAR12 <= REF(VAR12,1))) AND (VAR12 < REFX(VAR12,1))))),LLV(VAR12,3),VAR16,0,0),COLOR330099;
STICKLINE((((VAR1 <= VAR3) AND VAR4) AND IF(((HIGH = LOW) AND (CLOSE = OPEN)),CROSS(VAR15,VAR12),(((VAR12 > VAR15) AND (VAR12 >= REF(VAR12,1))) AND (VAR12 > REFX(VAR12,1))))),HHV(VAR12,3),VAR15,0,0),COLOR008800;
VAR29:=260;
VAR30:=680;
VAR31:=7763;
QX1:DRAWNUMBER_FIX((VAR1 >= VAR3),0.89,0.6,1,VAR29),COLORYELLOW;
QX2:DRAWNUMBER_FIX((VAR1 >= VAR3),0.93,0.6,1,VAR30),COLORYELLOW;
QX3:DRAWNUMBER_FIX((VAR1 >= VAR3),0.98,0.6,1,VAR31),COLORYELLOW;
IF((VAR1 > VAR3),VAR2,DRAWNULL);
DRAWTEXT_FIX((VAR1 >= VAR3),0.8,0.6,1,172),COLORYELLOW;
{-----------------------------------};