九毛八公式指标
公式模块:
下面源码中当macd在0轴之下时把k线显示空心无色状态怎么表示?
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
STICKLINE(DIF>0 AND DEA>0 AND C>O,O,C,3,0),COLORRED;
STICKLINE(DIF>0 AND DEA>0 AND C>O,H,L,0,0),COLORRED;
STICKLINE(DIF>0 AND DEA>0 AND C<O,O,C,3,0),COLORGREEN;
STICKLINE(DIF>0 AND DEA>0 AND C<O,H,L,0,0),COLORGREEN;
STICKLINE(DIF<0 AND DEA<0 AND C>O,O,C,3,0),COLORMAGENTA;
STICKLINE(DIF<0 AND DEA<0 AND C>O,H,L,0,0),COLORMAGENTA;
STICKLINE(DIF<0 AND DEA<0 AND C<O,O,C,3,0),COLORBLUE;
STICKLINE(DIF<0 AND DEA<0 AND C<O,H,L,0,0),COLORBLUE; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
STICKLINE(DIF>0 AND DEA>0 AND C>O,O,C,3,0),COLORRED;
STICKLINE(DIF>0 AND DEA>0 AND C>O,H,L,0,0),COLORRED;
STICKLINE(DIF>0 AND DEA>0 AND C<O,O,C,3,0),COLORGREEN;
STICKLINE(DIF>0 AND DEA>0 AND C<O,H,L,0,0),COLORGREEN;
STICKLINE(DIF<0 AND DEA<0 AND C>O,O,C,3,1),COLORBROWN;
STICKLINE(DIF<0 AND DEA<0 AND C>O,H,L,0,0),COLORBROWN;
STICKLINE(DIF<0 AND DEA<0 AND C<O,O,C,3,1),COLORBROWN;
STICKLINE(DIF<0 AND DEA<0 AND C<O,H,L,0,0),COLORBROWN;