DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;DEA:=EMA(DIFF,9),HICK1,NODRAW;MACD:=2*(DIFF-DEA),NODRAW;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D,COLORWHITE,DOT;上影线:=H-MAX(C,O),NODRAW;下影线:=MIN(C,O)-L,NODRAW;实体长度:=ABS(C-O),NODRAW;DRAWCOLORKLINE(J<30&&MACD<0&&DEA>0&&下影线>=实体长度*2,RGB(255,128,255),0);DRAWCOLORKLINE(J>70&&MACD>0&&DEA<0&&上影线>=实体长度*2,RGB(62,62,255),0);DRAWCOLORKLINE(J<30&&MACD<0&&DEA>0&&上影线>=实体长度*2,RGB(255,128,255),0);DRAWCOLORKLINE(J>70&&MACD>0&&DEA<0&&下影线>=实体长度*2,RGB(62,62,255),0);DRAWCOLORKLINE(J<30&&MACD<0&&DEA>0&&C=O*2,RGB(255,128,255),0);DRAWCOLORKLINE(J>70&&MACD>0&&DEA<0&&C=O*2,RGB(62,62,255),0);DRAWCOLORKLINE(J<30&&MACD<0&&DEA>0&&ISUP&&REF(ISDOWN,1)&&O<=REF(C,1)&&C>=REF(O,1),RGB(255,255,0),0);DRAWCOLORKLINE(J>70&&MACD>0&&DEA<0&&ISDOWN&&REF(ISUP,1)&&O>=REF(C,1)&&C<=REF(O,1),COLORWHITE,0);N1:=BARSLAST(J<30&&MACD<0&&DEA>0&&下影线>=实体长度*2);N2:=BARSLAST(J>70&&MACD>0&&DEA<0&&上影线>=实体长度*2);N3:=BARSLAST(J<30&&MACD<0&&DEA>0&&上影线>=实体长度*2);N4:=BARSLAST(J>70&&MACD>0&&DEA<0&&下影线>=实体长度*2);N5:=BARSLAST(J<30&&MACD<0&&DEA>0&&C=O*2);N6:=BARSLAST(J>70&&MACD>0&&DEA<0&&C=O*2);N7:=BARSLAST(J<30&&MACD<0&&DEA>0&&ISUP&&REF(ISDOWN,1)&&O<=REF(C,1)&&C>=REF(O,1));N8:=BARSLAST(J>70&&MACD>0&&DEA<0&&ISDOWN&&REF(ISUP,1)&&O>=REF(C,1)&&C<=REF(O,1));AA:=BACKSET(ISLAST
文华期货软件指标公式源码期货软件最准指标黄金期货指标公式 来自淘豆网m.daumloan.com转载请标明出处.