Rss & SiteMap

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

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

标题:[求助]希望得到帮助

1楼
鲨鱼资本 发表于:2020/11/27 12:57:39
这是我在通达信上自己编写的公式,但是在金字塔内无法实现,希望大佬帮助改写一下,可以金字塔内实现,不胜感激!

AO:=O#WEEK;
AC:=C#WEEK;
AH:=H#WEEK;
AL:=L#WEEK;
STICKLINE( AO>AC,AH,AL,4,0),COLORLICYAN;
STICKLINE( AO<AC,AH,AL,4,0),COLOR4A4758;
BO:=O#DAY;
BC:=C#DAY;
BH:=H#DAY;
BL:=L#DAY;
STICKLINE( BO>BC,BH,BL,4,0),COLORGREEN;
STICKLINE( BO<BC,BH,BL,4,0),COLORLIMAGENTA;
CO:=O#MIN60;
CC:=C#MIN60;
CH:=H#MIN60;
CL:=L#MIN60;
STICKLINE( CO>CC,CH,CL,4,0),COLORBLUE;
STICKLINE( CO<CC,CH,CL,4,0),COLORMAGENTA;
DRAWKLINE(H,O,L,C);
2楼
FireScript 发表于:2020/11/27 13:50:27
 AO:="$OPEN#WEEK";
AC:="$CLOSE#WEEK";
AH:="$HIGH#WEEK";
AL:="$LOW#WEEK";
STICKLINE( AO>AC,AH,AL,4,0),COLORLICYAN;
STICKLINE( AO<AC,AH,AL,4,0),COLOR4A4758;
BO:="$OPEN#DAY";
BC:="$CLOSE#DAY";
BH:="$HIGH#DAY";
BL:="$LOW#DAY";
STICKLINE( BO>BC,BH,BL,4,0),COLORGREEN;
STICKLINE( BO<BC,BH,BL,4,0),COLORLIMAGENTA;
CO:="$OPEN#MIN60";
CC:="$CLOSE#MIN60";
CH:="$HIGH#MIN60";
CL:="$LOW#MIN60";

STICKLINE( CO<CC,CH,CL,4,0),COLORMAGENTA;
KLINE(H,O,L,C,0);


柱形的颜色,在最后一个参数定义,这个你自己改下,类似下面这样,然后你这里的几个颜色不是全部都支持,你修改成其他颜色即可:
STICKLINE( CO>CC,CH,CL,4,0,COLORBLUE);
3楼
鲨鱼资本 发表于:2020/11/27 14:09:27
非常感谢!
共3 条记录, 每页显示 10 条, 页签: [1]


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