北斗星操盘线: MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5), , colorblue;
安全星云区: 5, , coloryellow;
{ _飞狐股票指标公式}
主力异动: IF(北斗星操盘线<=5,50,0), , colormagenta;
北斗星出击: IF(crOSS(北斗星操盘线,安全星云区),100,0), , colorred;
北斗星买点: 北斗星出击, , colorred;
DRAWTEXT(北斗星出击,50,'北斗星买点'), , colorred;
DRAWICON(北斗星出击,50,1);