老师,请问金字塔里面我可以自己划分10分钟的时间周期吗?因为我有模型想从文华上移植过来,可是你们两个软件对10分钟的划分是不同的,有什么办法解决吗
我填完时间后按哪个键啊

此主题相关图片如下:jurov3xufzir{l5)a%12ed.png
老师,我想表达:
1.千5止损;
2.多头的盈利达到千9时,回撤(最高价-开仓价)*0.3,止盈;
if l<=0.995*enterprice and holding>0 then sell(1,0,market);
if hhv(h,enterbars+1)>enterprice*1.009 and l<=(hhv(h,enterbars+1)-(h-enterprice)*0.3) then sell(1,0,market);
老师,好像不对,每个开多信号都是当根开当根平,我是想把文华PH:=HHV(HIGH,BARSBK);
PL:=LLV(LOW,BARSSK);
STOPWIN1:=PRICEHIGH-0.3*(PH-BKPRICE);//0.382参数初设值。
STOPWIN2:=PRICELOW+0.3*(SKPRICE-PL);
(CLOSE<=STOPWIN1&&PRICEHIGH>BKPRICE+0.009*BKPRICE),SP;
(CLOSE>=STOPWIN2&&PRICELOW<SKPRICE-0.009*SKPRICE),BP;
CLOSE>=SKPRICE+SKPRICE*0.005,BP;
CLOSE<=BKPRICE-BKPRICE*0.005,SP;
转化为金字塔
防止当根k线平仓要多加一个条件
if l<=0.995*enterprice and holding>0 and enterbars>0 then sell(1,0,market);
if hhv(h,enterbars+1)>enterprice*1.009 and l<=(hhv(h,enterbars+1)-(h-enterprice)*0.3) and enterbars>0 then sell(1,0,market);
老师,我想满足条件时,下一根的开盘开,我这样的表达有误吗?if 开多条件 or 开多条件1 then buy(1,1,market);