大智慧公式教程 大智慧彩色K线副图指标公式
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);
AA:= - 100 * (趋势线 - CLOSE) / 趋势线;
AC:=(EMA(AA,5) );
STICKLINE(((((CLOSE >= OPEN)) AND (AA >= 0)) AND (AA >= AC)),OPEN,CLOSE,7.8,1),colorFF00FF;
STICKLINE(((((OPEN > CLOSE) ) AND (AA >= 0)) AND (AA >= AC)),CLOSE,OPEN,7.8,0),colorFF00FF;
STICKLINE(((((CLOSE >= OPEN)) AND (AA >= 0)) AND (AA >= AC)),CLOSE,HIGH,0.5,1),colorFF00FF;
STICKLINE(((((CLOSE >= OPEN)) AND (AA >= 0)) AND (AA >= AC)),OPEN,LOW,0.5,1),colorFF00FF;
STICKLINE(((((OPEN > CLOSE) ) AND (AA >= 0)) AND (AA >= AC)),CLOSE,LOW,0.5,0),colorFF00FF;
STICKLINE(((((OPEN > CLOSE) ) AND (AA >= 0)) AND (AA >= AC)),OPEN,HIGH,0.5,0),colorFF00FF;
STICKLINE(((((CLOSE >= OPEN) ) AND (AA >= 0)) AND (AA < AC)),OPEN,CLOSE,7.8,1),color00AA00;
STICKLINE(((((OPEN > CLOSE)) AND (AA >= 0)) AND (AA < AC)),CLOSE,OPEN,7.8,0),color00AA00;
STICKLINE(((((CLOSE >= OPEN) ) AND (AA >= 0)) AND (AA < AC)),CLOSE,HIGH,0.5,1),color00AA00;
STICKLINE(((((CLOSE >= OPEN) ) AND (AA >= 0)) AND (AA < AC)),OPEN,LOW,0.5,1),color00AA00;
STICKLINE(((((OPEN > CLOSE) ) AND (AA >= 0)) AND (AA < AC)),CLOSE,LOW,0.5,0),color00AA00;
STICKLINE(((((OPEN > CLOSE) ) AND (AA >= 0)) AND (AA < AC)),OPEN,HIGH,0.5,0),color00AA00;
STICKLINE((((CLOSE >= OPEN) ) AND (AA < 0)),OPEN,CLOSE,7.8,1),colorAAAAAA;{D38784}
STICKLINE((((OPEN > CLOSE)) AND (AA < 0)),CLOSE,OPEN,7.8,1),coloraaaaaa;
STICKLINE((((CLOSE >= OPEN) ) AND (AA < 0)),CLOSE,HIGH,0.5,1),coloraaaaaa;
STICKLINE((((CLOSE >= OPEN) ) AND (AA < 0)),OPEN,LOW,0.5,1),coloraaaaaa;
STICKLINE((((OPEN > CLOSE) ) AND (AA < 0)),CLOSE,LOW,0.5,0),coloraaaaaa;
STICKLINE((((OPEN > CLOSE) ) AND (AA < 0)),OPEN,HIGH,0.5,0),coloraaaaaa;{灰柱}