Author Topic: How do I join two or more triggers?  (Read 830 times)

Tags:
  • All members
  • Posts: 87
How do I join two or more triggers?
« on: 01 Jun 2020, 11:43 »
Hi, as MFP is only able to run only one trigger, I understand the way around this is by combining multiple triggers if you want more than one trigger.
How do you combine two triggers? I have attached two sample triggers for you to demonstrate. I delibrately used a football trigger and a horse racing trigger to see if two different markets could be combined. Will the horse racing trigger start scalping on the football markets as a result?
Could you give step by step instructions of how you did it please? I am a complete novice.
Thank you.

  • Moderator
  • Posts: 3605
*
Re: How do I join two or more triggers?
« Reply #1 on: 01 Jun 2020, 21:20 »
Hi
Please see attached screenshot and this article.
It is likely some reworking of the triggers will be needed.

Some suggestions:
Copy the trigger blocks and paste into the new trigger file
In the markets field for each trigger choose the appropriate sport
Copy and paste any constants from one trigger to the other
Carefully work through the triggers to check for global scope user variables and constants which may have the same name and correct this
Check for variables which have a global scope to make sure they are not conflicting
If the triggers use win/lose history variables prefix these variables with e.g. hr_total_won, sc_last_lost
Use test mode to test triggers before using real mode

If have a specific requirement and you are not confident to try the mods yourself you can always put in a trigger request.  


    
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