I want to have a criteria that displays a formula as a percentage of the price for example:
3period EMA – 30period EMA as a percentage of the close…
Any ideas?
Hi! Not really sure but wanted to try and here it is:
EMA3 = ExponentialAverage[3](close)
EMA30 = ExponentialAverage[30](close)
percent = (EMA3/EMA30)*1/100
return percent
Or maybe something like this? :
EMA3 = ExponentialAverage[3](close)
EMA30 = ExponentialAverage[30](close)
percent = ((EMA3-EMA30)/close)*100
return percent