EA based on MA, vWap, Reverse Fractals, Stochastic Momentum Index

Lavoro terminato

Tempo di esecuzione 14 giorni

Specifiche

Dear Experts, the goal is an EA that trades with Moving Average, vWap and/or Reverse Fractals and/or Stochastic Momentum Index.

1. Concept

The idea of the trading system is as follows: market entries are performed when MA crossover, vWap Crossover, SMI and Fractals give Buy/Sell signals in the current trend direction. Trend given by Moving Average (MA1) and/or 2 MA Crossover (M2,M3) and/or vWap.


2. Trend

Trend is determined based on 4 options. Ability to choose only one or a combination of two or more. 

Option 1 – no trend condition is applyed
Option 2 – current price is above/below MA1 (simple, exponential, smoothed or linear weighted)
Option 3 - crossover of 2 Moving Averages (simple, exponential, smoothed or linear weighted) with the specified period. If the current MA2 value is greater than MA3, the trend is seen as growing (MA2>MA3). Alternatively, if MA2 is below MA3, the trend is considered to be falling (MA2<MA3).
Option 4.XX – if XX=0 current price is above/below vWap line, is an up/down trend.
If XX>0 – use last XX candles instead of current price, if last XX candles didn´t crossover the line, is a up/down trend

3. Trading Signals

MA Trading Signals
Buy/Sell signals represented with arrows on main chart, with option of changing color and size (turn off arrows option)
• Buy signal: current price crosses the MA1 upwards (additional Option XX. 0 - whenever current price crossover above MA1 line is a Buy signal, XX - if last xx candles are above the MA1 line and none didn´t crossover, is a Buy signal)
• Sell signal: current price crosses the MA1 downwards (additional Option XX. 0 - whenever current price crossover below MA1 line is a Sell signal, XX - if last xx candles are below the MA1 line and none didn´t crossover, is a Sell signal)

2 MA Crossover Trading Signals
Buy/Sell signals represented with arrows on main chart, with option of changing color and size (turn off arrows option)
• Buy signal: the MA2 line crosses the MA3 upwards
• Sell signal: the MA2 line crosses the MA3 downwards

vWap Trading Signals
Buy/Sell signals represented with arrows on main chart, with option of changing color and size (turn off arrows option)
• Buy signal: current price crosses the vWap upwards (additional Option XX. 0 - whenever current price crossover above vWap line is a Buy signal, XX - if last xx candles are above the vWap line and none didn´t crossover, is a Buy signal)
• Sell signal: current price crosses the vWap downwards (additional Option XX. 0 - whenever current price crossover below vWap line is a Sell signal, XX - if last xx candles are below the vWap line and none didn´t crossover, is a Sell signal)

Stochastic Momentum Index (SMI) Trading Signals
Indicator in attachment have 2 colors that change whenever signal crossover line and if signal period is >1. 
Option 1 – All Buy/Sell signals whenever crossover happens in either direction, ignoring neutral zone (Neutral Zone = SMI level lines)
Option 2 – All Buy/Sell signals whenever crossover happens in either direction, but below/above neutral zone. Whenever signal reenter neutral zone it resets and restart.
Option 3 – Only first Buy/Sell signal below/above neutral zone. Whenever signal reenter neutral zone it resets and restart.
Option 4 - All Sell signals above neutral zone but ignore all Buy signals above neutral zone. All Buy signals below neutral zone but ignore all Sell signals below neutral zone. Whenever signal reenter neutral zone it resets and restart.

Reversal Fractals Trading Signals
Indicator in attachment already display arrows on main timeframe chart
• Bullish arrows are Buy signals
• Bearish arrows are Sell signals

