I've been trading with Open ECry (OEC) for some time. I'm attempting to create a written strategy I can import into their custom trading manager that uses the +DI and -DI crossings on the ADX indicator to trade automatically. I'm being told the code might look something like the following: if DIpos > DIneg then begin Buy ("Buy") this bar at market; end; if DIpos < DIneg then begin Sell ("Sell") this bar at market; end; (where DIpos and DIneg would need to be further explained and defined. ============================================= If anyone can help out, that would be greatly appreciated