I am trying to get betangel automation to only place a lay bet at a certain price if the price is coming instead of going out, to try and scalp the crossovers, laying.
I have input a condition that is last traded price 15 seconds ago is > than last traded price now. Previously i had experiemented with saying 15 secs ago > 5 ticks, 10 secs ago > 3 ticks, 5 seconds ago > 1 tick... etc but what i found was the noise just made the bot not get activated
is there a more efficient way of tracking a price movement? I have seen you can look at doing it by percentages?
Tracking a selection that is coming in
- ShaunWhite
- Posts: 10542
- Joined: Sat Sep 03, 2016 3:42 am
You could try a simple price velocity measure—e.g., (LTP now - LTP X secs ago) / X—to smooth out noise while still detecting real movement. A moving average of price changes might help, but percentages (like 100/price) won’t add much since tick size isn't linear.
-
- Posts: 8
- Joined: Tue Jun 12, 2018 12:23 am
Hi many thanks for your reply, i have tried to do this but struggle with producing stored values and using them. Will definately have a look at doing this though and will share my results 

There's an example here which scalps when at a crossover, which you could edit so it only lays first
viewtopic.php?p=98071
viewtopic.php?p=98071