4. Positions closed 
• Opposite signals: all Buy positions are closed at Sell signals, and all Sell positions are closed at Buy signals.
• Same signals: all Buy positions are closed at Buy signals, and all Sell positions are closed at Sell signals.
• All signals: whenever a Buy or Sell signal occurs all past orders are closed.
• TP/SL or Trailing Stop Loss
• Equity Percentage (0-100%)
• Manual Close: EA continues to operate if manual close happened
• Option to set limit of closing last order or close all orders
• Option of applying only one condition or combining 2 or more of the above conditions i.e. an order can be closed either by Opposite signals, TP/SL and Equity Percentage, closing the order from which condition happens first.

5. Positions are opened 
• All signals: whenever a Buy signal occurs open Buy order. Whenever a Sell signal occurs open Sell order
• Same signal Bypass: If last open order is Buy and current signal is a Buy or if last open order is Sell and current signal is a Sell, ignore and open only when opposite signal occurs
• Opposite signals: Buy positions are open at Sell signals, and Sell positions are open at Buy signals.
• TP: if TP occurs, open order on same direction
• TP: if TP occurs, open order on reverse direction
• SL or Trailing Stop Loss: if SL or trailing Stop Loss occurs open order in opposite direction.
• SL or Trailing Stop Loss: if SL or trailing Stop Loss occurs open order in same direction.
• Manual Open: EA continues to operate if manual order is placed
• Option to set limit or no limit of total of open orders
• Option of only one condition or combining 2 or more of the above conditions i.e. an order can be opened combining All signals, TP and SL, opening the order from which condition happens first

6. Pending Orders
• Option to cancel based on time limit (sec or min). Pending order to be accepted in time limit, or if time expires cancel current pending order
• Option to retry pending order based on time limit (sec or min). Pending order to be accepted in time limit, or if time expires retry same order at new current price
• Option to set limit, or no limit, of total number of pending orders
• Option to cancel all pending orders when cancelling one pending order
• All option above in single mode or combination of 2 conditions or more 

7. Additional filters/conditions for opening and/or closing positions:
In order to make myself understood, I considered that the EA have 2 Sets of Open/Close Conditions. One set of conditions to Close orders and other set of conditions to Open orders. 
In each Set we can choose how we apply the Trend condition (Option 0, Option 1, Option 2 or Option 3, or merging 2 or 3 conditions simultaneously). Example choosing option 1 and option 3, the Open Orders set must only open if the current price is both up/below the MA1 and up/below the vWap line). Each Trend Option must be available for Open set, Close Set, none or both sets.
In each set of Open or Close conditions we can choose which indicator trading signals applies. One example of a simple combination could be only SMI trading signals to be used for both Open and Close orders Sets. Other example of combination could be to apply only SMI to Open conditions from and apply only Reversal Fractals to Close conditions and turn off any trading signals from MA, 2MA Crossover and vWap either for Open or Close conditions.

8. Magic Number
Magic number to sell and buy orders so we load the EA in multiple charts without problems

9. Spread filter 
XX or 0
• 0 means disable
• EA will not open new positions if the spread is more than the value XX

10. Money management

Open Orders Conditions
Use fixed lots: True Or false 
Fixed Lot: 0.01 (by default)
Use Percent: True or false
Lot Risk %: 2 (by default)
Use Amount: True or false
Amount (currency same of MQL5):

Close Orders Conditions
Equity Profit Type: Amount Or percent
Profit Value: 
Equity Loss Type: Amount or percent
Loss Value: 
    Actions On Trigger
Disable Trading: True or False. if true send email and mobile notification and the EA does not take any new positions
Close All Open Positions: True or false. True by default
Delete All Pending Orders: True or False. True by default

10. Notifications
Email Notification: True or false // if false EA will not send notification alert
Mobile Notification: True or False // if false EA will not send notification alert
email and notification alert for trading signal produced: True or false 
email and notification alert for open order: True or false 
email and notification alert for closed order: True or false 
email and notification alert for cancelled pending order: True or false 
email and notification alert for trading signal from indicator produced: True or false 
email and notification alert for drawdown
• alert when DD reached: 00 (0 means disable) value is in %. Example if set to 20 EA will send alert when the total drawdown reach 20%.

