Hi, Where do I download this BOT? Thanks
da da #: Hi, Where do I download this BOT? Thanks
Forum on trading, automated trading systems and testing trading strategies
Indicators: TrendLine Touch Alert
Fernando Carreiro, 2022.12.28 12:24
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
Current Relative Drawdown:
The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.
Author: Manuel Arturo Gonzales Espinosa