请老师改成博弈指标 [博易POBO]
咨询内容:
段参数:=1;
AMOUNT:=AVPRICE*V;
AA:=WINNER(C)*100;
CM:=AA>40 AND AA<58;
BB:=MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,20);
MTM:=CLOSE-REF(CLOSE,1);
ZLGJ:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),9);
MAZL:=MA(ZLGJ,5);
突破:ZLGJ>MAZL AND CM AND V>REF(V,1)*1.1 AND BB,NODRAW;
STICKLINE1(突破>0,0.03,0,1,0),COLOR00FFFF;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:EMA(DIF,9);
IF(DIF<DEA,DIF,DRAWNULL),COLORWHITE,LINETHICK2;
MACD:(DIF-DEA)*2,COLORSTICK;
//VAR1:=TDXDLL5(1,H,L,C);
笔低A:=LOW<=LLV(LOW,笔参数),NODRAW;
笔高A:=HIGH>=HHV(HIGH,笔参数),NODRAW;
笔低:=笔低A AND 笔高A=0,NODRAW;
笔高:=笔高A AND 笔低A=0,NODRAW;
上笔:=TRENDLINES(笔低,LOW,笔高,HIGH),COLOR0000FF;
下笔:=TRENDLINES(笔高,HIGH,笔低,LOW),COLOR00FF00;
拐下:=上笔>REF(上笔,1) AND 下笔>REFX(下笔,1),NODRAW;
拐上:=下笔<REF(下笔,1) AND 上笔<REFX(上笔,1),NODRAW;
段低A:=LOW<=LLV(LOW,段参数*笔参数),NODRAW;
段高A:=HIGH>=HHV(HIGH,段参数*笔参数),NODRAW;
段低:=段低A AND 段高A=0,NODRAW;
段高:=段高A AND 段低A=0,NODRAW;
上段:=TRENDLINES(段低,LOW,段高,HIGH),LINETHICK2,COLORMAGENTA;
下段:=TRENDLINES(段高,HIGH,段低,LOW),LINETHICK2,COLORFF8000;
特殊底:=下段=上段 AND 段低 AND MACD<0,NODRAW;
TTT:=REF(BARSLAST(特殊底),1)+1;
底背离1:=特殊底 AND LOW<REF(LOW,TTT) AND DIF>REF(DIF,TTT) AND LLV(DIF,BARSLASTCOUNT(MACD<0))>REF(DIF,TTT),NODRAW;
底背左点1:=BACKSET(底背离1,TTT+1) AND REF(BACKSET(底背离1,TTT+1),1)=0 AND 特殊底;
DRAWLINE(底背左点1,DIF,底背离1,DIF,0),COLORFF00FF,LINETHICK2;
底背离2:=特殊底 AND LOW<REF(LOW,TTT) AND MACD>REF(MACD,TTT) AND LLV(MACD,BARSLASTCOUNT(MACD<0))>REF(MACD,TTT),NODRAW;
底背左点2:=BACKSET(底背离2,TTT+1) AND REF(BACKSET(底背离2,TTT+1),1)=0 AND 特殊底;
DRAWLINE(底背左点2,MACD,底背离2,MACD,0),COLORFF00FF,LINETHICK1;
特殊顶:=下段=上段 AND 段高 AND MACD>0,NODRAW;
TTTG:=REF(BARSLAST(特殊顶),1)+1;
顶背离1:=特殊顶 AND HIGH>REF(HIGH,TTTG) AND DIF<REF(DIF,TTTG) AND HHV(DIF,BARSLASTCOUNT(MACD>0))<REF(DIF,TTTG),NODRAW;
顶背左点1:=BACKSET(顶背离1,TTTG+1) AND REF(BACKSET(顶背离1,TTTG+1),1)=0 AND 特殊顶;
DRAWLINE(顶背左点1,DIF,顶背离1,DIF,0),COLORGREEN,LINETHICK2;
顶背离2:=特殊顶 AND HIGH>REF(HIGH,TTTG) AND MACD<REF(MACD,TTTG) AND HHV(MACD,BARSLASTCOUNT(MACD>0))<REF(MACD,TTTG),NODRAW;
顶背左点2:=BACKSET(顶背离2,TTTG+1) AND REF(BACKSET(顶背离2,TTTG+1),1)=0 AND 特殊顶;
DRAWLINE(顶背左点2,MACD,顶背离2,MACD,0),COLORGREEN,LINETHICK1;
DRAWTEXT(底背离2=1,MACD,' 柱背离'),COLORFF00FF;
DRAWTEXT(底背离1=1,DIF,' 线背离'),COLORFF00FF;
DRAWTEXT(顶背离2=1,MACD,' 柱背离'),COLORGREEN;
DRAWTEXT(顶背离1=1,DIF,' 线背离'),COLORGREEN;
DRAWICON(REF(DIF,1)>REF(DIF,2) AND DIF<REF(DIF,1) AND DIF>0 AND DIF>DEA,DIF*1.1,2),COLORGREEN;
DRAWICON(REF(DIF,1)<REF(DIF,2) AND DIF>REF(DIF,1) AND DIF<0 AND DIF<DEA,DIF*1.1,1),COLORRED;
XA_2:=BARSLAST(REF(MACD,1)<0 AND MACD>0);
XA_3:=LLVBARS(MACD,XA_2+20);
XA_4:=IF(XA_3>XA_2,REF(MACD,XA_3),0);
XA_5:=MACD<0 AND MACD>XA_4 AND LOW=LLV(LOW,XA_2+20) AND XA_4<0;
柱背离1:=(REF(XA_5,1)=1 AND MACD>REF(MACD,1) AND REF(DIF,XA_3)<0 AND MACD<0),NODRAW;
DRAWLINE(XA_4=XA_3,MACD,柱背离1,MACD,0),COLORRED,LINETHICK1;
DRAWICON(柱背离1,0,26);
柱背离A:BARSLAST(柱背离1>0)+1,COLORYELLOW,NODRAW;
柱背离:BARSLAST(底背离2>0)+1,COLORMAGENTA,NODRAW;
线背离:BARSLAST(底背离1>0)+1,COLORWHITE,NODRAW;
换手:100*GETPRICE1('换手%'),VOLSTICK,NODRAW;
廿换手:SUM(换手,20),COLORFF6EC7,NODRAW;
获利比:WINNER(C)*100,COLOR0080FF,NODRAW;
量比:V/(REF(MA(V,5),1)),NODRAW,COLORRED,NODRAW;
JJ:=(HIGH+LOW+CLOSE)/3,NODRAW;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW),NODRAW;
主买:ABS(QJ0*(JJ-MIN(CLOSE,OPEN)))/100000000,COLORRED,NODRAW;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW))/100000000,COLORLIGHTBLUE,NODRAW;
死叉:=CROSS(DEA,DIF);
N1:=BARSLAST(死叉),NODRAW;
{最近一次死叉的位置} N2:=REF(BARSLAST(死叉),N1+1),NODRAW;
{倒数第二次死叉与倒数第一次死叉的区间} N3:=REF(BARSLAST(死叉),N2+N1+2),NODRAW;
{倒数第三次死叉与倒数第二次死叉的区间} CL1:=LLV(C,N1+1),NODRAW;
{最近一次死叉后,最低收盘价} DIFL1:=LLV(DIF,N1+1),NODRAW;
CL2:=REF(CL1,N1+1),NODRAW;
{倒数第二次死叉与倒数第一次死叉之间的最低收盘价} DIFL2:=REF(DIFL1,N1+1),NODRAW;
CL3:=REF(CL2,N1+1),NODRAW;
{倒数第三次死叉与倒数第二次死叉之间的最低收盘价} DIFL3:=REF(DIFL2,N1+1),NODRAW;
PDIFL2:=IF(DIFL2>0,INTPART(LOG10(DIFL2))-1,INTPART(LOG10(-1*DIFL2))-1);
MDIFL2:=INTPART(DIFL2/POW(10,PDIFL2));
PDIFL3:=IF(DIFL3>0,INTPART(LOG10(DIFL3))-1,INTPART(LOG10(-1*DIFL3))-1);
MDIFL3:=INTPART(DIFL3/POW(10,PDIFL3));
MDIFB2:=INTPART(DIF/POW(10,PDIFL2));
MDIFB3:=INTPART(DIF/POW(10,PDIFL3));
直接底背离:=(CL1<CL2 ) AND (MDIFB2>MDIFL2) AND (MACD<0 AND REF(MACD,1)<0) AND MDIFB2<=REF(MDIFB2,1);
隔峰底背离:=(CL1<CL3 AND CL3<CL2 ) AND (MDIFB3>MDIFL3) AND (MACD<0 AND REF(MACD,1)<0) AND MDIFB3<=REF(MDIFB3,1);
B:直接底背离 OR 隔峰底背离,NODRAW;
BG:((MDIFB2>REF(MDIFB2,1))*REF(直接底背离,1)) OR ((MDIFB3>REF(MDIFB3,1))*REF(隔峰底背离,1)),NODRAW;
底背离消失:=(REF(直接底背离,1) AND DIFL1<=DIFL2 ) OR (REF(隔峰底背离,1) AND DIFL1<=DIFL3);
DRAWTEXT(FILTER(B,1),(DIF+MACD),'钝化'),COLORRED;
STICKLINE1(B OR BG,DIF,DEA,1,0),COLORRED;
DRAWTEXT(FILTER(底背离消失,1),(DIF+MACD),'消失'),COLORYELLOW;
DRAWTEXT(FILTER(BG,1),DIF*1.1,'结构形成'),COLORMAGENTA;
{顶部结构预警} 金叉:=CROSS(DIF,DEA);
M1:=BARSLAST(金叉),NODRAW;
{最近一次金叉的位置} M2:=REF(BARSLAST(金叉),M1+1),NODRAW;
{倒数第二次金叉与倒数第一次金叉的区间} M3:=REF(BARSLAST(金叉),M2+M1+2),NODRAW;
{倒数第三次金叉与倒数第二次金叉的区间} CH1:=HHV(C,M1+1),NODRAW;
{最近一次金叉后,最高收盘价} DIFH1:=HHV(DIF,M1+1),NODRAW;
CH2:=REF(CH1,M1+1),NODRAW;
{倒数第二次金叉与倒数第一次金叉之间的最高收盘价} DIFH2:=REF(DIFH1,M1+1),NODRAW;
CH3:=REF(CH2,M1+1),NODRAW;
{倒数第三次金叉与倒数第二次金叉之间的最高收盘价} DIFH3:=REF(DIFH2,M1+1),NODRAW;
PDIFH2:=IF(DIFH2>0,INTPART(LOG10(DIFH2))-1,INTPART(LOG10(-1*DIFH2))-1);
MDIFH2:=INTPART(DIFH2/POW(10,PDIFH2));
PDIFH3:=IF(DIFH3>0,INTPART(LOG10(DIFH3))-1,INTPART(LOG10(-1*DIFH3))-1);
MDIFH3:=INTPART(DIFH3/POW(10,PDIFH3));
MDIFT2:=INTPART(DIF/POW(10,PDIFH2));
MDIFT3:=INTPART(DIF/POW(10,PDIFH3));
直接顶背离:=(CH1>CH2 ) AND (MDIFT2<MDIFH2) AND (MACD>0 AND REF(MACD,1)>0) AND MDIFT2>=REF(MDIFT2,1);
隔峰顶背离:=(CH1>CH3 AND CH3>CH2 ) AND (MDIFT3<MDIFH3) AND (MACD>0 AND REF(MACD,1)>0) AND MDIFT3>=REF(MDIFT3,1);
T:直接顶背离 OR 隔峰顶背离,NODRAW;
TG:((MDIFT2<REF(MDIFT2,1))*REF(直接顶背离,1)) OR ((MDIFT3<REF(MDIFT3,1))*REF(隔峰顶背离,1)),NODRAW;
顶背离消失:=(REF(直接顶背离,1) AND DIFH1>=DIFH2 ) OR (REF(隔峰顶背离,1) AND DIFH1>=DIFH3);
DRAWTEXT(FILTER(T,1),(DIF+MACD),'钝化'),COLORGREEN;
DRAWTEXT(FILTER(顶背离消失,1),(DIF+MACD),'消失'),COLORYELLOW;
STICKLINE1(T OR TG,DIF,DEA,1,0),COLORGREEN;
DRAWTEXT(FILTER(TG,1),DIF*1.02,'结构形成'),COLORMAGENTA;
请老师改成博弈指标
笔参数:=1;段参数:=1;
AMOUNT:=AVPRICE*V;
AA:=WINNER(C)*100;
CM:=AA>40 AND AA<58;
BB:=MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,20);
MTM:=CLOSE-REF(CLOSE,1);
ZLGJ:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),9);
MAZL:=MA(ZLGJ,5);
突破:ZLGJ>MAZL AND CM AND V>REF(V,1)*1.1 AND BB,NODRAW;
STICKLINE1(突破>0,0.03,0,1,0),COLOR00FFFF;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:EMA(DIF,9);
IF(DIF<DEA,DIF,DRAWNULL),COLORWHITE,LINETHICK2;
MACD:(DIF-DEA)*2,COLORSTICK;
//VAR1:=TDXDLL5(1,H,L,C);
笔低A:=LOW<=LLV(LOW,笔参数),NODRAW;
笔高A:=HIGH>=HHV(HIGH,笔参数),NODRAW;
笔低:=笔低A AND 笔高A=0,NODRAW;
笔高:=笔高A AND 笔低A=0,NODRAW;
上笔:=TRENDLINES(笔低,LOW,笔高,HIGH),COLOR0000FF;
下笔:=TRENDLINES(笔高,HIGH,笔低,LOW),COLOR00FF00;
拐下:=上笔>REF(上笔,1) AND 下笔>REFX(下笔,1),NODRAW;
拐上:=下笔<REF(下笔,1) AND 上笔<REFX(上笔,1),NODRAW;
段低A:=LOW<=LLV(LOW,段参数*笔参数),NODRAW;
段高A:=HIGH>=HHV(HIGH,段参数*笔参数),NODRAW;
段低:=段低A AND 段高A=0,NODRAW;
段高:=段高A AND 段低A=0,NODRAW;
上段:=TRENDLINES(段低,LOW,段高,HIGH),LINETHICK2,COLORMAGENTA;
下段:=TRENDLINES(段高,HIGH,段低,LOW),LINETHICK2,COLORFF8000;
特殊底:=下段=上段 AND 段低 AND MACD<0,NODRAW;
TTT:=REF(BARSLAST(特殊底),1)+1;
底背离1:=特殊底 AND LOW<REF(LOW,TTT) AND DIF>REF(DIF,TTT) AND LLV(DIF,BARSLASTCOUNT(MACD<0))>REF(DIF,TTT),NODRAW;
底背左点1:=BACKSET(底背离1,TTT+1) AND REF(BACKSET(底背离1,TTT+1),1)=0 AND 特殊底;
DRAWLINE(底背左点1,DIF,底背离1,DIF,0),COLORFF00FF,LINETHICK2;
底背离2:=特殊底 AND LOW<REF(LOW,TTT) AND MACD>REF(MACD,TTT) AND LLV(MACD,BARSLASTCOUNT(MACD<0))>REF(MACD,TTT),NODRAW;
底背左点2:=BACKSET(底背离2,TTT+1) AND REF(BACKSET(底背离2,TTT+1),1)=0 AND 特殊底;
DRAWLINE(底背左点2,MACD,底背离2,MACD,0),COLORFF00FF,LINETHICK1;
特殊顶:=下段=上段 AND 段高 AND MACD>0,NODRAW;
TTTG:=REF(BARSLAST(特殊顶),1)+1;
顶背离1:=特殊顶 AND HIGH>REF(HIGH,TTTG) AND DIF<REF(DIF,TTTG) AND HHV(DIF,BARSLASTCOUNT(MACD>0))<REF(DIF,TTTG),NODRAW;
顶背左点1:=BACKSET(顶背离1,TTTG+1) AND REF(BACKSET(顶背离1,TTTG+1),1)=0 AND 特殊顶;
DRAWLINE(顶背左点1,DIF,顶背离1,DIF,0),COLORGREEN,LINETHICK2;
顶背离2:=特殊顶 AND HIGH>REF(HIGH,TTTG) AND MACD<REF(MACD,TTTG) AND HHV(MACD,BARSLASTCOUNT(MACD>0))<REF(MACD,TTTG),NODRAW;
顶背左点2:=BACKSET(顶背离2,TTTG+1) AND REF(BACKSET(顶背离2,TTTG+1),1)=0 AND 特殊顶;
DRAWLINE(顶背左点2,MACD,顶背离2,MACD,0),COLORGREEN,LINETHICK1;
DRAWTEXT(底背离2=1,MACD,' 柱背离'),COLORFF00FF;
DRAWTEXT(底背离1=1,DIF,' 线背离'),COLORFF00FF;
DRAWTEXT(顶背离2=1,MACD,' 柱背离'),COLORGREEN;
DRAWTEXT(顶背离1=1,DIF,' 线背离'),COLORGREEN;
DRAWICON(REF(DIF,1)>REF(DIF,2) AND DIF<REF(DIF,1) AND DIF>0 AND DIF>DEA,DIF*1.1,2),COLORGREEN;
DRAWICON(REF(DIF,1)<REF(DIF,2) AND DIF>REF(DIF,1) AND DIF<0 AND DIF<DEA,DIF*1.1,1),COLORRED;
XA_2:=BARSLAST(REF(MACD,1)<0 AND MACD>0);
XA_3:=LLVBARS(MACD,XA_2+20);
XA_4:=IF(XA_3>XA_2,REF(MACD,XA_3),0);
XA_5:=MACD<0 AND MACD>XA_4 AND LOW=LLV(LOW,XA_2+20) AND XA_4<0;
柱背离1:=(REF(XA_5,1)=1 AND MACD>REF(MACD,1) AND REF(DIF,XA_3)<0 AND MACD<0),NODRAW;
DRAWLINE(XA_4=XA_3,MACD,柱背离1,MACD,0),COLORRED,LINETHICK1;
DRAWICON(柱背离1,0,26);
柱背离A:BARSLAST(柱背离1>0)+1,COLORYELLOW,NODRAW;
柱背离:BARSLAST(底背离2>0)+1,COLORMAGENTA,NODRAW;
线背离:BARSLAST(底背离1>0)+1,COLORWHITE,NODRAW;
换手:100*GETPRICE1('换手%'),VOLSTICK,NODRAW;
廿换手:SUM(换手,20),COLORFF6EC7,NODRAW;
获利比:WINNER(C)*100,COLOR0080FF,NODRAW;
量比:V/(REF(MA(V,5),1)),NODRAW,COLORRED,NODRAW;
JJ:=(HIGH+LOW+CLOSE)/3,NODRAW;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW),NODRAW;
主买:ABS(QJ0*(JJ-MIN(CLOSE,OPEN)))/100000000,COLORRED,NODRAW;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW))/100000000,COLORLIGHTBLUE,NODRAW;
死叉:=CROSS(DEA,DIF);
N1:=BARSLAST(死叉),NODRAW;
{最近一次死叉的位置} N2:=REF(BARSLAST(死叉),N1+1),NODRAW;
{倒数第二次死叉与倒数第一次死叉的区间} N3:=REF(BARSLAST(死叉),N2+N1+2),NODRAW;
{倒数第三次死叉与倒数第二次死叉的区间} CL1:=LLV(C,N1+1),NODRAW;
{最近一次死叉后,最低收盘价} DIFL1:=LLV(DIF,N1+1),NODRAW;
CL2:=REF(CL1,N1+1),NODRAW;
{倒数第二次死叉与倒数第一次死叉之间的最低收盘价} DIFL2:=REF(DIFL1,N1+1),NODRAW;
CL3:=REF(CL2,N1+1),NODRAW;
{倒数第三次死叉与倒数第二次死叉之间的最低收盘价} DIFL3:=REF(DIFL2,N1+1),NODRAW;
PDIFL2:=IF(DIFL2>0,INTPART(LOG10(DIFL2))-1,INTPART(LOG10(-1*DIFL2))-1);
MDIFL2:=INTPART(DIFL2/POW(10,PDIFL2));
PDIFL3:=IF(DIFL3>0,INTPART(LOG10(DIFL3))-1,INTPART(LOG10(-1*DIFL3))-1);
MDIFL3:=INTPART(DIFL3/POW(10,PDIFL3));
MDIFB2:=INTPART(DIF/POW(10,PDIFL2));
MDIFB3:=INTPART(DIF/POW(10,PDIFL3));
直接底背离:=(CL1<CL2 ) AND (MDIFB2>MDIFL2) AND (MACD<0 AND REF(MACD,1)<0) AND MDIFB2<=REF(MDIFB2,1);
隔峰底背离:=(CL1<CL3 AND CL3<CL2 ) AND (MDIFB3>MDIFL3) AND (MACD<0 AND REF(MACD,1)<0) AND MDIFB3<=REF(MDIFB3,1);
B:直接底背离 OR 隔峰底背离,NODRAW;
BG:((MDIFB2>REF(MDIFB2,1))*REF(直接底背离,1)) OR ((MDIFB3>REF(MDIFB3,1))*REF(隔峰底背离,1)),NODRAW;
底背离消失:=(REF(直接底背离,1) AND DIFL1<=DIFL2 ) OR (REF(隔峰底背离,1) AND DIFL1<=DIFL3);
DRAWTEXT(FILTER(B,1),(DIF+MACD),'钝化'),COLORRED;
STICKLINE1(B OR BG,DIF,DEA,1,0),COLORRED;
DRAWTEXT(FILTER(底背离消失,1),(DIF+MACD),'消失'),COLORYELLOW;
DRAWTEXT(FILTER(BG,1),DIF*1.1,'结构形成'),COLORMAGENTA;
{顶部结构预警} 金叉:=CROSS(DIF,DEA);
M1:=BARSLAST(金叉),NODRAW;
{最近一次金叉的位置} M2:=REF(BARSLAST(金叉),M1+1),NODRAW;
{倒数第二次金叉与倒数第一次金叉的区间} M3:=REF(BARSLAST(金叉),M2+M1+2),NODRAW;
{倒数第三次金叉与倒数第二次金叉的区间} CH1:=HHV(C,M1+1),NODRAW;
{最近一次金叉后,最高收盘价} DIFH1:=HHV(DIF,M1+1),NODRAW;
CH2:=REF(CH1,M1+1),NODRAW;
{倒数第二次金叉与倒数第一次金叉之间的最高收盘价} DIFH2:=REF(DIFH1,M1+1),NODRAW;
CH3:=REF(CH2,M1+1),NODRAW;
{倒数第三次金叉与倒数第二次金叉之间的最高收盘价} DIFH3:=REF(DIFH2,M1+1),NODRAW;
PDIFH2:=IF(DIFH2>0,INTPART(LOG10(DIFH2))-1,INTPART(LOG10(-1*DIFH2))-1);
MDIFH2:=INTPART(DIFH2/POW(10,PDIFH2));
PDIFH3:=IF(DIFH3>0,INTPART(LOG10(DIFH3))-1,INTPART(LOG10(-1*DIFH3))-1);
MDIFH3:=INTPART(DIFH3/POW(10,PDIFH3));
MDIFT2:=INTPART(DIF/POW(10,PDIFH2));
MDIFT3:=INTPART(DIF/POW(10,PDIFH3));
直接顶背离:=(CH1>CH2 ) AND (MDIFT2<MDIFH2) AND (MACD>0 AND REF(MACD,1)>0) AND MDIFT2>=REF(MDIFT2,1);
隔峰顶背离:=(CH1>CH3 AND CH3>CH2 ) AND (MDIFT3<MDIFH3) AND (MACD>0 AND REF(MACD,1)>0) AND MDIFT3>=REF(MDIFT3,1);
T:直接顶背离 OR 隔峰顶背离,NODRAW;
TG:((MDIFT2<REF(MDIFT2,1))*REF(直接顶背离,1)) OR ((MDIFT3<REF(MDIFT3,1))*REF(隔峰顶背离,1)),NODRAW;
顶背离消失:=(REF(直接顶背离,1) AND DIFH1>=DIFH2 ) OR (REF(隔峰顶背离,1) AND DIFH1>=DIFH3);
DRAWTEXT(FILTER(T,1),(DIF+MACD),'钝化'),COLORGREEN;
DRAWTEXT(FILTER(顶背离消失,1),(DIF+MACD),'消失'),COLORYELLOW;
STICKLINE1(T OR TG,DIF,DEA,1,0),COLORGREEN;
DRAWTEXT(FILTER(TG,1),DIF*1.02,'结构形成'),COLORMAGENTA;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 无法修改 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容