Pivot Point based EA - MT4

MQL4 전문가

명시

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.



응답함

1
개발자 1
등급
(4)
프로젝트
5
40%
중재
0
기한 초과
3
60%
무료
2
개발자 2
등급
(121)
프로젝트
134
66%
중재
36
25% / 56%
기한 초과
22
16%
무료
3
개발자 3
등급
(2)
프로젝트
2
0%
중재
0
기한 초과
1
50%
무료
비슷한 주문
I have a really very, very simple professional, proven, profitable forex strategy that works on a higher time frame with over 85% winning rate. I am searching a professional programmer to create expert advisor based on this stategy, in general I am searching a developer for a longer co-operation. I am a forex trader with over 12 years experience. telegram: fxMiguel It's a 15minute work job, 30min max, My budget is 10
Testing 30 - 200 USD
// กำหนดค่าตัวแปรเริ่มต้น input double DailyProfitTarget = 200; // กำไรที่ต้องการในแต่ละวัน (2% ของทุน) input double LotSize = 0.1; // ขนาด Lot input double TakeProfit = 10; // กำไรต่อการเทรดใน pip input double StopLoss = 5; // การหยุดขาดทุนต่อการเทรดใน pip double dailyProfit = 0; // กำไรที่ทำได้ในวันนี้ // ฟังก์ชันเริ่มต้น int OnInit() { dailyProfit = 0; return(INIT_SUCCEEDED); } //
I need to compile my mt4 EA but there are some errors and warning if you can fix and compile send me your application I will select you upon Demo
i need someone to help me take 6 pieces of code from this script and simplify it into a new code .. . note this project is needed urgently in 2 to 5
Man on mayhem 30 - 100 USD
1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction. 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below
We need an Expert Advisor for MetaTrader 5 that will be simply based on Rsi, chart patterns and price levels (e.g 2366,250)… Basically when the robot notices a chart pattern, for example “double top/M pattern” it enters a trade based on confirmation from Rsi & price level and the stop loss is moved to the entry price…That is all. The expert advisor is only for Xauusd/Gold…The expert advisor should target 10 pips
Hi, Expert should be Brazilian. I need the scalping ea for xauusd, usdjpy, AUDUSD, eurusd, gbpusd, nzdusd, uascad and usdchf with any strategy. But don't use buy limit in down trend and sell limit in sell trend. I need the profit with 0.5 usd minimum per trade
Hello, I am looking for an experience MQL5 coder who can help me automate my trading strategy. Since this is an advanced coding so I would appreciate if only an experienced coder reaches out. I have attached a word doc of strategy, if you think you can build it then do let me know. Thanks, Sadaquat
Grid hedging ea 30+ USD
I Need A Hedging Ea With Daily 2% of returns. I might think that ea work consistently. hedging Is The only Way To Make A Profit. That ea work in 1:200 Leverage and lot size is starting from 0.01
Project Description: I am looking for an experienced MQL5 developer to program an advanced trading robot for MetaTrader 5. This robot should integrate multiple modules for trend management, entry optimization, and risk management. It must also include an interactive dashboard and an automatic order suspension system based on volatility and economic news releases. The project requires expertise with ATR, ADX

프로젝트 정보

예산
20 - 50 USD
개발자에게
18 - 45 USD
기한
에서 5  10 일