Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]公式修改

1楼
qqqq0759 发表于:2021/3/15 10:43:51
 麻烦老师修改成金字塔公式?

VV:="DAY$1$V";//框线是什么框线
//1MIN,3MIN,5MIN,10MIN,15MIN,30MIN,1HOUR,2HOUR,3HOUR,4HOUR,DAY,WEEK,MONTH。
XX:=BARSLAST(VV<>REF(VV,1))+1;
SP:=ISLASTBAR||REFX(XX=1,1);
OO:=REF(O,XX-1);

DRAWSL(SP&&C1>OO,OO,0,-XX+1,0,COLORRED),LINETHICK2;
DRAWSL(SP&&C1<OO,OO,0,-XX+1,0,COLORGREEN),LINETHICK2;
DRAWSL(SP&&C1=OO,OO,0,-XX+1,0,COLORGRAY),LINETHICK2;

DRAWSL(SP&&C1>OO,C1,0,-XX+1,0,COLORRED),LINETHICK2;
DRAWSL(SP&&C1<OO,C1,0,-XX+1,0,COLORGREEN),LINETHICK2;

DRAWLINE(SP&&C1>OO,C1,1,OO,COLORRED),LINETHICK2;
DRAWLINE3(SP&&C1>OO,C1,XX-1,1,OO,XX-1,0),COLORRED,LINETHICK2;
DRAWLINE3(SP&&C1>OO,HHV(H,XX),XX/2-1,1,C1,XX/2-1,0),COLORRED,LINETHICK2;
DRAWLINE3(SP&&C1>OO,LLV(L,XX),XX/2-1,1,OO,XX/2-1,0),COLORRED,LINETHICK2;

DRAWLINE(SP&&C1<OO,C1,1,OO,COLORGREEN),LINETHICK2;
DRAWLINE3(SP&&C1<OO,C1,XX-1,1,OO,XX-1,0),COLORGREEN,LINETHICK2;
DRAWLINE3(SP&&C1<OO,HHV(H,XX),XX/2-1,1,OO,XX/2-1,0),COLORGREEN,LINETHICK2;
DRAWLINE3(SP&&C1<OO,LLV(L,XX),XX/2-1,1,C1,XX/2-1,0),COLORGREEN,LINETHICK2;

DRAWLINE(SP&&C1=OO,C1,1,OO,COLORGRAY),LINETHICK2;
DRAWLINE3(SP&&C1=OO,C1,XX-1,1,OO,XX-1,0),COLORGRAY,LINETHICK2;
DRAWLINE3(SP&&C1=OO,HHV(H,XX),XX/2-1,1,OO,XX/2-1,0),COLORGRAY,LINETHICK2;
DRAWLINE3(SP&&C1=OO,LLV(L,XX),XX/2-1,1,C1,XX/2-1,0),COLORGRAY,LINETHICK2;


2楼
qqqq0759 发表于:2021/3/15 10:46:07
 好的谢谢
3楼
FireScript 发表于:2021/3/15 10:54:20
 这个不行,有无法转换的代码部分。 DRAWLINE3 这个无法转换的。没有直接对应的函数也不能通过代码间接实现。

共3 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in .10938 s, 3 queries.