One Bet at a time - How to?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Xioteer
Posts: 3
Joined: Thu Aug 22, 2024 7:52 am

Hi,

I am very new and am trying to work on a strategy to automate it.

I was wondering what the best approach is to create the functionality to have only one bet at a time.

Here is the gist:

- Place Lay bet on any selection, based on livescore
- Green up with min profit condition.
- While lay bet is open, no new lay bet will be opened
- Bet is allowed to lose (no stop)

The Green up is in place instead of an offset, simply because it's based on livescore as well and the profit take is dynamic.

I was trying to work with a signal.

Signal: Bet_open
- once created and set to 0 in the beginning of the match
- Changed to 1 with successful lay bet
- Changed to 0 on Green up

This is working less optimal than expected.
The green up rule was set up on all profit in the beginning, which caused it to trigger basically everytime, since after the first bet we are in green. Therefore the signal is set to 0 instantly and a new trade is made then.

I tried out the close trade on profit also with greening which caused the same issue I assume?! The condition is that it's 10% (of liability) in profit, so I get the same reaction.


Conceptually, what way would I need to go to achieve the desired outcome to open only a new trade if the old one is closed and then not interfere with everything that happened before?

P.s.: I am very early so might have missed some things. I have looked into many shared files already and looked at and searched through most documentation, so basically just need a hint for the concept.

Thanks in advance!
Post Reply

Return to “Bet Angel - Automation”