Hi Seuntjie I want to add a line in programmer mode to reset "profit" back to zero in "stat" when it reaches a certain amount, say 0.01000000. How to write the code?The ,main idea is:If profit > 0.01000000 then profit = 0.00000000Thank you for making this forum!
lastprofit = profitfunction dobet()If profit-lastprofit > 0.01000000 then lastprofit =profitendend
Thank you for your prompt reply. Can you also show me the code to reset all stats if profit > 0.01000000?
resetstats() Returns: Void. Resets the session stats for the bot. Takes effect in programmer mode after next bet.
if profit > 0.01 then resetstats()end