
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,
I have a problem with my code and I am not sure how to resolve this.
I want to open a single position every time a condition is met. This I have been able to accomplish.
The other part is to set a trailing stop loss on this open position. Here is where the problem lies.
My current code sets the trailing stop loss to the position but only once and does not adjust it accordingly there after.
Please shed some light on where I am failing and how I can resolve this.