Recovery Hedge (Range Bars)

MQL5 指标 专家

指定

#### **Indicators**
1. **Daily % Movers**:
- Symbol Identification**: Identify the symbol with the highest absolute percentage change for the day. This symbol will be the active trading symbol until another symbol achieves a higher absolute percentage change.
- Calculation**: Calculate the daily percentage change using the formula provided in the attached file.

2. **Range Bars**:
- Construction**: Construct Range Bars based on price movement rather than time intervals.
- Spread Data**: Calculate the average spread for all symbols.
- Range Bar Size**: Set the minimum range bar size to the average spread value of the symbols.
- Heiken-Ashi**: Apply the Heiken-Ashi technique to the range bars.



#### **EA Rules**
1. **Entry**:
- BUY Order**: Place a buy order at the close of a bullish Heiken-Ashi candlestick.
- SELL Order**: Place a sell order at the close of a bearish Heiken-Ashi candlestick.

2. **Recovery Hedge**:
- No Stop Loss**: Instead of using a stop loss, place a recovery hedge trade.
- Hedge Distance**: Calculate the hedge distance as a multiplier of the ATR (Average True Range) value of the range bars.

3. **Exit**:
- **Take Profit**: Set take profit in points, calculated as a multiplier of the ATR value.
- **Break-even Trailing Stop**:
  - Activation**: Activate when the price reaches a specified number of points away from break-even and is in profit.
  - Trailing Mechanism**: The trailing stop will follow the price until the position is closed, using a multiplier of the ATR value to determine the trailing stop distance.



#### **EA Settings**
1. **Start At 00:00:00**:
- Option to Enable/Disable**: Enable or disable this feature.
- Function**: EA starts trading at the open of the new trading day.

2. **Daily % Mover**:
- Option to Enable/Disable**: Enable or disable this feature.
- Function**: If enabled, trades the current top % mover by absolute value. If disabled, trades the current symbol on the chart only.

3. **Average Spread Bar Size Multiplier**:
- Function**: The minimum size of a range bar is determined by the average spread of the symbol, multiplied by a specified factor.

4. **ATR Multiplier Recovery Hedge**:
- Function**: Use a multiplier of the ATR value to set the distance for the recovery hedge trade.

5. **ATR Multiplier TakeProfit / BE Trailing Stop**:
- **Take Profit**: Set take profit in points, calculated as a multiplier of the ATR value.
- **Break-even Trailing Stop**:
  - Activation**: Activate when the price reaches a specified number of points away from break-even and is in profit.
  - Trailing Mechanism**: The trailing stop follows the price until the position is closed, using a multiplier of the ATR value.

6. **Position Sizing**:
- Fixed**: Specify a fixed lot size for every trade.
- Balance%**: Use a specified percentage of the account balance for each trade.
- Equity%**: Use a specified percentage of the account equity for each trade.

7. **Max Risk % Per Trade**:
- Option to Enable/Disable**: Enable or disable this feature.
- Specification**: If enabled, specify the maximum percentage of the initial account balance that can be risked on a single trade.

8. **Max Lots Per Trade**:
- Option to Enable/Disable**: Enable or disable this feature.
- Specification**: If enabled, specify the maximum lot size allowed for a single trade.

9. **Max Daily % Profit**:
- Option to Enable/Disable**: Enable or disable this feature.
- Specification**: If enabled, specify the target maximum daily profit as a percentage of the account balance. Once this profit level is reached, no further trades will be placed for the day.

10. **Max Daily % Drawdown**:
- Option to Enable/Disable**: Enable or disable this feature.
- Specification**: If enabled, specify the maximum allowable daily drawdown as a percentage of the account balance. Once this drawdown level is reached, all trading for the day will stop.

反馈

