九毛八公式指标
公式模块:
求助论坛的大虾们,在同花顺中大盘和个股的日k线在同一界面上,大盘K线做副指标显示在下方。 //大盘k线
Cc:=INDEXC;
Hh:=INDEXH;
Ll:=INDEXL;
Oo:=INDEXO;
STICKLINE(cC,Cc,Oo,8,0),COLOR000000;
STICKLINE(cC>REF(cC,1),Hh,Ll,1,0),COLOR000000;
STICKLINE(Cc>REF(Cc,1),Cc,Oo,7,0),COLOR000077;
STICKLINE(Cc>REF(Cc,1),Cc,Oo,5,0),COLOR000099;
STICKLINE(Cc>REF(Cc,1),Cc,Oo,3,0),COLOR0000cc;
STICKLINE(Cc>REF(Cc,1),Cc,Oo,1,0),COLOR0000ff;
STICKLINE(Cc<REF(Cc,1),Hh,Ll,1,0),COLOR777700;
STICKLINE(Cc<REF(Cc,1),Cc,Oo,7,0),COLOR777700;
STICKLINE(Cc<REF(Cc,1),Cc,Oo,5,0),COLORaaaa00;
STICKLINE(cC<REF(CC,1),Cc,Oo,3,0),COLORdddd00;
STICKLINE(Cc<REF(Cc,1),Cc,Oo,1,0),COLORffff00;
MA5:MA(Cc,5);
MA0:MA(Cc,10);
MA30:MA(Cc,30);
MA60:MA(Cc,60);
MA120:MA(Cc,120);
MA250:MA(Cc,250);