11.GMT Settings
GMT OFFSET: True or false
Offset Value: 2 default
(if gmt offset = true, trading hour= trading hour + offset value. if GMT offset = false, trading hour= trading hour)
  
12. Trading Hours
Trading Hours: True or False. False by default. (if true it opens new positions only during the specified hours in the specified days, if false it open positions 24/24)
Example: Monday Trading Hours: 0,1,22,23 (separated by comma, in this case the EA trades on Monday from hour 0 to 1 and from 1 to 2 and from 22 to 23 and from 23 to 24, it opens positions only during these intervals)
Monday Trading Hours: 0,1,22,23
Tuesday Trading Hours: 0,1,22,23
Wednesday Trading Hours: 0,1,22,23
Thursday Trading Hours: 0,1,22,23 
Friday Trading Hours: 0,1,22,23 
Saturday Trading Hours: 0,1,22,23
Sunday Trading Hours: 0,1,22,23 
 
12. Friday Exit
Friday Exit: True or False (False by default)
a- Exit Hour: 22 by default
b- close All Open positions: True or False (true by default)
c- Delete All Pending Orders: True or False (true by default)
 
13. Display Panel
enable display panel : true/false // if false, EA will not display the panel on chart
display panel font size : xx // font size for text in display panel
display panel x,y : X,X // to place the position of the panel on the chart

display panel //this is the analytic that will load on the chart
Balance : xx
Equity : xx
current DD % : XX // display current drawdown in %
Total lots traded : xx // EA will sums up all lots size for all positions closed
Total buy lot open : xx // EA will only display total buy lots for open buy positions
Total sell lot open : xx // EA will only display total sell lots for open sell positions

14. Notes
Thanks in advance for any feedback/advice to make it run better or simpler if need be. 
EA must work on demo, real accounts and strategy tester for both.
EA must have a log to export trading history and/or errors, preferably to excel.
EA must have a debugger.
EA must be compatible for 4 and 5 decimal brokers and all timeframes.
I need the .mql5 source script file not only the .exe, 
N.B: Before confirming the reception and the completion of the job, one or many trading strategies will be inserted in the MQL5 source code for testing purposes, but the coder must provide the source code empty of any trading strategy.

File:

TXT
MQL5_EA.txt
10.9 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(34)
Progetti
48
21%
Arbitraggio
6
83% / 17%
In ritardo
8
17%
Gratuito
2
Sviluppatore 2
Valutazioni
(4)
Progetti
5
20%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(3)
Progetti
3
0%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(356)
Progetti
377
71%
Arbitraggio
4
100% / 0%
In ritardo
0
In elaborazione
5
Sviluppatore 5
Valutazioni
(267)
Progetti
542
50%
Arbitraggio
55
40% / 36%
In ritardo
225
42%
Caricato
6
Sviluppatore 6
Valutazioni
(14)
Progetti
19
11%
Arbitraggio
1
0% / 100%
In ritardo
5
26%
Gratuito
7
Sviluppatore 7
Valutazioni
(71)
Progetti
97
43%
Arbitraggio
2
50% / 0%
In ritardo
2
2%
Gratuito
8
Sviluppatore 8
Valutazioni
(77)
Progetti
133
50%
Arbitraggio
5
80% / 0%
In ritardo
6
5%
Gratuito
9
Sviluppatore 9
Valutazioni
(42)
Progetti
88
14%
Arbitraggio
31
29% / 55%
In ritardo
36
41%
In elaborazione
Ordini simili
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
Preciso de um EA, que faça o fecho automático de operações abertas no final da sessão e nas notícias de alto impacto. Um EA simples com apenas 1 função. Fecho das operações abertas
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started

Informazioni sul progetto

Budget
87 - 123 USD
IVA (23%): 20.01 - 28.29 USD
Totale: 107.01 - 151.29 USD
Per lo sviluppatore
78.3 - 110.7 USD
Scadenze
da 5 a 10 giorno(i)