Author Topic: stop loss settings  (Read 2684 times)

Tags:
  • All members
  • Posts: 124
stop loss settings
« on: 18 Jan 2014, 19:53 »
Hi , is there anyway to make my stop loss a bit less" twitchy ". I want it to only kick in if a selections price has risen above ( bm_backp*1.2 ) for more than 2 seconds before it fires rather than the instant that price has been reached in the market.
Any help would be most gratefully received.

  • Moderator
  • Posts: 3511
*
Re: stop loss settings
« Reply #1 on: 19 Jan 2014, 10:51 »
Hi
In the attached file:
remember when the condition is met the first time
delay 2 seconds
check the condition a second time in the stoploss

In the trigger file I have used Write to Action Log. You need to make this your stoploss trigger using the conditions as shown. You should also define your selection.
There is a constant you can set for the delay.

Please test it in test mode.  


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: 124
Re: stop loss settings
« Reply #2 on: 19 Jan 2014, 18:49 »
Brilliant, many thanks. :)

  • All members
  • Posts: 124
Re: stop loss settings
« Reply #3 on: 20 Jan 2014, 18:55 »
Hi, I've incorporated this into my trigger but the stop loss doesn't seem to fire no matter how much I tweak the timing- could you take a look at it for me .. Many thanks

  • √Člite
  • Posts: 3698
  • Gender: Male
*
Re: stop loss settings
« Reply #4 on: 20 Jan 2014, 20:08 »
hi
the trigger   This will be your stoploss trigger - use the conditions as shown
has a condition that is NOT complete

Trigger Unknown number of runs is greater that 0

where is says   Unknown   you need to add the triggers name

it should be

and trigger Check stoploss 1st time number of runs is greater that 0


mcbee
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.

  • Moderator
  • Posts: 3511
*
Re: stop loss settings
« Reply #5 on: 20 Jan 2014, 20:39 »
Hi
Please try the attached amended trigger file in test mode.
I have added some additional relevant conditions now I can see the context of the stoploss usage.

Just a note on testing observation. Where the price moves very quickly towards the end of a race, the delay and the second check works against you. By the time the second check is completed and the stoploss fires, the lay prices are sometimes around 500 or higher. I would say this trigger will work better in longer length races.
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.

 

Please note, BetFair is seems to be currently OFFLINE