held on adx

 
please i will like how to know how to code adx indicator in expert advisor. Am not after the plus or minus am only after the adx style i.e using it for strong and weak rend. When i coded it in my expert advisor it didn not place order. Please help me out.
 

Post your code by using the SRC button you see on the toolbar

-BB-

Reason: