2024波段吃肉通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑 GUP1:=(C+H+O)/3>HHV(REF(C,1),60); GUP2:=FINANCE(34)>1; GUP3:=(H-MAX(O,C))/REF(C,1)>0.045 AND Abs(C-O)/REF(C,1)<0.035 AND (H-MAX(O,C))>2.0*ABS(C-O); GUP4:=REF(C,1)/REF(C,6)>1.04 AND REF(C,1)/REF(C,6)<1.18; GUP5:=REF((H-C),1)/REF(C,2)<1.045 AND REF(C,1)/REF(C,2)>0.97; 涨:MA((2*L+C)/3,20),COLORRED; 跌:MA((H+2*C)/3,20),COLORGREEN; STICKLINE(涨,涨,L,0,-1),COLORGREEN; STICKLINE(C>跌,涨,L,0,-1),COLORYELLOW; STICKLINE(C>涨 AND C<跌,L,涨,0,-1),COLORWHITE; DRAWBAND(涨,RGB(60,60,60),跌,RGB(60,60,60)); STICKLINE(C>涨 AND C<跌,跌,涨,2,0),COLORWHITE; STICKLINE(C>涨 AND C>=O,O,C,3,1),COLORRED; STICKLINE(C>涨 AND C>=O,H,C,0,0),COLORRED; STICKLINE(C>涨 AND C<O,O,C,2.5,0),COLORGREEN; STICKLINE(C>涨 AND C<O,O,C,1.8,0),COLORRED; 买:=CROSS(C,跌); STICKLINE(C>涨 AND C<O,O,H,0,1),COLORRED; STICKLINE(C>涨 AND C<O,C,L,0,1),COLORRED; 卖:=CROSS(涨,C); STICKLINE(C<跌 AND C<涨 AND C>O,O,C,2.5,1),COLORGREEN; STICKLINE(C<跌 AND C<涨 AND C<=O,C,O,3,0),COLORGREEN; STICKLINE(C<跌 AND C<涨 AND C<=O,H,L,0,0),COLORGREEN; STICKLINE(C<跌 AND C<涨 AND C>O,C,H,0,1),COLORGREEN; STICKLINE(C<涨,跌,涨,2,0),COLORLIGREEN; STICKLINE(C<跌 AND C<涨 AND C>O,O,L,0,1),COLORGREEN; STICKLINE(C>跌,涨,跌,2,0),COLORYELLOW; DRAWICON(买,L*1.0,1); DRAWICON(卖,H*1.01,2); 选股公式源码 {选股公式:红箭头图标} GUP1:=(C+H+O)/3>HHV(REF(C,1),60); GUP2:=FINANCE(34)>1; GUP3:=(H-MAX(O,C))/REF(C,1)>0.045 AND Abs(C-O)/REF(C,1)<0.035 AND (H-MAX(O,C))>2.0*ABS(C-O); GUP4:=REF(C,1)/REF(C,6)>1.04 AND REF(C,1)/REF(C,6)<1.18; GUP5:=REF((H-C),1)/REF(C,2)<1.045 AND REF(C,1)/REF(C,2)>0.97;涨:=MA((2*L+C)/3,20),COLORRED; 跌:=MA((H+2*C)/3,20),COLORGREEN; 买:=CROSS(C,跌); 红箭头图标:买; {卖出公式:绿箭头图标} GUP1:=(C+H+O)/3>HHV(REF(C,1),60); GUP2:=FINANCE(34)>1; GUP3:=(H-MAX(O,C))/REF(C,1)>0.045 AND Abs(C-O)/REF(C,1)<0.035 AND (H-MAX(O,C))>2.0*ABS(C-O); GUP4:=REF(C,1)/REF(C,6)>1.04 AND REF(C,1)/REF(C,6)<1.18; GUP5:=REF((H-C),1)/REF(C,2)<1.045 AND REF(C,1)/REF(C,2)>0.97;涨:=MA((2*L+C)/3,20),COLORRED; 跌:=MA((H+2*C)/3,20),COLORGREEN; 卖:=CROSS(涨,C); 绿箭头图标:卖; |