Share the Idea to Calculate DI (Directional Indicator)

With reference to the supertrend period 1 multiplier 1.1; Buy and Sell trade should be initiated for some strategy. According to the strategy wants to calculate

1) DI minus (7) & DI plus (7)
2) DI minus (14) & DI plus (14).

By using Kite PHP API; how can we get historical data and above mentioned requirement.
Sign In or Register to comment.