LARGEINTRDVOL LARGEOUTTRDVOL 这两个金字塔用什么函数替代?LARGEINTRDVOL-LARGEOUTTRDVOL
C>SKPRICE+20,BP;
C<BKPRICE-20,SP;

这两个怎么替代函数
SKPRICE BKPRICE
if c>enterprice+20 then sellshort(1,0,market);
if c<enterprice-20 then sell(1,0,market);
你贴的那两句我已经帮你改了,那么有的问题就出在你没贴的代码上
COUNT(DB1,DB)>=2&&DEA<0,BK;
CROSS(DIFF,DEA),SP;
DB,SP;
CROSS(DIFF,DEA)&&DEA>0&&DEA<5,BK;
DEA>1&&COUNT(DB,DB1)>=5,SK;
CROSS(DIFF,DEA),BP;
前一段代码是这样子的
if COUNT(DB1,DB)>=2 and DEA<0 then buy(holding=0,1,market);
if CROSS(DIFF,DEA) then sell(1,0,market);
if DB then sell(1,0,market);
if CROSS(DIFF,DEA) and DEA>0 and DEA<5 then buy(holding=0,1,market);
if DEA>1 and COUNT(DB,DB1)>=5 then buyshort(holding=0,1,market);
if CROSS(DIFF,DEA) then sellshort(1,0,market);
老师 你能不能用砖形图 写个自动化程序?在金字塔用的。