/*
顶:82,COLORFFFF00,LINETHICK1;
顶A:90,COLORFF0000,LINETHICK5;
低:18,COLOR208FFF,LINETHICK1;
0;
TJ1:=(C-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
TJF:=SMA(TJ1,13,8);
TJFF:=SMA(TJ1,13,4);
DRAWBAND(TJF,RGB(175,0,0),TJFF,RGB(70,100,50));
中轴:45,COLOR555555;
AR1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
AR2:=SMA(AR1,3,1);
AR3:=SMA(AR2,3,1);
AR4:=SMA(AR3,3,1);
MMCD:=3*(AR3-AR4);
STICKLINE(MMCD>0,MMCD+45,45,,1),COLOR0000DD;
STICKLINE(MMCD<0,MMCD+45,45,,1),COLORDDDD00;
DRAWTEXT(ISLASTBAR AND TJF>REF(TJF,1),TJF,' ↑'),COLOR0000FF;
DRAWTEXT(ISLASTBAR AND TJF<REF(TJF,1),TJF,' ↓'),COLORCYAN;
DRAWTEXT(ISLASTBAR,顶,'顶'),COLORFFFF00;
DRAWTEXT(ISLASTBAR,低,'低'),COLOR208FFF;
DRAWICON(CROSS(TJF,89),TJF,4);
DRAWICON(CROSS(低,TJF),TJF,5);
*/
UR:=6;
LR:=6;
CURRBARSCOUNT:=REFX1(BARPOS,9999)-BARPOS+1;
TC1:=IF(H=HHV(H,8*UR),H,NULL);
TC2:=REFX1(BARSLAST(TC1=H),10000)+1;
UP:=REFX1(IF(TC2=1,H,REF(H,TC2-1)),10000);
BC1:=IF(L=LLV(L,8*LR),L,NULL);
BC2:=REFX1(BARSLAST(BC1=L),10000)+1;
LL:REFX1(IF(BC2=1,L,REF(L,BC2-1)),10000),COLORGRAY,LINETHICK5;
TC11:=IF(L=LLV(L,8*UR),L,NULL);
TC21:=REFX1(BARSLAST(TC11=L),10000)+1;
UP1:=REFX1(IF(TC21=1,L,REF(L,TC21-1)),10000);
BC11:=IF(H=HHV(H,8*LR),H,NULL);
BC21:=REFX1(BARSLAST(BC11=H),10000)+1;
HH:REFX1(IF(BC21=1,H,REF(H,BC21-1)),10000),COLORGRAY,LINETHICK5;
N:=13;
UPPER:=REFX1(IF(TC2=1,H,REF(H,T
期货软件指标期货指标公式文华财经期货软件期货至尊指标主图多空变色期货傻瓜式买卖指标 来自淘豆网m.daumloan.com转载请标明出处.