I am trying to write a simply formula to calculate and plot real time P&L on a specfic spread trade of aud and es. Long AUD and short ES.
The AUD part of the formulae works ok e.g. AUD a0-fx - 0.8400 * 1000000 works perfectly fine, where 0.8400 is opening price and the 10000000 is notional value.
However for the life of me I can get the es #f short part to plot anything sensible:
(1045.00 - (es #f / 100)) *4 * 50 where 1045 is short price; es #f /100 is to convert the way esignal price to 2 decimal places ... 4 is the number of contracts and 50 is the price multiplier ... this gives some wierd number i do not understand why ???
The AUD part of the formulae works ok e.g. AUD a0-fx - 0.8400 * 1000000 works perfectly fine, where 0.8400 is opening price and the 10000000 is notional value.
However for the life of me I can get the es #f short part to plot anything sensible:
(1045.00 - (es #f / 100)) *4 * 50 where 1045 is short price; es #f /100 is to convert the way esignal price to 2 decimal places ... 4 is the number of contracts and 50 is the price multiplier ... this gives some wierd number i do not understand why ???
Comment