Author Topic: Trade out by liability formula  (Read 2692 times)

Tags:
  • All members
  • Posts: 36
Trade out by liability formula
« on: 15 May 2022, 09:10 »
Hello, I've made a basic trigger that trades out the markets liability at low odds on a selection whose profit is greater than the liability. 
What I would like to add is the trigger only starts if the selections profit is 3 times greater the the markets (-market_min_pl) formula.
Could you show me how to add the multiplication into that formula if possible please.

  • Moderator
  • Posts: 3653
*
Re: Trade out by liability formula
« Reply #1 on: 15 May 2022, 13:35 »
Hi
Have a look at tradeout_net which is a selections "live" P/L. So 3x greater than -market_min_pl:
and selections trigger expression tradeout_net is equal or greater than -market_min_pl*3

Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 36
Re: Trade out by liability formula
« Reply #2 on: 15 May 2022, 15:13 »
Excellent, cheers Mark.

 

Please note, BetFair is seems to be currently OFFLINE