Hi,
I have a trigger set to repeat every 30 seconds with this statement in the amount field
IF(current_bet > s_1_profit_loss, current_bet - s_1_profit_loss, 0)
If the current_bet value (a user variable set when there is a settled market) is greater than the profit_loss on the market being monitored, it places a bet, either the full amount of current_bet, or enough to make up the amount so the profit_loss matches the current_bet value.
That works fine, until the two amounts match or profit_loss is greater and it then should just stop and do nothing, which it does but in the log it says 'error in trigger expression of price or amount' , and the trigger doesn't then place bets if the current_bet value is increased?
What I want to happen is if the current_bet value is increased (by a loss in another market), the trigger will then place bets again to bring the profit_loss up to match the current_bet value.