Code: Select all
var:
SMA ( 0 );
SMA = AverageFC(Close,10);
absvalue(Close - SMA)
Code: Select all
Value1 = Mod(Close,SMA) * (Num Ticks to BPV, / IE * 4 for e_mini)
So for the EUROfx for example, it doesn't work, as I need the output to calculate five digits past the decimal.
How can I achieve this? I know I am close and likely missing something obvious. My 'scale' settings for the chart and study are for displaying out to 5 digits, IE .00001. This setting does not seem to have any effect on the output. See screen captures.
Please advise, thank you!
Tony