Author Topic: lt_ma. Doubt!!  (Read 2830 times)

Tags:
  • All members
  • Posts: 60
lt_ma. Doubt!!
« on: 15 Mar 2013, 15:47 »
Hi to all. I have a very big doubt about how mfp calculate the variable lt_ma. I know that the variable calculates the average last traded price over the time set by the market history depth. This is ok, but the doubt is:

Option A. We have set the history depth in 10 mins. And in this 10 mins the last traded prices where 1.5, 1.8, 1.2, 1.5, 1.5, 3.38 and 2.2 so the average is

Lt_ma-->(1.5+1.8+1.2+1.5+1.5+3,38+2,2)/7=1.854

Option B. Same as A but because the price 1.5 is triplicated it only take it as one time so:

Lt_ma-->(1,5+1,8+1,2+3,38+2,2)/5=1.996

How mfp caculates? Like option A or Like option B.

Best regards

  • All members
  • Posts: 60
Re: lt_ma. Doubt!!
« Reply #1 on: 17 Mar 2013, 09:47 »
Any help with this doubt?

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: lt_ma. Doubt!!
« Reply #2 on: 17 Mar 2013, 10:35 »
The algorithm used for calculating lt_ma in MF Pro is very simple: it adds up all values of last traded price that the program has been saving over the last n (the chosen history depth) minutes. Then it divides the sum by the number of refreshes in that period of time.

So the answer to your question is "Option A".
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 60
Re: lt_ma. Doubt!!
« Reply #3 on: 17 Mar 2013, 15:19 »
Ok oxa. Perfect solution to my doubt.
 thank you very much!!

Regards

 

Please note, BetFair is seems to be currently OFFLINE