Posted By: Sphin
Zorro Beta 1.47 - 07/24/16 20:56
Does one have a chance to get 1.47.2? On the download page there is only 1.47.0 available and the currency strength functions seem to fit my new strategy thoughts.
function run() { StartDate = 2009; EndDate = 2015; BarPeriod = 1440; asset("EUR/USD"); var EURUSD = (priceClose() - price()) / priceClose(); asset("GBP/USD"); if(EURUSD > 0) reverseShort(1); if(EURUSD < 0) reverseLong(1); }
function run() { StartDate = 20160101; BarPeriod = 1440; string AssentName = "A"; set(LOGFILE); if(is(INITRUN)) assetHistory(AssentName,FROM_YAHOO); asset(AssentName); vars Open = series(priceOpen()); vars High = series(priceHigh()); vars Low = series(priceLow()); vars Close = series(priceClose()); print(TO_LOG," => Open: %f, High: %f, Low: %f, Close: %f",Open[0],High[0],Low[0],Close[0]); }