
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey guys,
Here's a part of my code. Can someone check to see if there's a mistakes?
What I want is that, "If a recently closed order profits bigger than 1 USD, then sleep for 48 hours."
I took the 10,000 = 10 seconds
60,000 = 60 seconds X 60 (minutes) X 60 (hours) X 48 (48 hours)
= 172,800,000
Is it correct to add
Under ManageClose? Will it cause problems? Such as repeated closing and open of trades? (which of course resulted in huge losses)
I need it to look at the order profit of RECENTLY CLOSED trades. Which means a trade that just closed WITHIN a minute ago instead of 1 day ago or 1 hour ago.
Please also tell me if I have small mistakes such as semicolons, commas etc...
Thanks alot !