This indicator shows the risk exposure per pair and in total, by calculating the risk value of all the open positions that have stop loss orders, so I can clearly see the value being risked in $ and % of balance amount (e.g., $1,000) that I should input in the properties window of this indicator.
The indicator logic is as follows:
If position is in profit = current price of pair - stop loss of this position
if position is in loss or no profit = order execution price - stop loss of this position
Obviously, you need to differentiate between buy and sell order in your source code to account for the sign.
You need to loop over all open positions for each pair (not limit orders) and sum the total risk amount for each pair and all pairs (i.e., total)
On the chart window bottom left corner, you should display the total risk in USD and % for the current pair and total risk for all pairs in USD and %
This must be an indicator not EA.
Font should be black and font size is 14. This indicator should be a replica of the following "Risk Exposure" indicator on this website:
https://the5ers.com/downloads/
Please watch the indicator video before you apply.
In the input menu, I should have the following inputs to change:
Font size and color
Location of display on chart window (upper left corner, upper right corner, lower left corner, lower right corner)
The balance that I will input (e.g., $1,000) of which the % open risk will be calculated from and displayed next to the dollar amount.
The indicator should remember my last inputs
You should walk me through the source code before project completion. I have experience in programming (Python, MATLAB...) but haven't used MQL editor before.
Looking forward to working with you.
Ordini simili
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
Requirements Specification Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with
I will pay you a REWARD, if you find / create an EA that fits ALL the below criteria! Platform : MT4 ONLY! NOT MT5, I repeat: NOT MT5!! Timeframe : doesn’t matter Pair : doesn’t matter Strategy : doesn’t matter Drawdown : no more than 25% Return : minimum 5%, every month Lot sizing : dynamic lots I will backtest the EA with 99.9% tick data accuracy for a period of 20+ years . If the EA can produce minimum 5% returns
Recently I have backtested more than 100 EAs and I have come to a conclusion that in the long-term all of them produce catastrophic results. I used 99.9% data quality and whenever possible decades of data. In the short-term almost all of them can have nice gains. But there is hardly any EA that could survive even just 3-5 years, let alone decades ! This got me thinking: if almost all EAs are unfit for long-term