以下是同花顺风洞判势副图源码
红线与蓝线之间距离变小,表示股价有下跌趋势;变大表示股价有上升趋势
N:=35;
VAR1:=FORCAST(CLOSE,30);
A:WINNER(VAR1), LINETHICK1,coloryellow;
A1:REVERSE(A),LINETHICK1 , colorwhite;
A2:(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)),COLOR00FF00;
A3:REVERSE(A2), colorred;
STICKLINE(C>0,1,0.96,4,0),COLORFF9999;
STICKLINE(C>0,-1,-0.95,4,0),COLORFF9999;
-0.3,COLORDDDDDD,POINTDOT,LINETHICK2;
0.3,COLORDDDDDD,POINTDOT,LINETHICK2;