本人是从事期货交易的,在论坛里看到很多股票软件的指标,期货的很少,在此我发几个博易中用到的指标,希望大家共同学习!!
MA1:MA(CLOSE,15);
MA2:MA(CLOSE,7);
UPPER:MA1+2*STD(CLOSE,16),COLOR4080FF;
LOWER:MA1-2*STD(CLOSE,16),COLOR4080FF;
FILLRGN(MA2>MA1,MA2,MA1),COLOR00FFFF;
FILLRGN(MA2<MA1,MA2,MA1),COLORFF8000;
STICKLINE((CLOSE>OPEN) OR (CLOSE=OPEN AND CLOSE>REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)>REF(OPEN,1)),HIGH,LOW,1,0),COLORRED;
STICKLINE((CLOSE>OPEN) OR (CLOSE=OPEN AND CLOSE>REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)>REF(OPEN,1)),OPEN,CLOSE,5,0),COLORRED;
STICKLINE((CLOSE<OPEN) OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(OPEN,1)),OPEN,CLOSE,5,0),COLORCYAN;
STICKLINE((CLOSE<OPEN) OR (CLOSE=OPEN
AND CLOSE<REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(OPEN,1)),HIGH,OPEN,1,0),COLORCYAN;
STICKLINE((CLOSE<OPEN) OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)) OR (CLOSE=OPEN AND CLOSE=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(OPEN,1)),LOW,CLOSE,1,0),COLORCYAN;
评论(0)