It looks like you're new here. If you want to get involved, click one of these buttons!
Calculte EMA Python
n = 20
n is the time period as described
convert ticks to candle
Sometimes instead of looping over a data set repeatedly using a for loop, if one converts it into a dictionary and does a key lookup/ reference as showin in the following code snippet, one can reduce