Does any code exist in ProRealcode to call the bid and ask prices?
The issue I am having is when using a Parabolic SAR type indicator for my strategy which flips over when the trend changes, my chart (and SAR) are showing AND reading from the mid price from IG index but the trades are being triggered by the bid and ask.
The two are not in alignment and can have potentially catastrohic results.
My code is using high and low, but it needs to get high of ask and low of bid
In the shot below the actual account when short but he strategy did not, this is due to the above.
Any solutions out there?