int trendPeriod = 1; function run(){ set(TICKS); vars ma = series(EMA(priceClose(),trendPeriod)); plot("Signal", ma[0], 0, RED); }
int period=55; function run(){ set(PLOTPRICE+PLOTNOW); BarPeriod = 15; LookBack = 500; StartDate = 20121024; NumDays = 55; set(TICKS); TimeFrame = 1; vars Close15 = series(priceClose()); vars tmp115 = series(SMA(Close15,period)); if(crossUnder(priceClose, tmp115)) enterShort(); plot("sma", tmp115[0], 0, RED); }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de