以下是同花顺阻力选股指标公式
选股阻力指标 希望大家能够使用此指标赚到更多更稳定的钱
VAR1:=ZIG(3,2.88) < REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) > REF(ZIG(3,2.88),2);
VAR2:=ZIG(3,2.88) > REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1) < REF(ZIG(3,2.88),2);
STICKLINE(VAR1,C,O,8,0),COLOR00FF00;
STICKLINE(VAR1,C,O,5,0),COLOR00FF00;
STICKLINE(VAR1,H,L,2,0),COLOR00FF00;
DRAWTEXT(VAR1,H*1.007,’上阻’),COLOR80FFFF;
STICKLINE(VAR2,C,O,7,0),COLOR0000FF;
STICKLINE(VAR2,C,O,5,0),COLOR0000FF;
STICKLINE(VAR2,H,L,2,0),COLOR0000FF;
DRAWTEXT(VAR2,L*0.993,’下阻’),COLOR43D0FA;
VAR3:=ZIG(3,4.88) < REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) > REF(ZIG(3,4.88),2);
VAR4:=ZIG(3,4.88) > REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1) < REF(ZIG(3,4.88),2);
STICKLINE(VAR3,C,O,8,0),COLOR00FF00;
STICKLINE(VAR3,C,O,5,0),COLOR00FF00;
STICKLINE(VAR3,H,L,2,0),COLOR00FF00;
DRAWTEXT(VAR3,H*1.007,’强阻’),COLOR43D0FA;
STICKLINE(VAR4,C,O,7,0),COLOR0000FF;
STICKLINE(VAR4,C,O,5,0),COLOR0000FF;
STICKLINE(VAR4,H,L,2,0),COLOR0000FF;
DRAWTEXT(VAR4,L*0.993,’强支’),COLOR43D0FA;
VAR5:=ZIG(3,5.88) < REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) > REF(ZIG(3,5.88),2);
VAR6:=ZIG(3,5.88) > REF(ZIG(3,5.88),1) AND REF(ZIG(3,5.88),1) < REF(ZIG(3,5.88),2);
STICKLINE(VAR5,C,O,9,0),COLOR00FFFF;
STICKLINE(VAR5,C,O,6,0),COLOR00FF00;
STICKLINE(VAR5,H,L,3,0),COLOR00FF00;
DRAWTEXT(VAR5,H*1.007,’强阻1′),COLOR00FF00;
STICKLINE(VAR6,C,O,8,0),COLOR00FFFF;
STICKLINE(VAR6,C,O,6,0),COLOR0000FF;
STICKLINE(VAR6,H,L,3,0),COLOR0000FF;
DRAWTEXT(VAR6,L*0.993,’强支1′),COLOR00FFFF;
VAR7:=ZIG(3,6.88) < REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) > REF(ZIG(3,6.88),2);
VAR8:=ZIG(3,6.88) > REF(ZIG(3,6.88),1) AND REF(ZIG(3,6.88),1) < REF(ZIG(3,6.88),2);
STICKLINE(VAR7,C,O,9,0),COLOR00FFFF;
STICKLINE(VAR7,C,O,6,0),COLOR00FF00;
STICKLINE(VAR7,H,L,2,0),COLOR00FF00;
DRAWTEXT(VAR7,H*1.007,’强阻2′),COLOR00FF00;
DRAWTEXT(VAR8,L*0.993,’强支2′),COLOR00FFFF;
VAR9:=ZIG(3,8.88) < REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) > REF(ZIG(3,8.88),2);
VAR10:=ZIG(3,8.88) > REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1) < REF(ZIG(3,8.88),2);
DRAWTEXT(VAR9,H*1.007,’强阻3′),COLOR00FF00;
DRAWTEXT(VAR10,L*0.993,’强支3′),COLOR00FFFF;
VAR13:=ZIG(3,15.88) < REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) > REF(ZIG(3,15.88),2);
VAR14:=ZIG(3,15.88) > REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1) < REF(ZIG(3,15.88),2);
DRAWTEXT(VAR13,H*1.02,’★大逆转★’),COLOR00FF00;
DRAWTEXT(VAR14,L*0.975,’★大逆转★’),COLOR00FFFF;
VAR15:=ZIG(3,0.58) < REF(ZIG(3,0.58),1) AND REF(ZIG(3,0.58),1) > REF(ZIG(3,0.58),2);
VAR16:=ZIG(3,0.68) > REF(ZIG(3,0.68),1) AND REF(ZIG(3,0.68),1) < REF(ZIG(3,0.68),2);
DRAWICON(VAR15,H,2);
DRAWICON(VAR16,L,1);
有未來函數
评论(0)