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
Check out the new article: Market Simulation: Position View (XII).
In the previous article, I showed how to move Stop Loss and Take Profit lines with minimal effort. Many people consider this a very complex and difficult task, given the number of steps involved. Without the proper precautions, the chart may display a price level that differs from the one recorded on the server. This can happen if you move a line to a new price level, but the server doesn't register the change. As a result, in real trading, you may suffer significant losses while securing only minimal profit. You should always try to make as few changes to the code as possible. When we make any changes, we must ensure that they align with the system's expected and actual behavior.
Following the same philosophy—making as few changes as possible and trying to get as much as possible—let’s see how we can incorporate some information into the position indicator that will let us know whether we’re holding a short or long position. And all of this—just by looking at the chart.
Author: Daniel Jose