请大师帮忙把通达信公式改成博弈大师的函数A:=PERIOD;N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL))))));M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1,MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5,MOD(FROMOPEN,5)),IF(N=1
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 18:18:04
请大师帮忙把通达信公式改成博弈大师的函数A:=PERIOD;N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL))))));M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1,MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5,MOD(FROMOPEN,5)),IF(N=1
请大师帮忙把通达信公式改成博弈大师的函数
A:=PERIOD;
N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL))))));
M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1,
MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5,
MOD(FROMOPEN,5)),IF(N=15,IF(MOD(FROMOPEN,15)=0,15,
MOD(FROMOPEN,15)),IF(N=30,IF(MOD(FROMOPEN,30)=0,30,
MOD(FROMOPEN,30)),IF(N=60,IF(MOD(FROMOPEN,60)=0,60,
MOD(FROMOPEN,60)),IF(N=240,FROMOPEN,DRAWNULL))))));
虚量:IF(CURRBARSCOUNT=1,V*N/M,DRAWNULL),NODRAW,COLORWHITE;
STICKLINE(CURRBARSCOUNT=1 AND N,虚量,0,3,-1),COLORFFFFFF;
请大师帮忙把通达信公式改成博弈大师的函数A:=PERIOD;N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL))))));M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1,MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5,MOD(FROMOPEN,5)),IF(N=1
追问
PERIOD能替换吗
博易大师相同函数如下,
取当前周期.
用法:DATAPERIOD
参数:无.
返回值:1为1分、2为5分、3为15分、4为30分、5为60分、6为日、7为周、8为月、9为年、10为多日、11为多分.