龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-11-30 13:38

文华财经在划线后面标注价格公式怎么写[文华财经公式]

[list][*][b]咨询内容:[/b]
老师,我想在下面公式划的五根线后面标注价格,能不能帮忙改一下?谢谢了
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);[*][b]文华技术人员:[/b][/list][font=宋体, Arial, Helvetica, sans-serif][color=#212121][size=14px][b][code]
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);


[/code]
[/b][/size][/color][/font]

页: [1]