飞狐火车轨日内交易副图指标
源码
{公称名称: 火车轨日内交易}
DRAWGBK(1,COLORRGB(10,10,10),COLORRGB(0,0,140),1);
上轨:(EMA(CLOSE,300) * 1.0005),LINETHICK2,colorFF00;
下轨:(EMA(CLOSE,300) * 0.9995),LINETHICK2,colorFF00;
PARTLINE((CLOSE < 上轨),上轨),LINETHICK2,colorFF00;
PARTLINE((CLOSE > 上轨),上轨),LINETHICK2,colorFF;
PARTLINE((CLOSE < 下轨),下轨),LINETHICK2,colorFF00;
PARTLINE((CLOSE > 下轨),下轨),LINETHICK2,colorFF;
STICKLINE((CLOSE > 上轨),上轨,下轨,0.8,1),colorFF;
STICKLINE((CLOSE < 下轨),上轨,下轨,0.8,1),colorFF00;
STICKLINE((CLOSE >= 上轨),HIGH,LOW,0.5,1),colorFF;
STICKLINE((CLOSE >= 上轨),OPEN,CLOSE,8,1),colorFF;
STICKLINE((CLOSE <= 下轨),HIGH,LOW,0.5,1),colorFF00;
STICKLINE((CLOSE <= 下轨),OPEN,CLOSE,8,1),colorFF00;
STICKLINE(((CLOSE < 上轨) AND (CLOSE > 下轨)),HIGH,LOW,0.5,1),colorFF00;
STICKLINE(((CLOSE < 上轨) AND (CLOSE > 下轨)),OPEN,CLOSE,8,1),colorFF00;