MACD Divergence/Crossover Robot

仕事が完了した

実行時間48 日

指定

Please create a robot that identifies divergences (both positive and negative) in the MACD compared to price swing highs or swing lows and provides an entry order when the MACD lines crossover subsequently.  Desire an order sizing feature based upon % stated risk.  Desire initial stop loss placement just outside of the swing that also accounts for the bid/ask spread.  A 3 exit strategy including 1/3 off @ 1:1 reward/risk target, half remainder when 3:1 reward/risk is hit, final position managed with a dynamic trailing stop.  This is the meat of the programming I desire.  A screen shot of the signals that I would expect the program to uncover is attached, including up (lime) and down (red) arrows for the signals. Details of the program description can be emailed to you since it is a Word document. JAShalvey@gmail.com    Here are the details of the project:

 

 Trade Plan with Programming Details

 

Broad Concept:  Utilizing MACD Crossover with 12, 26, 21 settings, trade set ups occur when the blue line (formed by 12, 26 parameters) diverges with price.  Entry signal occurs when blue line crosses red line (formed by 21 parameter).  Initial stop loss order placed just beyond the most recent swing point price extreme.  After defining this risk, first profit is taken at the 1:1 (reward: risk) price by closing half the position of the trade.  Stop loss order is moved to break even (the entry price).  A “free trade” is now in play since the trade is now profitable with zero chance of becoming a loser.  If the trade reaches the 3:1 profit price point, then half of the remaining (25% of the original position size) position is removed.  The final portion of the position (last quarter of the original position) is managed with a trailing stop that is positioned just outside of the most recent swing extreme until ultimately getting stopped out.  If a signal is given in the opposite direction while a trade is still open, then the signal should be ignored.  The position size is determined by utilizing the initial stop loss risk amount and dividing it into the dollar amount of the maximum risk on the trade.  No less than 5% and no more than 25% of the account should be placed at risk on any single trade.

 

Settings:

1.     MACD parameters (12,26,9) as default, but trader can change all three of these.  Trader is given the option to see the MACD Histogram or not, even though it does not influence the program (default setting is NOT visible).

2.     Targets for each of the 3 exits (factory: 1:1, 3:1, Trailing)

3.     Ability to include the spread of the security being traded in the calculation of the original risk & hence be included in the placement of the original stop.  This should also be automatically accounted for when stop automatically moves to break even after the first profit target is reached.

4.     If MACD blue line is same as MACD red line (lines are VERY close to crossing), then entry trigger occurs when prior bar’s extreme is exceeded by 1 unit(tic).  Otherwise, the entry trigger occurs when the blue line has crossed the red line and entry is taken promptly upon the open of the next bar.

5.     Program will show a red line off the peaks of prices when a bearish divergence is present (even if the MACD has not crossed and thus causing a trade signal).  In other words, the bearish divergence is the “warning” before an actual trade signal is given by the MACD.  Vice versa for bullish divergence, which would show Lime green off the troughs of price action prior to the MACD signal.

6.     Ability to tweak the maximum % of account value that you are willing to lose on any single trade by calculating the difference between the entry price and initial stop loss, then calculating position size automatically.  Position size should be rounded to nearest whole number.

7.     New trade set ups and/or signals should be ignored if current position is still open.

8.     Lime-green up arrow and red down arrow (exact point of trade entry) should appear on the MACD indicator chart on the bar/candle where entry position was taken.

9.     An automatically placed TTO order when new position is taken.  The parameters would be that the stop order would be [1 unit/tic + the current trade spread] outside of the recent swing low or high ALWAYS.  The take profit would be such that half (this parameter of the initial profit percentage should be set up as a variable that the trader can choose prior to running the program) of the position is closed when a 1:1 reward to risk ratio has been hit.  The stop would then automatically be moved to break even (entry price).  1/4th of the original position (again, this parameter of the profit percentage should be set up as a variable that the trader can choose prior to running the program) is closed when a 3:1 reward to risk ration target has been hit.  The stop would then automatically be moved to [1 price unit + spread] outside the most recent swing high or low.  Then it automatically gets adjusted if price takes out a high or low by moving it to the new recent swing high or low (+/- [1 unit+spread]).  These parameters (profit %’s) must be able to be changed to configure optimization and/or accommodate different trading styles.

10.                        Ability to use a parabolic trailing stop after 1st half of position is closed and/or for final quarter of position, including the ability to tweak the parameter of this parabolic trailing stop (to either make it tighter or looser).  So, after initial profit taken as X%, the second profit parameter of X% choices are 1)some multiple of the initial risk, with 3:1 being the default setting, or 2) a parabolic trailing stop with the ability to change the parabolic variable used to make it tighter or looser.

11.                        Program will show the stop order as a yellow horizontal line that begins where it was initiated, projects three time frames into the future (for ease of visibility when it initiates), and grows to the right with each passing time frame.  When stop level changes, the old stop stays on the screen but the new stop begins at the new level and projects 3 time frames to the right.  Parabolic stops will only show a yellow dot (instead of the horizontal line) with prior stops staying visible on the screen as the parabolic stop changes with each passing time frame.

