If signal == "Buy" close all sells.
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
Here's my code. My strategy plan was to enter a buy trade when 20 SMMA crossed 100SMMA. It does executed but how do i code for the exit where the 100 SMMA crossed 20 SMMA. because my current strategy is just enter and close when it hits tp. I wanted to have another option where it's either TP hits or the smma crossed again. Hopefully someone understand and show me the code. It would be a pleasure.