Condition - Spread is 'X' Number of Ticks

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
CallumPerry
Posts: 575
Joined: Wed Apr 19, 2017 5:12 pm

Good evening,

I'm looking to add a rule that stops an opening bet entering the market if there is a gap between the back side and the lay side by 'X' number of ticks. On the conditions tab, I can't seem to find what I am looking for.

Is it possible to have a condition like so:
'X' best BACK price is no more than 'Y' ticks away from 'Y' best LAY price?
Where X and Y = 1st, 2nd, 3rd etc

Also, I am getting more comfortable with using signals/stored values however, is it possible to have a single rule manipulate more than one signal? For example, I have a signal that puts me into a bet. Once the bet has been placed, I want the current signal to turn off (thus not allowing a new opening bet to enter the market)
AND
I want a new signal to flick on to enter the 'manage the trade' section of the bot. Is this possible?

Cal :)
User avatar
Dallas
Posts: 23599
Joined: Sun Aug 09, 2015 10:57 pm

The relative odds condition can test the gap between the best back and lay prices

For the signal part on the bet rule you can use the signal tab to clear the signal (either all or an individual one by name)

Not quite sure what you mean in the very last part though about a signal flicking on to manage a trade, can you give some more clarification or example of what you are looking to do?
User avatar
decomez6
Posts: 695
Joined: Mon Oct 07, 2019 5:26 pm

CallumPerry wrote:
Sun Jun 27, 2021 11:41 pm
Good evening,

I'm looking to add a rule that stops an opening bet entering the market if there is a gap between the back side and the lay side by 'X' number of ticks. On the conditions tab, I can't seem to find what I am looking for.

Is it possible to have a condition like so:
'X' best BACK price is no more than 'Y' ticks away from 'Y' best LAY price?
Where X and Y = 1st, 2nd, 3rd etc

Also, I am getting more comfortable with using signals/stored values however, is it possible to have a single rule manipulate more than one signal? For example, I have a signal that puts me into a bet. Once the bet has been placed, I want the current signal to turn off (thus not allowing a new opening bet to enter the market)
AND
I want a new signal to flick on to enter the 'manage the trade' section of the bot. Is this possible?

Cal :)
you can manage the number of matched/ unmatched bets = 0 , to stop any bet from triggering until all bets have been matched.
if you are looking to exploit the gapy /jumpy markets then take dallas suggestion .

otherwise try the SERVANT file below , see if you can pick up from where i left.

it works within a range of 6 six prices .

-lay when the best price decreases by either 1,2 or 3 ticks
-back when the best price increases by 1,2, or 3 ticks

note how i use the signals ,
-set one up with a decreament /increament function
-assign a value 0 to switch back file ON
-assign a value 1 to switch it OFF

i think this is the kind of `flicker switch ` you reffering to :?:

play around with removing some of the files , especially the working ranges . meaning :run it without restricting it to the best of six prices . let me know if you notice a trend

eNJOY :)
back _lay +3-3 range.baf
You do not have the required permissions to view the files attached to this post.
User avatar
firlandsfarm
Posts: 3384
Joined: Sat May 03, 2014 8:20 am

CallumPerry wrote:
Sun Jun 27, 2021 11:41 pm
Also, I am getting more comfortable with using signals/stored values however, is it possible to have a single rule manipulate more than one signal? For example, I have a signal that puts me into a bet. Once the bet has been placed, I want the current signal to turn off (thus not allowing a new opening bet to enter the market)
AND
I want a new signal to flick on to enter the 'manage the trade' section of the bot. Is this possible?

Cal :)
Hi Callum, not sure if I'm on the same wavelength as your question re Signals but I tend to use Stored Values nowadays instead of Signals. You can add as many SV's as you want per rule and use them to monitor/control the activity the same as Signals.
Post Reply

Return to “Bet Angel - Automation”