Bollinger+PriceActionEA with custom risk management

MQL5 エキスパート

仕事が完了した

実行時間11 日

指定

hello. 

i would like a quote for a mt5 expert advisor using standard bollinger bands. I need it to backtest the system against many currencies and stocks on different timeframes which i will select manually.

1st money management variables:


'capital': standard 1000
'risk_percentage_of_capital': standard 5%

variable risk management that enables me to lower my risk percentage by 'DropRiskPerc' every 'riskMNGMTtradeNUMBER' trades, but only if the capital grows at least riskMNGMTtradeGainMin percent in the sum of all the 'riskMNGMTtradeNUMBER' trades. Also i dont want the risk percentage to  drop under value 'minRiskPerc'.
'DropRiskPerc': default 1
'riskMNGMTtradeNUMBER': default 10
'minRiskPerc': default 2
'riskMNGMTtradeGainMin': default 20

-->so for example, the first 10 trades have a fixed trade size of 50GBP per trade (5% of capital). From the 11th trade to the 20th trade i then wish it to be 4%, as risk percentage of 5% - dropriskperc equals 4%. and so on and so forth. Also important for me that during the trades the risk percentage is calculated only every 'riskMNGMTtradeNUMBER' trades, so it will always be 50GBP in this example for the first 10 trades and it will not fluctuate when the capital grows/shrinks. The 50GBP will change then when the risk percentage is recalculated before the 11th trade(so it is calculated after the 10th trades finished but not before that, if the 11th trades opens before that it will hav e to use the old trade size of 50GBP). 

The trade system:

the signal requires three candles. for a long entry:
candle A with a low, the next candleB needs to have a lower Low than the previous candle (tolerance variable needed) and that lower low is on or under the lower bollinger line. candle C then needs to have a higher low and a higher  high than candleB. entry is on the closing price of candle C(on a 4hr timeframe in the last 2minutes of the candle C, so i dont loose money when there is a gap to the next candle) so i want the Expert advisor to enter the trade shortly before candle C is finished.

for a short it is the same signals just highs not lows.

 

also do not enter the trade if the entry is over the bollinger middle line for a long, or under the bollinger middle line for a short. 



please add a tickbox that enables/disables trend against the trade, determinded my a simple or exponential moving average of default 200 (variable name 'trend_MA')

Stoploss: spread+ 'stoploss_var' is right unter the low of candle b

tickbox enables limit exit:
limit: limit is for a buy automaticly the upper bollinger line so the limit changes every candle by the previous candles upper bollinger line.
 limit is for a short automatically the lower bollinger line so the limit changes every candle by the previous candles lower bollinger line.

tickbox enables SINGLE 2bar stoploss that overriges the standard stoploss after the first candle:

for a buy: the stoploss is tolerance_stoploss away from a 2 candle high.

tickbox enables DUAL 2 bar stoploss:

needs the previous tickbox enabled too, then exits with that with 50% and the other 50% exit the 2nd time there is a 2bar candle high. i'm attaching a picture demonstrating signal, stoploss and limits.

thanks in advance,
Sylvia


応答済み

1
開発者 1
評価
(59)
プロジェクト
182
55%
仲裁
31
45% / 16%
期限切れ
103
57%
2
開発者 2
評価
(61)
プロジェクト
134
71%
仲裁
19
11% / 68%
期限切れ
43
32%
3
開発者 3
評価
(187)
プロジェクト
367
56%
仲裁
45
22% / 56%
期限切れ
188
51%
4
開発者 4
評価
(339)
プロジェクト
809
73%
仲裁
30
33% / 37%
期限切れ
194
24%
5
開発者 5
評価
(1235)
プロジェクト
2820
80%
仲裁
156
22% / 43%
期限切れ
488
17%
6
開発者 6
評価
(34)
プロジェクト
80
34%
仲裁
13
31% / 54%
期限切れ
19
24%
7
開発者 7
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
8
開発者 8
評価
(71)
プロジェクト
254
53%
仲裁
16
50% / 38%
期限切れ
83
33%
9
開発者 9
評価
(30)
プロジェクト
93
49%
仲裁
18
56% / 17%
期限切れ
38
41%
10
開発者 10
評価
(4)
プロジェクト
7
43%
仲裁
5
0% / 60%
期限切れ
3
43%
類似した注文
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
We are seeking a skilled developer who can convert a Tradingview indicator written in Pinescript to a NinjaTrader indicator written in C#. The goal is to create a profitable trading strategy using this indicator. The successful candidate will have expertise in both Pinescript and C# programming languages, as well as a strong understanding of trading indicators and strategies. The main responsibilities will include
I am seeking an experienced MQL5 developer to create a user-friendly manual Grid Trading Expert Advisor (EA) with the following key features: Dynamic Grid Trading: Adjustable Grid Distance: Traders can manually input grid distance in pips via an intuitive, movable table. Take Profit Management: Fixed TP for the initial positions (e.g., first 5 trades). Stop-Loss (Optional): Traders can choose to use a stop-loss with
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode

プロジェクト情報

予算
締め切り
最低 1 最高 20 日