MA ((10)
(*backtest start: 2019-01-05 00:00:00 end: 2020-02-29 00:00:00 period: 1d exchanges: [{"eid":"Huobi","currency":"BTC_USDT"}] *) // MA10:=MA(C,10); MA30:=MA(C,30); 买入开仓价:=VALUEWHEN(BARSBK=1,O); 卖出开仓价:=VALUEWHEN(BARSSK=1,O); //开仓条件 BUYCONDITION:=REF(C,1) < MMD OR CROSSUP(MA10,MA30); SELLCONDITION:=REF(C,1) > HGH OR CROSSDOWN(MA10,MA30); BKVOL=0 AND BUYCONDITION,BK; SKVOL=0 AND SELLCONDITION,SK; //离场条件 BKVOL>0 AND SELLCONDITION,SP; SKVOL>0 AND BUYCONDITION,BP; // 启动止损 SKVOL>0 AND HIGH>=卖出开仓价*(1+STOPLOSS*0.01),BP; BKVOL>0 AND LOW<=买入开仓价*(1-STOPLOSS*0.01),SP; AUTOFILTER;
CyberkingRecheck log - Kemajuan: 100.0 % - Menggunakan waktu ((detik): 4.339 detik - Total log: 46 - Jumlah transaksi: 21 - Selesai (Tick 683.42 KB) 0.0000 Informasi akun Nama Mata uang yang ditagih Jenis transaksi Biaya operasional Perkiraan pendapatan Huobi USDT BTC USDT: 389.673 11364.345 /upload/asset/149338fe3f9011badc20c.png /upload/asset/14947231d56707e5f7e8c.png