Posted By: Chuate
trade mode show nothing - 01/06/19 12:51
I use this code to test the trade function. However, after 10 minutes it show nothing in real time. It should show result every minute. Do you know what is problem ?
this is log
Code:
function run() { set(PLOTNOW|PARAMETERS); BarPeriod = 1; LookBack = 2; asset("BTC/USDT"); vars Price = series(price()); if (Price[0] <= Price[1]) { printf("nenter Long"); } if (Price[0] > Price[1]) { printf("nexit Long"); } }
this is log
Code:
test3 Login 0 Binance V3.. at UTC 01-06 13:05 Load BTC/USDT prices.. 31 min, gap 72 h enter Long V 1.964 on Sun 19-01-06 20:05:23 (Zorro S Subscription) Trade: test3 BTC/USDT (NFA) 2019-01-06 Lookback period (2 bars) [27: Thu 19-01-03 13:21] (3815.96) enter Long. [28: Thu 19-01-03 13:22] (3815.27) enter Long End of lookback period