if all(isup,3) then buy(holding=0,1,thisclose);
if all(isdown,2) then sell(1,0,thisclose);
if all(isdown,3) then buyshort(holding=0,1,thisclose);
if all(isup,2) then sellshort(1,0,thisclose);
不认识呀,群主能不能写成我这样的格式
我的BUY1是开多仓
SELL1是开空仓
我后面还有很多程序
buy1:=all(isup,3);
sell1:=all(isdown,2);
buy2:=all(isdown,3);
sell2:=all(isup,2);
这些函数的值都是根据你当前的周期自动变
分钟线就是判断分钟线,日线就是判断日线
就是一分钟柱,或者说,一分钟内的涨跌
,谢谢了,我想到算法做了