Author Topic: Find second most value  (Read 1222 times)

Tags:
  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Find second most value
« on: 18 Dec 2018, 15:43 »
hello fellow

I can not get rid of this problem, does anyone have an idea how I can get rid of it?

I have a set of values, for example

(3, -20, 23, 100)

How do I know the second highest or second lowest?

Thank you for your help

PCAL
Desenvolvedor de triggers oficial Market Feeder pro

Também faço:
Cursos sobre Market Feeder pro (gratuitos)
Triggers (gratuitos para sempre)

Para saber informações contacte-me!

NOTA: TESTE SEMPRE OS SEUS TRIGGERS ANTES DE OS USAR COM FUNDOS REAIS!

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Find second most value
« Reply #1 on: 21 Dec 2018, 13:45 »
Hi Pcal72,

If the values are properties of selections, then you can make a trigger that sorts them by this property and picks the one with match_index=2, 3, etc.

See the example attached for price difference over the last 1 minute.

If it is a list of values, then there is currently no way I'm afraid.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Re: Find second most value
« Reply #2 on: 22 Dec 2018, 09:29 »
Hi Oxa

I forgot to mention, it is user variables 

I can use MAXV( uservar1, uservar2, uservar3, uservar4.....

But if I need a second most ?? 

Is there any way to get this??

Many thanks
Desenvolvedor de triggers oficial Market Feeder pro

Também faço:
Cursos sobre Market Feeder pro (gratuitos)
Triggers (gratuitos para sempre)

Para saber informações contacte-me!

NOTA: TESTE SEMPRE OS SEUS TRIGGERS ANTES DE OS USAR COM FUNDOS REAIS!

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Find second most value
« Reply #3 on: 17 Jan 2019, 16:50 »
Sorry, can't think of any way to do this with just one formula.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE