Lay When Price Goes Up, Then Green Up Or Distribute The Loss
Description
Lay on the highest priced selection whose odds are less than 10.0, and that grew in price by more than 10% over the last 5 mins. Green it up eventually if its price grew by more than 2 ticks, or distribute the loss equally if it fell down by more that 4 ticks as compared to the price it was laid at.
Trigger Block
Click here to download the trigger file.
Short Explanations
The block consists of three triggers. The first trigger lays on the selection that fits the criteria. The formula (lay_price - pdif_5)*0.1 will return 10% of the lay price that the selection had 5 mins ago. The words "Last Matching Selection" indicate that MF Pro will find the highest priced selection among those that meet the conditions.
Then the program will green up if the price has grown by more than 2 ticks as compared to the initial lay price. The function r_ticks(bm_layp, 2) returns the price that is 2 ticks higher than the price of the latest matched lay bet.
The third trigger will distribute the loss, if the current back price of the selection falls down below r_ticks(bm_layp, -4) - that is more than 4 ticks below the original lay price.
Screenshot