//get distance from averages relative to one above or below
Ind1=Average[10](close)
Ind2=Average[15](close)
DistPer=abs(Ind1/Ind2)*100
GRAPHDistPerAS"Distance"
I will begin by opening with the same statement as most people that post here with the old ” I am new to coding & Pro Real Code” :).
What i I am trying/would like to do is get the distance as a percentage between 2 averages. Im not sure that i am on the right path as the result is skewed i believe with some outputs being over 100%
I would have thought that it the distance would likely be less given it is the same candle just 2 different averages derived from it.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue