将机构K线公式修改成能显示在1分钟周期里
2020/4/22 18:09:32
公式编写说明:
C1:=10000*CLOSE/INDEXC;O1:=10000*OPEN/INDEXO;H1:=10000*HIGH/INDEXH;L1:=10000*LOW/INDEXL;LL:=IF(L1<C1 AND L1<O1,L1,MIN(C1,O1));HH:=IF(H1>C1 AND H1>O1,H1,MAX(C1,O1));STICKLINE(C1>=O1,HH,C1,0,0),COLORRED;STICKLINE(C1>=O1,C1,O1,2.5,1),COLORRED;STICKLINE(C1>=O1,LL,O1,0,0),COLORRED;STICKLINE(C1<O1,HH,O1,0,0),COLORCYAN;STICKLINE(C1<O1,C1,O1,2.5,1),COLORCYAN;STICKLINE(C1<O1,LL,C1,0,0),COLORCYAN;M5:MA(C1,5);MA2:MA(C1,10);MA3:MA(C1,20);MA4:MA(C1,30);
公式源码示例:
C1:=C;
O1:=O;
H1:=H;
L1:=L;
LL:=IF(L1<C1 AND L1<O1,L1,MIN(C1,O1));
HH:=IF(H1>C1 AND H1>O1,H1,MAX(C1,O1));
STICKLINE(C1>=O1,HH,C1,0,0),COLORRED;
STICKLINE(C1>=O1,C1,O1,2.5,1),COLORRED;
STICKLINE(C1>=O1,LL,O1,0,0),COLORRED;
STICKLINE(C1<O1,HH,O1,0,0),COLORCYAN;
STICKLINE(C1<O1,C1,O1,2.5,1),COLORCYAN;
STICKLINE(C1<O1,LL,C1,0,0),COLORCYAN;
M5:MA(C1,5);
MA2:MA(C1,10);
MA3:MA(C1,20);
MA4:MA(C1,30);
看股 吧公式 www.kangub a.com
其它股票公式列表