 | |  |  |
分析家白线买进源码公式:
L1:=HHV(h ,1 );
L2:=FORCAST(L1,3);
L3:= (EMA(C,5)*7+EMA(C,5)*3)/10;
L4:= MA(C,13);
持股:STICKLINE(L3>L4 and C>O,C,O,8,0),COLORRED;
STICKLINE(L3>L4 and C<O,C,O,8,1),COLORRED;
STICKLINE(L3>L4,L,H,0.8,1),COLORRED;
持币:STICKLINE(L3<L4 and C>O,C,O,8,0),colorblue;
STICKLINE(L3<L4 and C<O,C,O,8,1),colorblue;
STICKLINE(L3<L4,L,H,0.8,1),colorblue;
STICKLINE(L4<O and C>O,H,L,0.8,1),colorgreen;
STICKLINE(L4<C and O>C,O,C,8,1),colorgreen;
STICKLINE(L4<C and O>C,H,L,0.8,1),colorgreen;
关注:STICKLINE(L4>O and C>L4 and O<c,O,C,8,0),coloryellow;
STICKLINE(L4>O and C>L4,H,L,0.8,1),coloryellow;
ma6:=ma(c,6);
ma18:=ma(c,18);
空方:3*ma18-2*ma6,linethick1,coloryellow;
趋势:3*ma6-2*ma18,colormagenta,linethick2;
买进价:=((c-ref(ma6,1))/6+ma6)*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
白买进:IF(买进条件,l,h),COLORWHITE,POINTDOT;
STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2;
STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;
zx:=sma(c,5,1);
zc:=ema(c,5);
zz:=cross(zx,zc);
DRAWICON(zz,l,1); |
| |  | |  |
|