【高抛低吸】
TDXAB_ZZ1:=L;
TDXAB_ZZ2:=H;
TDXAB_ZZ3:=C;
TDXAB_ZZ4:=O;
TDXAB_ZZ5:=V;
TDXAB_Z5:=3;
TDXAB_Z6:=4;
TDXAB_Z7:=5;
TDXAB_Z8:=10;
TDXAB_Z9:=20;
TDXAB_Z10:=30;
TDXAB_Z11:=60;
TDXAB_Z12:=35;
TDXAB_Z13:=135;
●回踩线:MA(MA(TDXAB_ZZ3,TDXAB_Z5),TDXAB_Z5),LINETHICK1,COLORFF00FF;
{PARTLINE(●回踩线,●回踩线>REF(●回踩线,1),RGB(255,0,0),●回踩线<REF(●回踩线,1),RGB(0,255,0)),LINETHICK2;}
IF(●回踩线>REF(●回踩线,1),●回踩线,DRAWNULL),COLORRED,LINETHICK2;
IF(●回踩线<REF(●回踩线,1),●回踩线,DRAWNULL),COLORYELLOW,LINETHICK2;
TDXAB_Z14:=MA(TDXAB_ZZ5,TDXAB_Z7);
TDXAB_Z15:=MA(TDXAB_ZZ5,TDXAB_Z8);
TDXAB_Z16:=MA(TDXAB_ZZ5,TDXAB_Z12);
TDXAB_Z17:=MA(TDXAB_ZZ5,TDXAB_Z13);
TDXAB_Z18:=MA(TDXAB_ZZ3,TDXAB_Z7);
TDXAB_Z19:=MA(TDXAB_ZZ3,TDXAB_Z8);
TDX_SK1:=2;{分析家公式网WWW.70822.COM}
TDX_SK2:=3;
TDX_SK3:=6;
TDX_SK4:=9;
TDXAB_L1:=L;
TDXAB_H1:=H;
TDXAB_C1:=C;
TDXAB_O1:=O;
TDXA_01:=LLV(TDXAB_L1,TDX_SK4);
TDXA_02:=HHV(TDXAB_H1,TDX_SK4);
TDXA_03:=TDXAB_C1-TDXA_01;
TDXA_04:=TDXA_02-TDXA_01;
TDXA_05:=TDXA_03/TDXA_04;
TDXA_06:=TDXA_05*100;
TDXA_07:=SMA(TDXA_06,TDX_SK2,1);
TDXA_08:=SMA(TDXA_07,TDX_SK2,1);
TDXA_09:=TDXA_07*TDX_SK2-TDXA_08*TDX_SK1;
TDXBB_01:=9;
TDXBB_02:=12;
TDXBB_03:=26;
TDXBB_04:=27;
TDXB_01:=EMA(TDXAB_C1,TDXBB_02);
TDXB_02:=EMA(TDXAB_C1,TDXBB_03);
TDXB_03:=TDXB_01-TDXB_02;
TDXB_04:=EMA(TDXB_03,TDXBB_01);
TDXB_05:=TDXB_03-TDXB_04;
TDXB_06:=TDXB_05*2;
TDXB_07:=EMA(TDXB_03,TDXBB_04);
TDXB_08:=TDXB_03>TDXB_04 AND TDXAB_Z18>TDXAB_Z19;
TDXB_09:=TDXAB_O1<TDXAB_Z18 AND TDXAB_C1>TDXAB_O1;
TDXB_10:=TDXAB_O1>TDXAB_Z18 AND TDXAB_C1>TDXAB_O1 AND TDXAB_C1/REF(TDXAB_C1,1)<1.09;
TDXB_11:=TDXAB_O1>TDXAB_Z18 AND TDXAB_C1<TDXAB_O1;
买点:=TDXB_08 AND TDXB_09 ;
减仓:=TDXB_08 AND TDXB_10;
清仓:=TDXB_08 AND TDXB_11;
DRAWTEXT(买点,TDXAB_L1,'买'),COLORRED;
DRAWTEXT(减仓,TDXAB_H1,'减'),COLORFFFF00;
DRAWTEXT(清仓,TDXAB_H1,'清'), COLOR00FF00;
STICKLINE(清仓,C,OPEN,7.2,0),COLORGREEN;
20225251244541042.png
|