EA based on 100 bars highs and lows. MQ4

MQL5 专家

工作已完成

执行时间3 天
客户反馈
Friendly, professional, thorough, helpful, good communication, work completed as specified in a timely manner. recommend
员工反馈
Very professional and friendly customer/trader.

指定

Available position (AP) = 100

Buy Trigger:

If (price > 100 bars highest high) and (if no trade yet this bar)

then (buy 10% of AP) and (reduce AP by 10%) 

Buy exit:

Mid100 = (100 bars highest high + 100 bars lowest low)/2

If (price < Mid100) and (if no trade yet this bar)

then (sell 20% of open position) and (increase AP by the number of units)

If price < lowest low then exit all trades 


Sell Trigger:

If (price < 100 bars lowest low) and (if no trade yet this bar)

then (sell 10% of AP) and (reduce AP by 10%) 

Sell exit:

Mid100 = (100 bars highest high + 100 bars lowest low)/2

If (price > Mid100) and (if no trade yet this bar)

then (buy 20% of open position) and (increase AP by the number of units)

If price > highest high then exit all short trades 



Example:
Already bought 20 units, so AP is now 100 - 20 = 80. When buy triggered again, order is 0.2 x 80 = 16 units. Open position is now 20 + 16 = 36.
After some time, price falls below Mid100, so sell 20% of 36, 0.2 x 36 = 7.2 units (round to the nearest whole number, ie 7 units). Open position now 36 - 7 = 29.
Then next candle the price falls below Mid100 again, so sell 0.2 x 29 = 5.8 units (round up to 6). Open position now 29 - 6 = 23.
Then next candle price > 100 bars highest high. AP = 100 - 23 = 77 units. Buy order is 0.2 x 77 = 15.4 (15) units. Open position is now 23 + 15 = 38. AP is now 100 - 38 = 62.


Include normal error correction.

For testing, number of bars, AP number and the percentage should be variables. Mid100 should be able to be changed to highest high for short trades or lowest low for long trades. 

反馈

1
开发者 1
等级
(34)
项目
48
21%
仲裁
6
83% / 17%
逾期
8
17%
空闲
2
开发者 2
等级
(42)
项目
62
8%
仲裁
12
58% / 42%
逾期
1
2%
空闲
3
开发者 3
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(169)
项目
204
30%
仲裁
25
40% / 44%
逾期
12
6%
空闲
5
开发者 5
等级
(343)
项目
362
70%
仲裁
4
100% / 0%
逾期
0
已载入
6
开发者 6
等级
项目
0
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(71)
项目
103
20%
仲裁
6
0% / 83%
逾期
3
3%
空闲
8
开发者 8
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
9
开发者 9
等级
(116)
项目
137
36%
仲裁
15
13% / 67%
逾期
9
7%
空闲
10
开发者 10
等级
(266)
项目
540
50%
仲裁
55
40% / 36%
逾期
224
41%
空闲
相似订单
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

项目信息

预算
30+ USD
开发人员
27 USD
截止日期
 1 天