Pivot Point based EA - MT4

MQL4 Experts

Specification

Pivot Point based EA

1. Background

This is an EA to be based on the hourly (H1), 4 hourly (H4), daily (D1), weekly (W1) or monthly (MN) pivot point (to be selected from a drop down box) called "PP" below with a OHLC price time frame to be selected using all available MT4 time frames (for example (but not limited to), 15 minutes, 1 hour, 1 day etc) with strategy rules below to decide a buy or sell trade. The pivot point is to be based on the code below which is taken from a PP indicator (see section 5) plus there is another indicator code (see Section 6) which has the ability to shift the D1 pivot point using a day that is advanced (or retarded) from the server time (called Pivot Day). So there will be a need to provide a pivot point in the EA which allows the daily (if selected) to be shifted from the server time.

2. Strategy

The strategy will disclosed on a confidential basis to the selected Developer. 

It is based on price action and it's interaction with the Pivot Point.

The strategy will require either instant buy or sell order be placed or limit orders placed based on a set if rules.

Close the trade using a TP/SL/Trailing and some other rules will apply (to be described to the Developer later) . 

3. EA parameters

The pivot points formula can be found in the code in section 5 below which is an indicator. However this code has features not required for the EA such as plotting R1,R2,R3,S1,S2,S3,M0,M1,M2,M3,M4,M5; CountPeriods; Plot_middle; Plot_camarilla.

At the end of the day all that is needed is to calculate Pivot for H1, H4, D1, W1 or MN = (high+low+close)/3.0 (with the high/low/close being based on the previous H1, H4, D1, W1 or MN)

The code in section 6 below shows the code for shifting from the server time which is from an indicator.

Both codes are provided for information purposes only as it may save you time re-coding. 

The H1, H4, D1, W1 or MN Pivot point and OHLC price timeframe (from M1 to W1) will be chosen from a drop down lists in the EA so I can chose which Pivot point and OHLC price time frame I want to use.

The code to be used from in section 5 and section 6 below is to be a part of the EA rather than using the code in a separate indicator file. Each pivot point must be programmed to the be non-repainting.

The EA Input Tab will have the following parameters

PP chosen = drop down box to choose the PP - H1, H4, D1, W1 or MN
Shift = the number of hours to shift from the server time if D1 is chosen
timeframe = the time bar (OHLC) timeframe
[5 additional confidential parameters to go here which will be disclosed to the selected Developer]
StealthMode: Hides SL, TP and Trailing from broker.
Lotsize: When using fixed lot, set size here.
UseMM: Set true to activate money management.
LotsPercent: Percentage of balance to be used by MM to place orders
MaxLot: Maximum lot size allowed.
MinLot: Minimum lot size allowed.
Stoploss: Stop loss 
TakeProfit: Take profit
Breakeven: Amount of profit to take when a profit trade is turning to loss.
Starttrailing: Profit to start trailing stop
TrailStop: Value to trail a profit trade.
TrailStep: Steps for movement of the trail.
Magic_Number: EA magic number.
maxtrades = Maximum allowed total number of trades 
tradesperbar = Maximum allowed orders per bar 
slippage = Maximum slippage allowable at the point of entry. 
maxspread = Maximum spread allowable at the point of entry.
expiration = In minutes. Time for pending orders to expire. (0 = false). 
Close all = true = allows to close all trades and pending orders [M] minutes before the end of the current hourly (H1), 4 hourly (H4), daily (D1), weekly (W1) or monthly (MN) pivot point.
Close time = [M] minutes = if "Close all" is true ...the number of minutes to "Close all" trades and pending orders before the end of the current hourly (H1), 4 hourly (H4), daily (D1), weekly (W1) or monthly (MN) pivot point
usetimefilter = To enable time filter.
trade market open= To trade since market open.
Time of trading : Trading_24h = TRUE/false;
StartHour: Time for EA to start (server time). (0 = false)
EndHour: Time for EA to stop (server time). (0 = false)
Trading days: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday (each can be chosen)
fridayfilter = Set last new orders on Friday before market close. No more trading after this time until the next week market open, except existing trades can be closed if the trading rules are triggered (ie SL/TP/Trailing etc).
fridayhour = In hours (server time).
fridayminute = In minutes (server time).
Etc etc as required

