How can I approach the inverse for currency prices and have them saved in an array?
For example: EURUSD = 1.1050 means USD/EUR = .9049
on a simple calculator we just take 1/1.1050 which doesn't appear to work so nicely in arrays
Lets state
P1 = 1/iClose(NULL,0,n 1);
Buffer1 = P1;
with all the code above I get a zero divide issue,
however when I just use 1/iClose(NULL,0,1); instead without adding to the array worth, it computes the appropriate calculation.
How can I get these to work for saved values?