Pages:
Actions
  • #1 by Mr.Martingale on 30 Jun 2014
  • Hi

    I’m experiencing strange triggerproblems with the variables: “sel_place” and “winner_name”

    In time machine connected to excel, monitoring the markets using the above variables, there’s no problems as long I’m not making any bets at the same time. Somehow, if my trigger also places bets, the “sel_place” variable only returns zero’s and the “winner_name” variable remain blank?
    I’ve made a trigger to expose the problem: As long the third trigger block “Test 3” is NOT enabled, everything works fine. But if I enable the block, the problem arises.

    What’s going on?

    Any sort of help is much appreciated. Thanks a lot in advance!
    Kind regards
  • #2 by Mr.Martingale on 02 Jul 2014
  • No help to be found? Suppose the problem is genuine then. Sincerely hope some sort of solution exist.
  • #3 by Oxa (WellDoneSoft) on 02 Jul 2014
  • Sorry, I did not post right back, but I need time to look into it. I'll update you as soon as I have anything.
  • #4 by Mr.Martingale on 02 Jul 2014
  • No problem, and thanks for letting me know. Looking forward to your response.
  • #5 by Oxa (WellDoneSoft) on 02 Jul 2014
  • The behaviour is different because when there are bets to settle, the trigger in the settled market is called twice - first when the bets are being settled, second - when the winner has been determined. Use a condition to prevent the trigger from being executed if the winner's name is blank. See the fixed triggers attached.

    I admit that there is nothing on this in the manual, will add relevant info.
  • #6 by Mr.Martingale on 02 Jul 2014
  • Brilliant! Thanks for great support
  • #7 by Mr.Martingale on 04 Jul 2014
  • By avoiding the trigger being executed if the winners name is blank works perfectly in time machine mode. However, in real mode (UK horses) I’m still struggling with the variables “sel_place” and “winner_name” – using the above condition, the trigger seems never to be executed? Any differences between real mode and time machine mode I should be aware off? Or even better, do you have an explicit solution to call the above variables in real mode while executing real bets in UK horseraces? Thanks in advance!
  • #8 by Mr.Martingale on 04 Jul 2014
  • It’s a bit of a mystery to me: Running the trigger on US horses in real mode, everything works fine. Could it have something to do with markets going in live mode?
  • #9 by Oxa (WellDoneSoft) on 04 Jul 2014
  • Hmmm, I can see where the problem is. I'm gonna make some tweaks to the code to provide for certain situations, like the one you described. Stay with me here, will update you as soon as the new code is available.
  • #10 by Mr.Martingale on 07 Jul 2014
  • Sounds good! Any progress with the codefix? Or should I wait until the next update of MFPro?

    Kind regards
  • #11 by Oxa (WellDoneSoft) on 09 Jul 2014
  • Just letting you know that the issue has been fixed in the latest update 7.2.0.2. Recommended redownloading and reinstalling.
  • #12 by Mr.Martingale on 10 Jul 2014
  • Perfect, thanks a lot!
Pages:
Actions