4. Other requirements

- I will own all copyright and other intellectual property in the code.

- The EA will also work for Gold (XAU) and silver (XAG)

- The source code is to be provided and is to have commenting & narrative for each component to understand it and be consistent with generally accepted MQL4 coding best practices.

- to work for a 5 digit broker.

- for pips Eg. 1.1 is 1.1 pips, where 20.1 is 20.1 pips (example 1.00201 minus 1 = 20.1 pips)

- English will be the governing language of this contract.

- any bugs are to be fixed as part of a 1 month testing period (the final milestone will be paid at the conclusion of the testing period).

- this project is to be kept strictly confidential.


5. MT4 indicator code for pivot points - see attached file "Pivots ALL.mq4" 

6. MT4 indicator code for Daily Pivot Points which can be shifted from the server time - see attached file "Pivot_Points_-_Daily_sShiftedd.mq4"


Thank you

Please let me know if you need any clarification.



Responded

1
Developer 1
Rating
(4)
Projects
5
40%
Arbitration
0
Overdue
3
60%
Free
2
Developer 2
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
3
Developer 3
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
1
50%
Free
Similar orders
A robot 45+ USD
hy i am looking for someone who can make a robot for me using poi entry only.i will provide with the video i have it is much help full..some will talk about them
Project Description I need an MT5 Expert Advisor (EA) built in MQL5 . The strategy is a breakout system with adjustable filters and risk management. The EA must be fully parameterized (all settings adjustable from inputs). Please deliver both .ex5 (compiled) and .mq5 (source code)
hello, i need to build an EA for grid system for some range min-max price with limitation reopen after hit TP. up to 4 set inputs and some parameters. thanks
I used AI to develop my EA, and I need a professional developer to review my Expert Advisor code for MT5 (Python experience preferred). I will provide details once contact is initiated. Thanks. Benga
i want to create an indicator based on fib levels, the developer must understand how the fib levels work or have experience in forex or stocks also i would like to add two MA for direction of the market. please contact me and i will give more information about the project
Scalping bot 30 - 75 USD
I am looking for a bot that can trade XAUUSD mainly. For a bot that can manage risk, Can manage profit. A bot that can change the lots from 0.01 to 0.02 and increase it depending on the account balance. The bot needs to be reliable and needs to work under any timeframe or in M5 o M15, Moreover that works and it can use any startegy, no matter the strategy, it just needs to work. I will provide a Demo account and I
The service of an experience EA coder with experience in Indicator trading on Muti Time frame The ea already installed with indicators. It has Telegram Bot message The details of the task involve will be provided after you apply Time Required maximum of 5 days Testing required 15 days (this depend on ea functionality the time can be extended if ea is not working (testing on vps or local laptop) Amount $30 Bonus of $3
I need an mt4/MT5 Expert Advisor recreated with full source code (.mq5). The EA uses a fast scalping + hedge logic with simple rules, mainly for XAUUSD trading. I already have an EA file but without source code. I will provide a demo account login for the developer to observe how the original EA trades. EA Logic (Step by Step) 1. Start Trade • EA opens a Buy trade with lot size = user-defined starting lot (default
Expert Advisor (trading automatique) pour MT4 stratégie OPR marché : FOREX et INDICES indicateurs : SUPERTREND ET 2 EMA ,une ema 20 périodes et la seconde 50 périodes STRATÉGIE : exemple pour un achat le SUPERTREND est haussier sur l'unité de temp H1 la EMA rapide est au-dessus de la EMA lente sur l'unité de temp M5 le graphique de prise de position est sur du M15 on prend position à la cassure du plus haut de la
Updated EA Description (with Max. Open Trades & MTF MA Filter) Core Features (already existing): Candlestick formation entry logic. Daily minimum drawdown & maximum profit target. ATR-based stop loss and take profit. Trailing stop. Breakeven. New Additions: Relative Strength Index (RSI): Flexible parameters (user can edit period & levels). Used for both entry confirmation and exit options. Stochastic Oscillator

Project information

Budget
20 - 50 USD
For the developer
18 - 45 USD
Deadline
from 5 to 10 day(s)