- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
[文华源码] 文华财经在划线后面标注价格公式怎么写[文华财经公式]
- 咨询内容:
老师,我想在下面公式划的五根线后面标注价格,能不能帮忙改一下?谢谢了
ZC:=VALUEWHEN(DATE<>REF(DATE,1),REF(C,1));
C9:=VALUEWHEN(TIME=959,C);
C10:=VALUEWHEN(TIME=1059,C);
C11:=VALUEWHEN(TIME=1129,C);
C13:=VALUEWHEN(TIME=1359,C);
//A:IFELSE(TIME<959,ZC,IFELSE(TIME<1059,C9,IFELSE(TIME<1129,C10,IFELSE(TIME<1359,C11,C13))));
DRAWSL(TIME<959,ZC,0,1,0,COLORWHITE);
DRAWSL(TIME>=959&&TIME<1059,C9,0,1,0,COLORWHITE);
DRAWSL(TIME>=1059&&TIME<1129,C10,0,1,0,COLORWHITE);
DRAWSL(TIME>=1129&&TIME<1359,C11,0,1,0,COLORWHITE);
DRAWSL(TIME>=1359,C13,0,1,0,COLORWHITE); - 文华技术人员:
- ZC:=VALUEWHEN(DATE<>REF(DATE,1),REF(C,1));
- C9:=VALUEWHEN(TIME=959,C);
- C10:=VALUEWHEN(TIME=1059,C);
- C11:=VALUEWHEN(TIME=1129,C);
- C13:=VALUEWHEN(TIME=1359,C);
- //A:IFELSE(TIME<959,ZC,IFELSE(TIME<1059,C9,IFELSE(TIME<1129,C10,IFELSE(TIME<1359,C11,C13))));
- DRAWSL(TIME<959,ZC,0,1,0,COLORWHITE);
- DRAWSL(TIME>=959&&TIME<1059,C9,0,1,0,COLORWHITE);
- DRAWSL(TIME>=1059&&TIME<1129,C10,0,1,0,COLORWHITE);
- DRAWSL(TIME>=1129&&TIME<1359,C11,0,1,0,COLORWHITE);
- DRAWSL(TIME>=1359,C13,0,1,0,COLORWHITE);
-
- DRAWNUMBER(TIME=958,ZC,ZC,2,COLORYELLOW);
- DRAWNUMBER(TIME=1058,C9,C9,2,COLORYELLOW);
- DRAWNUMBER(TIME=1128,C10,C10,2,COLORYELLOW);
- DRAWNUMBER(TIME=1358,C11,C11,2,COLORYELLOW);
- DRAWNUMBER(TIME=1459,C13,C13,2,COLORYELLOW);
-
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|