Written Code Needed

Discussion in 'Automated Trading' started by Barry Veristain, Jan 28, 2010.

  1. 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
  2. Are you insisting on losing money? This system will lose money in most markets.

  3. shhhhhhhhh...shhhhhhhhhh, write the code for him and then take the other side, you ruined it now.