1
开发者 1
等级
(55)
项目
80
54%
仲裁
9
33% / 33%
逾期
7
9%
工作中
2
开发者 2
等级
(19)
项目
18
11%
仲裁
2
50% / 50%
逾期
0
空闲
3
开发者 3
等级
(10)
项目
25
28%
仲裁
1
0% / 0%
逾期
1
4%
工作中
4
开发者 4
等级
(4)
项目
4
50%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(445)
项目
504
33%
仲裁
25
40% / 48%
逾期
7
1%
已载入
6
开发者 6
等级
(67)
项目
76
7%
仲裁
33
9% / 55%
逾期
6
8%
工作中
7
开发者 7
等级
(8)
项目
11
9%
仲裁
5
0% / 60%
逾期
1
9%
空闲
8
开发者 8
等级
(233)
项目
414
34%
仲裁
52
37% / 40%
逾期
153
37%
已载入
9
开发者 9
等级
(10)
项目
15
27%
仲裁
3
67% / 33%
逾期
0
空闲
相似订单
The strategy is based on 2 MOVING AVERAGE conditions across multiple timeframes. The primary indicator used is the 2 MOVING AVERAGE.I am sending videos of the strategy for clarity. Steps to Create the Indicator Use a fast and a slow moving average (e.g., 10 and 23 periods). Generate a buy signal when the fast moving average crosses above the slow moving average. Generate a sell signal when the fast moving average
I need help with a specific issue in NinjaTrader 8. I'm using Strategy Builder to automate my setup, but it's ignoring some of my conditions for shorts, and not placing long trades at all. I've set up many other Strategies, and never had issues like this, so I suspect the cause is the indicator I'm using, which is the Ichimoku Cloud from the NT User App Share. So what I need is a new version of the indicator that
I already have a Fibonacci based indicator which give precise entry as well as take profit and stop loss levels without repainting. I want to convert this to an EA so as to enable it pick trades automatically. Pay attention to the attached Images for entry and exit description. The EA will be protected with password or any other security protocols. THE EA OUTPUT will be in MQ4 & MQ5
I need help with a specific issue in NinjaTrader 8. I'm using Strategy Builder to automate my setup, but it's ignoring some of my conditions for shorts, and not placing long trades at all. I've set up many other Strategies, and never had issues like this, so I suspect the cause is the indicator I'm using, which is the Ichimoku Cloud from the NT User App Share. So what I need is a new version of the indicator that
// Define the properties input int ShortPeriod = 12; input int LongPeriod = 26; input double LotSize = 0.1; // OnTick function is called every time there is a price update void OnTick() { double shortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double longMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double prevShortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
I have a EA and A Indicator I want to upgrade with some new features I want to add to the Indicator And The EA Also there is a memory error in the system that is showing up in the journal after the ea is ran on multiple charts I will need to get this fixed as well Indicator is 528 lines of code EA is 703 lines of code Dashboard I want to add is 1974 lines of code Indicator Changes I want to change the indicator The
Hello there, I've a 125 lines of pinescript code which i want to convert to MT4/5 Both platform. Developer must have experience with Divergence detection and Pivot points. Apart that, i want Indicator must be Scanning Feature to all timeframes, all marketwatch pairs and custom pairs. Must need alert feature. That's all. Very easy task who knows divergence detection and pivot. Max budget $40
Active expert 250+ USD
hi, I must do changes to a dashboard with manual input of trader and active expert. Budget 250$ Can do? the budget is correct based on job to do. If you want me to increase the budget you can message me
STI EA 30 USD
I need to convert this MT4 indicator into MT5 EA/indicator. The problem is I only have the .ex4 file bt not .mq4 file and it is also a repainting indicator. I need preliminary assessment if the conversion can be done based on .ex4 file first before exploring the EA details further. Attached is the indicator Budget below is just indicative for the assessment. We can discuss further once the conversion can be done and
i need a custom indicator in mql5 syntax with arrows to point when to buy or sell at time frames M5 and M15. the bellow settings and criteria look into higher time frames to confirm entries. I need extra string to add symbols: input string symbol2 = "DXY"; input string symbol3 = "US10Y"; i have made a very basic sketch on chatgpt but it needs professional code work that i can send you. Indicators and Settings Used

项目信息

预算
250+ USD
截止日期
 1  5 天

客户

所下订单2
仲裁计数0