function run() { set(LOGFILE); BarOffset = timeOffset(ET,0,17,0); BarPeriod = 1440; StartDate = 2002; vars cl = series(priceClose()); int threshold = 80; int exitbars = 8; ExitTime = exitbars; Stop = 140*PIP; if (cl[0] > MaxVal(cl+1,threshold)) enterLong(); if (cl[0] < MinVal(cl+1,threshold)) enterShort(); }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de