仿-波段玄机大智慧新一代版
大智慧L2源码:
{仿-波段玄机}
{-----------------------☆功能开关------------------------}
DQ_1:=LLV(L,55);
DQ_2:=HHV(H,55);
DQ_3:=C-DQ_1;
DQ_4:=DQ_2-DQ_1;
DQ_5:=DQ_3/DQ_4;
DQ_6:=3*SMA(DQ_5*100,7,1)-2*SMA(DQ_5*100,7,1);
DQ_7:=ref(wma(DQ_6,2),1);
DQ_8:=sma(DQ_6,2,1);
xy1:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*200*10;
xy2:=SMA(xy1,3,1);
xy3:=LLV(xy2,3);
xy4:=HHV(xy2,3);
ZJ1:=DMA((H+L+C*2)/4,0.9);
ZJ2:=V/((H-L)*2-ABS(C-O));
ZJ3:=IF(C>O,ZJ2*(H-L),IF(C<O,ZJ2*(H-O+(C-L)),V/2))+IF(C>O,0-ZJ2*(H-C+(O-L)),IF(C<O,0-ZJ2*(H-L),0-V/2));
ZJ4:=ZJ3/20/1.15;
ZJ5:=ZJ4*0.55+REF(ZJ4,1)*0.33+REF(ZJ4,2)*0.22;
ZJ6:=EMA(ZJ5,3);
ZJ7:= EMA( ZJ6,13)-EMA( ZJ6,34);
ZJ8:=(ZJ7-EMA(ZJ7,3));
ZJ9:=if(ZJ8>=0,1,0);
PH_1:=AMOUNT/(100*V); PH_2:=MA(PH_1,40);
PH_3:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
PH_4:=SMA(SMA(PH_3,3,1),3,1);
PH_5:=SMA(PH_4,5,1)*15;
弱:=xy1<xy3;
吸:=IF(ZJ9 or (xy1>xy3 or (xy1>PH_5)),1,0);
空:=xy1<PH_5 and 吸=0;
强:=xy1>PH_5 and xy1>xy4;
减:=xy1<xy2 and xy1>PH_5;
{-----------------【图解模板】---------------------}
{DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1);}
弱势:STICKLINE(弱,30,30-PH_3/5,5,1),ColorFF8900;
吸货:STICKLINE(吸,30,30+PH_3/5*0.8,8,1),COLORYELLOW;
强势:STICKLINE(强,30,30+PH_3/5,4,0),COLORRED;
减仓:STICKLINE(减,30,30+PH_3/5,8,0),COLORGRAY;
空仓:STICKLINE(空,30,30+PH_3/5,3,0),LINETHICK3,COLORWHITE;
STICKLINE(DQ_6>=DQ_7,DQ_6,DQ_8,7,0),LINETHICK2,COLORMAGENTA;{主波}
STICKLINE(DQ_6<=DQ_7,DQ_6,DQ_8,7,0),LINETHICK2,COLORWHITE;{主波};
飞狐源码:{仿-波段玄机}
{-----------------------☆功能开关------------------------}
DQ_1:=LLV(L,55); DQ_2:=HHV(H,55); DQ_3:=C-DQ_1; DQ_4:=DQ_2-DQ_1; DQ_5:=DQ_3/DQ_4;
DQ_6:=3*SMA(DQ_5*100,7,1)-2*SMA(DQ_5*100,7,1); DQ_7:=ref(wma(DQ_6,2),1); DQ_8:=sma(DQ_6,2,1);
xy1:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*200*10;
xy2:=SMA(xy1,3,1); xy3:=LLV(xy2,3); xy4:=HHV(xy2,3);
ZJ1:=DMA((H+L+C*2)/4,0.9); ZJ2:=V/((H-L)*2-ABS(C-O));
ZJ3:=IF(C>O,ZJ2*(H-L),IF(C<O,ZJ2*(H-O+(C-L)),V/2))+IF(C>O,0-ZJ2*(H-C+(O-L)),IF(C<O,0-ZJ2*(H-L),0-V/2));
ZJ4:=ZJ3/20/1.15; ZJ5:=ZJ4*0.55+REF(ZJ4,1)*0.33+REF(ZJ4,2)*0.22; ZJ6:=EMA(ZJ5,3);
ZJ7:= EMA( ZJ6,13)-EMA( ZJ6,34); ZJ8:=(ZJ7-EMA(ZJ7,3)); ZJ9:=if(ZJ8>=0,1,0);
PH_1:=AMOUNT/(100*V); PH_2:=MA(PH_1,40); PH_3:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100; PH_4:=SMA(SMA(PH_3,3,1),3,1);
PH_5:=SMA(PH_4,5,1)*15,COLORYELLOW;
弱:=xy1<xy3;
吸:=IF(ZJ9 or (xy1>xy3 or (xy1>PH_5)),1,0);
空:=xy1<PH_5 and 吸=0;
强:=xy1>PH_5 and xy1>xy4;
减:=xy1<xy2 and xy1>PH_5;
{-----------------【图解模板】---------------------}
DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1);
弱势:STICKLINE(弱,30,30-PH_3/5,5,1),ColorFF8900;
吸货:STICKLINE(吸,30,30+PH_3/5*0.8,8,1),COLORYELLOW;
强势:STICKLINE(强,30,30+PH_3/5,4,0),COLORRED;
减仓:STICKLINE(减,30,30+PH_3/5,8,0),COLORGRAY;
空仓:STICKLINE(空,30,30+PH_3/5,3,0),LINETHICK3,COLORWHITE;
STICKLINE(DQ_6>=DQ_7,DQ_6,DQ_8,7,0),LINETHICK2,COLORMAGENTA;{主波}
STICKLINE(DQ_6<=DQ_7,DQ_6,DQ_8,7,0),LINETHICK2,COLORWHITE;{主波} |