@techietrader , can you please help with ADX,+DI,-DI calculation, i am getting wrong values with below code
def average_directional_movement_index(df, n, n_ADX):
i = 0
UpI = []
DoI = []
while i + 1 DoMove and UpMove > 0:
UpD = UpMove
else:
UpD =…
Hi rishiajmera,
can you please help with code for indictor ADX and stochastic momentum index ?
the below code is throwing incorrect values, can you please help to fix the formula
def average_directional_movement_index(df, n, n_ADX):
i = 0
…
the below code is throwing incorrect values for ADX,+DI,-DI, can you please help to fix the formula
def average_directional_movement_index(df, n, n_ADX):
i = 0
UpI = []
DoI = []
while i + 1 DoMove and UpMove > 0:
UpD…