Rss & SiteMap

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

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

标题:老师帮忙改下咱们软件用的

1楼
李俊文 发表于:2021/5/29 17:37:43
LC := REF(CLOSE,1);
VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON : =DIFF-DEA;
LONMA := MA(LON,10);
LONT : =LON, COLORSTICK;
LONMA>0,BPK;
LONMA<0,SPK;
AUTOFILTER;

2楼
yukizzc 发表于:2021/5/30 21:35:48

LC := REF(CLOSE,1);
VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON : =DIFF-DEA;
LONMA := MA(LON,10);
LONT : =LON, COLORSTICK;
if LONMA>0 and holding<=0 then
begin
 sellshort(1,holding,marketr);
 buy(1,1,marketr);
end

if LONMA<0 tand holding>=0 hen
begin
 sell(1,holding,marketr);
 buyshort(1,1,marketr);
END

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


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