12.                        Program will be scanning multiple currency pairs and/or securities looking for trades.  Trader will have the flexibility to choose the currency/security and each security’s time frame.  The trader can decide upon one or several time frames per currency/security.  The choices will be 1 min, 5 min, 15 min, 1 hour, 4 hour, daily.

13.                        Program can have multiple positions open simultaneously with the ability to place a maximum allowable limit on how much of the account can be used at any one time.  (this will prevent the software from getting into too many positions and causing potential margin calls when positions go against you only modestly and are not actually stopped out)  If possible, never let a new position to be opened when all the maximum risk exposures are added up to equal X% of the account value.  This will allow the trader to be able to decide how much of the account is willing to be risked. (i.e., trader doesn’t want to have more than 50% of account invested at any one time, so program ceases to open any new positions until there is free capital below this 50% ceiling.) 

14.                        Use market orders always, but have the option to choose a limit order for both entry and exit orders.

15.                        For traders that want a more hands on approach, have the software provide an audible and visual alert (YELLOW up or down arrow on the MACD above or below the fast blue MACD line) when line is diverging with price.

16.                        Position size, initial stop loss, and profit targets upon entry trigger should be shown on the chart so that the trader can see what the software has chosen, or so the hands on trader can quickly place an order based upon these parameters (when the software is not being run in robot mode).  The targets and stop loss should be displayed on the chart as lines (red for stop, green for targets) Ability to integrate with trade platform and preload order entry if possible when the trigger is tripped (so trader doesn’t have to fumble typing in the order parameters but simply has to click the entry icon.

17.                        Trader has a “settings” screen to easily change the parameters mentioned above (Currencies/securities to scan, time frames of each, % of account value at risk per trade, max % of account value invested at any given time, % profit taken at 1st exit, 2nd exit, MACD histogram visible or not, 2nd exit parabolic or fixed ratio of initial risk, etc.) without having to access the coding itself.

18.                        Coding will remain inaccessible to renter users, but will be to owners (me & purchasers).  Visual effects (MACD, arrows, lines) will not be visible to MQLS5 renters, but only to purchasers of the software.

19.                        I will have the ability to download the program and burn a hard copy CD that I can install onto multiple computers and upload to my website so that a future purchaser can download to their computer.

20.                        The program will have the ability to be back tested utilizing the data provided by MQL5 broker and create statistics, equity charts, etc. like those seen from these broker platforms already.

21.                        Payment will be made once the above parameters have been tested and met will satisfaction.                       

PS- The attached screen grab is to help you visualize exactly what I am looking for.  Please note:  I want a blue LINE created on the MACD in-lieu-of the blue bars shown in this illustration. 

ファイル:

PNG
Untitled.png
112.0 Kb

応答済み

1
開発者 1
評価
(118)
プロジェクト
201
42%
仲裁
44
9% / 68%
期限切れ
47
23%
2
開発者 2
評価
(647)
プロジェクト
1295
67%
仲裁
84
26% / 49%
期限切れ
338
26%
3
開発者 3
評価
(58)
プロジェクト
89
38%
仲裁
26
4% / 77%
期限切れ
39
44%
仕事中
4
開発者 4
評価
(128)
プロジェクト
236
65%
仲裁
30
37% / 23%
期限切れ
49
21%
5
開発者 5
評価
(339)
プロジェクト
809
73%
仲裁
30
33% / 37%
期限切れ
194
24%
6
開発者 6
評価
(13)
プロジェクト
24
42%
仲裁
3
33% / 0%
期限切れ
4
17%
7
開発者 7
評価
(1855)
プロジェクト
3458
88%
仲裁
73
40% / 15%
期限切れ
265
8%
仕事中
8
開発者 8
評価
(49)
プロジェクト
134
27%
仲裁
62
13% / 53%
期限切れ
58
43%
9
開発者 9
評価
(25)
プロジェクト
54
37%
仲裁
4
0% / 50%
期限切れ
22
41%
10
開発者 10
評価
(44)
プロジェクト
100
39%
仲裁
17
29% / 47%
期限切れ
32
32%
11
開発者 11
評価
(103)
プロジェクト
205
41%
仲裁
17
29% / 71%
期限切れ
45
22%
12
開発者 12
評価
(88)
プロジェクト
138
25%
仲裁
33
33% / 45%
期限切れ
59
43%
仕事中
13
開発者 13
評価
(219)
プロジェクト
370
42%
仲裁
145
17% / 41%
期限切れ
124
34%
14
開発者 14
評価
(272)
プロジェクト
394
63%
仲裁
70
53% / 26%
期限切れ
198
50%
15
開発者 15
評価
(25)
プロジェクト
50
28%
仲裁
47
9% / 72%
期限切れ
23
46%
16
開発者 16
評価
(2)
プロジェクト
2
0%
仲裁
13
8% / 92%
期限切れ
1
50%
17
開発者 17
評価
プロジェクト
1
0%
仲裁
0
期限切れ
1
100%
18
開発者 18
評価
プロジェクト
0
0%
仲裁
1
0% / 100%
期限切れ
0
類似した注文
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

プロジェクト情報

予算
300 - 750 USD
開発者用
270 - 675 USD
締め切り
最低 15 最高 30 日