Simple Question - How to change ADX smoothing in Tradestation/Multicharts

Discussion in 'Trading Software' started by whirl, Aug 18, 2010.

  1. whirl

    whirl

    I want to change the default smoothing for ADX, but they only give you an option to change the periods. Esignal, Ameritrade and some others, you can change the smoothing.

    Can someone please tell me how to do this in Tradestation and/or Multicharts?

    thank you
     
  2. ronblack

    ronblack

    You could do that with some coding

    ADXi = [(ADX(i-1) * (n - 1)) + DXi] / n

    n is the smoothing period.

    DX = [ 100 * ABS( (+DI) - (-DI) ) ] / ( (+DI) + (-DI) )
     
  3. whirl

    whirl

    Thank you Ron. Yes I have the formula, but I'm not a programmer, so I don't know how to code it.

    By chance do you or anyone know how to create a code for it? I'm sure most of it is done already since they have ADX already. I just want them to allow the smoothing variable as an input.

    thanks in advance