将机构K线公式修改成能显示在1分钟周期里
2020/4/22 18:40:48
公式编写说明:
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);
投股票 网 ww w.tou18.cn
股市公式下载推荐