Author Topic: Price goes up or down  (Read 3004 times)

Tags:
  • All members
  • Posts: 12
  • Karma: +0/-0
Price goes up or down
« on: Sat, 08 July, 2017, 15:24 »
Hello! I would like to know how to ask the robot to only bet when the price goes up or down.

Thanks!

  • Trigger developers
  • Posts: 2869
  • Karma: +233/-0
*
Re: Price goes up or down
« Reply #1 on: Sun, 09 July, 2017, 17:42 »
Hi
basically you need to measure the price movement or tick difference over a certain period of time

very short-term, i.e. over one refresh, look at the conditions:
selections back price leap
selections lay price leap
selections back price growth
selections lay price growth

to measure a price difference over some minutes use:
selections back price dif over xx mins
selections lay price dif over xx mins
selections back ticks dif over xx mins
selections lay ticks dif over xx mins

example, if you want to back the favourite if it's back price has come in at least 10 ticks in the last 5 minutes:

selections rank is equal to 1
and selections back ticks dif over 5 mins is equal or less than -10
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: 12
  • Karma: +0/-0
Re: Price goes up or down
« Reply #2 on: Mon, 10 July, 2017, 15:52 »
Many thanks for the reply. I'll test here. Have an excellent day.