/*
TCH:=REFX1(HHV(H,HDAY*10),10000);
GTT:=REFX1(BARSLAST(TCH=H),10000)+1;
SX跌H:=REFX1(IF(GTT=1,H,REF(H,GTT-1)),10000);
BCL:=REFX1(LLV(L,LDAY*10),10000);
DTT:=REFX1(BARSLAST(BCL=L),10000)+1;
SX涨L:=REFX1(IF(DTT=1,L,REF(L,DTT-1)),10000);
涨点:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(L=SX涨L)+1));
跌点:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H=SX跌H)+1));
IM68:=((SX跌H-SX涨L)/8-(SX跌H-SX涨L)/8);
GH跌X:=SX跌H+(SX跌H-SX涨L)/8;
DL涨X:=SX涨L-(SX跌H-SX涨L)/8;
GTHT:=IF(DTT>GTT,DTT,GTT);
R:=ABS(GTT-DTT);
FILLRGN1(IF(CURRBARSCOUNT<=GTHT,SX跌H,NULL)>SX跌H,IF(CURRBARSCOUNT<=GTHT,SX跌H,NULL),SX跌H),RGB(0,120,120);
FILLRGN1(IF(CURRBARSCOUNT<=GTHT,SX跌H,NULL)<SX跌H,SX跌H,IF(CURRBARSCOUNT<=GTHT,SX跌H,NULL)),RGB(8,168,168);
FILLRGN1(IF(CURRBARSCOUNT<=GTHT,SX涨L,NULL)>SX涨L,IF(CURRBARSCOUNT<=GTHT,SX涨L,NULL),SX涨L),RGB(0,120,120);
FILLRGN1(IF(CURRBARSCOUNT<=GTHT,SX涨L,NULL)<SX涨L,SX涨L,IF(CURRBARSCOUNT<=GTHT,SX涨L,NULL)),RGB(0,160,160);
H2:=高1-(高1-低1)*;
H3:=高1-(高1-低1)*;
H4:=高1-(高1-低1)*;
H5:=高1-(高1-低1)*;
突破:REF(EMA(C,14),1),COLORMAGENTA,LINETHICK2;
顶:REFX1(高1,10000),POINTDOT,COLORWHITE;
A1X:=(EMA(C,14)-突破)/突破*100;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),NULL),COLORRED,LINETHICK2;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),NULL),COLORGREEN,LINETHICK2;
STICKLINE1(A1X>=0,出击,突破,0,-1),COLORRED;
STICKLINE1(A1X<0,休假,突破,0,-1),COLORGREEN;
STICKLINE1(CROSS(A1X,0),C,O,2,
文华期货软件指标公式文华财经期货软件指标公式趋势波段多空指标 来自淘豆网m.daumloan.com转载请标明出处.