图表中会在手动开仓时间标示出开仓信号吗?在没平仓前信号会固定住吗?如何修改更方便更科学(目的:手动开仓后,在该K线出现开仓信号并不会移动,直到平仓信号,平仓信号另做)
aa:tholding,linethick0;
bb:=extgbdata('quanju');
ab:=extgbdata('sj');
if bb>0 then
begin
buy(ab=TIME,bb,thisclose);
end
if islastbar then
begin
extgbdataset('quanju',aa);
extgbdataset('sj',CURRENTTIME);
end
aa:tholding,linethick0;
bb:=extgbdata('quanju');
ab:if(aa>HOLDING,TIME,0),linethick0;
if bb>0 then
begin
buy(ab=TIME,bb,thisclose);
end
if islastbar then extgbdataset('quanju',aa);
按 shift+B, 会在图表显示你所有交易的信号点