飞狐股海航线主图指标
源码
hsl:=(v/ma(vol,55));
STICKLINE( c>open,c,o,hsl*10 ,1),COLORRED;
STICKLINE( c>open,h,c,0.5 ,0),COLORRED;
STICKLINE( c>open,o,l,0.1 ,0),COLORRED;
STICKLINE( c
STICKLINE( c
STICKLINE( c=open and c>ref(c,1),c,o,hsl*10 ,1),COLORRED;
STICKLINE( c=open and c>ref(c,1),h,l,0.1,0),COLORRED;
STICKLINE( c=open and c
STICKLINE( c=open and c
STICKLINE( c=open ,h,l,0.1,0),,COLORGREEN;
STICKLINE( c=open ,c,o,hsl*10,0),,COLORGREEN;
上轨: SMA(FORCAST(CLOSE,30),8,1)*1.18,POINTDOT;
下轨: SMA(FORCAST(CLOSE,30),8,1)*0.82,POINTDOT;
X: (上轨+下轨)/2, ,COLORBLUE ;
Y: SMA(FORCAST(CLOSE,18),6,1), LINETHICK2,COLOR330099 ;
Z: SMA(FORCAST(CLOSE,9),3,1),POINTDOT ,COLORGREEN ;
STICKLINE(X>REF(X,1),X,X+0.02,5,0),LINETHICK1 , COLORFFFF00;
STICKLINE(Y>REF(Y,1),Y,Y+0.02,5,0),LINETHICK1 , COLORRED;