以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 每笔交易盈利为红色 亏损为绿色怎么写? (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=58715) |
-- 作者:qq代人发帖 -- 发布时间:2013/11/13 10:39:38 -- 每笔交易盈利为红色 亏损为绿色怎么写? 请教:每笔交易盈利为红色 亏损为绿色怎么写? |
-- 作者:jinzhe -- 发布时间:2013/11/13 10:41:09 -- 这个红色和绿色在什么地方体现出来? |
-- 作者:carl9186 -- 发布时间:2013/11/13 14:14:34 -- 开仓,平仓的连线
|
-- 作者:jinzhe -- 发布时间:2013/11/13 14:26:32 -- drawline(holding>0 and c-enterprice>0,c,holding=0,c,0,colorred); drawline(holding>0 and c-enterprice<0,c,holding=0,c,0,colorgreen); drawline(holding<0 and c-enterprice>0,c,holding=0,c,0,colorred); drawline(holding<0 and c-enterprice<0,c,holding=0,c,0,colorgreen); |
-- 作者:jinzhe -- 发布时间:2013/11/18 9:24:44 -- drawline(holding>0 and ref(holding<0,1) and c-enterprice>0,c,holding<0,c,0,colorred); if cross(ma(c,20),ma(c,5)) then begin
以简单的MA金死叉反手交易为范例的划线 |