Trading Strategy using the ADX

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

  1. I've been trading with Open ECry (OEC) for some time. I'm attempting to find a written strategy I can import into their custom trading manager that uses 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.



    Basically this is Greek to me.....if anyone can help out, that would be perfect.
     
  2. Chicago

    Chicago

    Not quite sure what you're asking.

    Are you asking:
    1) What does the pseudo-code you posted mean?
    2) For someone's system that uses ADX?
    3) For someone to help code your system?
     
  3. This system is a simple DI crossover. It is not based on ADX, although ADX is calculated based on DI+ and DI-. I haven't used these for a long time. Sorry to say this but I consider them newbie stuff. IMO using such indicators is a sure way to losing money. DI+ and DI-are averaging indicators and thus lag price. If you want to make money you ought to learn how to trade just price action, nothing else.
     
  4. I am looking for someone to code my system..