def positive_directional_index(close_data, high_data, low_data, period):
catch_errors.check_for_input_len_diff(close_data, high_data, low_data)<EOL>pdi = (<NUM_LIT:100> *<EOL>smma(positive_directional_movement(high_data, low_data), period) /<EOL>atr(close_data, period)<EOL>)<EOL>return pdi<EOL>
Positive Directional Index (+DI).

Formula:
+DI = 100 * SMMA(+DM) / ATR