Hi mcbee,
I have been studying the trigger and it seems a quite ingenious idea.
If i understood well you would save for both triggers scalpit and scalpit2 the times and prices at which bets were placed. Then you would use those times and with the "more options" conditions in the cancel triggers you would determine that just the single bet that has the right amount should be canceled. Am i right?
Unfortunatly in the preliminary tests i made i detected what seems to be some problems:
1-The price expressions for unmatched lay and back bets on both scalpit and scalpit2 are the same. That can cause problems when there are more than 1 unmatched lay or back bets:
If there are 2 bets and those bets were placed by the same trigger it updates the prices and the time expressions to the values of the last unmatched bet. So the cancelled bet would be the last one or both in the case they have the same price.
If those same 2 bets were placed by diferent triggers, the price and time expressions of the 1st bet doesn´t change when the 2nd bet is placed, but just when a new bet is placed by the trigger that put the 1st bet. That will just happen when one of these 2 bets is matched. In the cases where the bets were placed by diferent triggers there wouldn´t be a problem.
2-strangely the "Stop Losses Lay scalp 2" trigger seems to be activated before the time condition is achived. I can´t understand why it says "condition is true" when it didn´t arrive to the required 30 seconds since the bet was placed.
3-Also in the "Stop Losses Lay scalp 2" trigger i guess the condition must be "and selection´s lay price is greater than s2lp" instead of s1lp.
4-Is in the stop losses necessary the condition "and selection´s lay/back price is greater/less than"?It´s the reason why they are unmatched. Is it necessary to use it?
5-The close block condition makes that sometimes a single bet remains in the market not letting another one to be placed. As you noticed before it´s a condition i don´t know very well. Is it required here, or i could do it without it?
As i told you i just made preliminary tests and you know that i just have basic knowledges of MFD. So, there´s a good probability that i am saying nonsenses mainly in the 1st point due to its complexity.