I had the same trade trigger on cable as well. It seems as if the following code must be getting run, but I can't figure out why. (It's in calculateTakeProfit() at the end of the OP_BUY section.)garyfritz wrote:MultiBob just entered a position, and the TP is the same as the entry price??
Code: Select all
if ( take > EPSILON && take - ask <= stoplevel / factor )
{
take = ask + ( stoplevel / factor );
}
BTW, any chance we can change this test to see if take >= point instead of using the EPSILON value? I doubt it matters here, but it is valid to check against the lowest possible value of the currency pair.
George