Escaping of Rate from Average By Mustafa OZVER
This code shows a location of a rate or price (or etc.) from the average, rated by the standard deviation.
To show that, calculates the ema and standard deviation of our data then calculates the distance between ema and the current data by the standard deviation.
In summary, we can say that this value is the current distance by the long term standard deviation.
This value is between +1 and -1 because we expect the absolute value of the standard distance does not get far from the long term standard deviation.
For scalping, we can use this value as
buy signal when the value is below -1,
sell signal when the value is above +1,
But only this value can not guarantee good results for trading. BE CAREFUL