Hello Guest

help adding to a script

  • 1 Replies
  • 1347 Views
*

bobwood

  • **
  • 8
  • +0/-0
    • View Profile
help adding to a script
« on: October 01, 2018, 06:41:07 pm »
I want to edit this script  https://bot.seuntjie.com/scripts.aspx?id=4202

mainly want to add to "stop_if_balance = 0.5 --set limit to stop script, script will stop if balance > value"

i want to make it stop if it reaches 0.00100000 or stop if drops down to 0.00001000

*

ak47

  • **
  • 26
  • +0/-0
    • View Profile
Re: help adding to a script
« Reply #1 on: October 09, 2018, 07:31:30 am »
ADD THIS TO YOUR SCRIPT befor and after function dobet

Target = 0.00100000       -- <<Stop at this Profit Target>>

function dobet()

        if profit>Target then
    print("TARGET REACHED!")
        stop()
        end