飞狐稳操胜券买入副图指标
源码
趋势:(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),colorFF00;
VAR1:=FORCAST(CLOSE,30);
主力:(WINNER(VAR1) * 100),colorFFFF;
启:(CROSS(趋势,主力) AND (REF(趋势,1) < 30)),POINTDOT,colorFF00;
SZ1:=(CROSS(趋势,30) AND (趋势 > 主力));
SZ2:=(CROSS(趋势,50) AND (COUNT((趋势 > REF(趋势,1)),2) = 2));
涨:(SZ1 OR SZ2),POINTDOT,colorFF;
强:CROSS(趋势,70),POINTDOT,colorFFFF;
回:(CROSS(70,趋势) AND (趋势 > 50)),POINTDOT,colorFFFFFF;
险:(趋势 > 95),POINTDOT,colorFF;
STICKLINE((CLOSE > 0),95,95,4,0),colorFF;
STICKLINE((CLOSE > 0),30,30,4,0),colorFFFFFF;
STICKLINE(启,0,10,4,0),colorFF00;
DRAWTEXT(启,20,'启'),colorFF00;
STICKLINE(涨,0,30,4,0),colorFFFF;
DRAWTEXT(涨,20,'涨'),colorFF;
STICKLINE(强,70,90,4,0),colorFF00FF;
DRAWTEXT(强,85,'强'),colorFF00;
STICKLINE(回,70,50,4,0),colorFFFFFF;
DRAWTEXT(回,65,'回'),colorFF00;
STICKLINE((趋势 >= 70),90,95,4,1),colorFFFF;
STICKLINE((趋势 >= 95),95,100,4,1),colorFF;
STICKLINE((趋势 <= 10),0,10,4,1),colorFF6600;