Hello, I need a trigger that does the following:
CONSTANTS
LIQUIDITY: 1000
MINUTE: 90 (45 + 15 + 30) ie 30 minutes of the 2nd time.
STAKE: $ 10
TICKS: 10
FUNCTIONING:
It should work for several games at the same time.
I will charge the markets UO 0.5 to UO 6.5.
When the game time arrives at the time determined by the MINUTO constant, a bet must be placed BACK UNDER LIMIT if this market has the liquidity indicated in the LIQUIDITY constant. The stake value that is in the STAKE constant must be used. And on the next second that BACK UNDER is matched, we should put the LAY UNDER LIMIT to win the tick nr defined in the TICKS constant.
Example: If the game is 1x0 at 30 minutes of the 2nd time (constant), and we have more than $ 1k (constant) of liquidity in the market OU1,5, a bet of $ 10 (constant) in the moment odd must be placed ( Ex: @ 1.20) in BACK UNDER 1.5 and, 1 second after it is matched, already put LAY UNDER 1.5 @ 1.10 to win the 10 ticks (constant). We know that LAY UNDER will be unmatched at the beginning, but it will already be in the "queue".