/*
HXCS2:=CURRBARSCOUNT=QAZ OR CURRBARSCOUNT=QBZ OR CURRBARSCOUNT=QCZ
OR CURRBARSCOUNT=QDZ OR CURRBARSCOUNT=QEZ OR CURRBARSCOUNT=QGZ
OR CURRBARSCOUNT=QHZ OR CURRBARSCOUNT=QIZ OR CURRBARSCOUNT=QJZ
OR CURRBARSCOUNT=QKZ OR CURRBARSCOUNT=QMZ OR CURRBARSCOUNT=QNZ
OR CURRBARSCOUNT=QOZ OR CURRBARSCOUNT=QPZ OR CURRBARSCOUNT=QQZ
OR CURRBARSCOUNT=QRZ
OR CURRBARSCOUNT=QSZ OR CURRBARSCOUNT=QTZ OR CURRBARSCOUNT=QUZ
OR CURRBARSCOUNT=QVZ OR CURRBARSCOUNT=QWZ OR CURRBARSCOUNT=QXZ
OR CURRBARSCOUNT=QYZ OR CURRBARSCOUNT=QZZ ;
STICKLINE(HXCS1 OR HXCS2 ,顶X,低X,0,0),COLORGREEN;
天XX线:=IF(价格=5 AND 时间=5,NULL,顶X),COLORMAGENTA;
地XX线:=IF(价格=5 AND 时间=5,NULL,低X),COLORMAGENTA;
顶点:天XX线,COLORMAGENTA;
底点:地XX线,COLORMAGENTA;
上角度:=70;
下角度:=70;
HDAY:=600;
LDAY:=600;
调点:=3;
角度:=100;
CURR:=CURRBARSCOUNT;
TCH:=REFX1(HHV(H,0),100000);
GTT:=REFX1(BARSLAST(TCH=H),100000)+1;
SX跌H:=REFX1(IF(GTT=1,H,REF(H,GTT-1)),100000);
BCL:=REFX1(LLV(L,0),100000);
DTT:=REFX1(BARSLAST(BCL=L),100000)+1;
SX涨L:=REFX1(IF(DTT=1,L,REF(L,DTT-1)),100000);
涨点:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(L=SX涨L)+1));
跌点:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H=SX跌H)+1));
最低:=IF(调点=1,跌点,IF(调点=2,涨点,IF(调点=3,涨点,跌点)));
L斜率:=下角度/IF(C<300,1000,10);
最高:=IF(调点=1,跌点,IF(调点=2,涨点,IF(调点=3,跌点,涨点)));
H斜率:=上角度/IF(C<300,1000,10);
X:=PERIOD=1&&A||PERIOD=2&&A||PERIOD=3&&A||PERIOD=4&&A||PERIOD=5&&A||PERIOD=6&&A,NODRAW;//调指标显示周期。
Y:=1;
RE
准确率最高的期货指标文华财经指标公式源码恒指期货指标公式 来自淘豆网m.daumloan.com转载请标明出处.