Already have the base script , Need following logic to be added in the code.
The code will have these as inputs defined by user.
Value is total PnL on the Webpage.
Below is example of the logic.
user_name = 'XXXX1'
passwd = xxxxx
pin = 'xxxx'
stoploss = '-998'
T1 = "1000"
T2 = "1000"
If Value > T1 , following happens
>>Change stoploss to 'Stoploss + T2"
>>T1 = T1+ T2
T1 = 1000+1000 = 2000
stoploss = -998+1000 = +2
Again if Value > T1, change stoploss and T1.
T1 = 3000
stoploss =+2+1000 = 1002
And it keeps going on.
It should support both negative/positive values,
should support high values like 2,00,000
10 фрилансеров(-а) готовы выполнить эту работу в среднем за ₹1160
Hello Sir, I'm Mahmoud Hegazy, Full Stack Web Developer , I have 3 years experience in Python and PHP, I can finish this task in 1day I will take 1000 INR , let's discuses the details