//#@Fname=OBWM3 //#@comment=自己专用自己专用自己专用自己专用自己专用自己专用
//#@control=
//#@FuncType=
//#@style=LONG:Line0,,1,0,1,0,30059;XN:Line0,,1,0,1,0,30060;LONGXN:Line0,,1,0,1,0,30061;AA:Line0,,1,0,1,5,255;
//#@availperiod=2147430400
//#@param=
//#@isDrawCurve=1
//#@Fdesc=OBWM
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
a1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
a2:=EMA(a1,5)*CLOSE;
long:EMA(a2,24)-EMA(a2,52);
xn:EMA(long,10);
longxn:3*long-2*xn;
lb:=(long-xn)*3;
aa:0,colorred;
STICKLINE(xn>=long,aa,lb,0,0),color08800;
STICKLINE(xn<long,aa,lb,0,0),colorred;
|
