Hello Developers!
I would like an EA that opens Buy and Sell orders. I have attached the indicators that are going to be used for the guidelines already. You can just use the codes from there and implement them into the EA program.
Guidelines:
1) An EMA cross over. The signal is generated at the crossing of two exponential moving averages. Fast EMA is 4, slow EMA is 8.
2) Slope
3) MACD (5,35,5) Histogram.
4) CCI- Period: 14, Typical Price
BUY Order: If EMA crosses upwards, the slope is positive, MACD histogram is >= 0, and CCI is Above 0. EMA signals are produced when a candle closes and places an arrow on that candle. The other Guidelines will begin checking on next candle open.
Sell Order: If EMA crosses downwards, the slope is negative, MACD histogram is <=0, and CCI is Below 0.
Here's an Example:

A green arrow was produced from EMA cross over when that candle closed. On the next candle open, the slope is positive MACD is positive, CCI is +. A buy order is then placed. Our stop loss occurs when CCI closes below 0. So in this trade we would have closed out at 18:00. There is no stop loss or take profit, the order will only close out if it crosses 0. Orders will be executed once MACD becomes positive, slope becomes positive, and CCI is above 0. These will not wait for the candle close.
Example of Sell Order:

A sell signal was generated by EMA, CCI is below 0, however slope didn't change until 3 candles after and finally histogram changed on the 6th candle. A sell order would still be placed. If all guidelines are met despite time an order will still go through. Here we closed out at 22:00 when CCI crossed above 0.
If there was an arrow produced and none of the guidelines are met and an opposite arrow is produced, then it resets and now guidelines are checked for the new arrow. However, if there is an order opened on that chart, then the program will no longer check for the guidelines until that order is closed due to CCI and a new arrow is produced.
There is no TP or SL, only order closed out due to CCI crossing above or below zero.
I've included the EMA cross over signal and Slop direction file that I use.
The CCI is standard: Period 14 and Typical Price
MACD is set to (5,35,5).
Let me know if you have any questions! Thank you!
Benzer siparişler
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
So the things we need in algorithm of mql5 language EA in mt5 1. Depending on timeframe it can recognise the previous swing high and low 2. Timeframe is 5m,15m,1h,4h 3. It can recognise the basic Market bias that is market is bullish or bearish we can identify using (ema,rsi,basic smc bias,ict bias structure mapping) or use anything to find bias structure 4. EA should have option to change timeframe and change risk
I have a perfectly working EA that always gets altered, I need special security features implemented, and I already have a great idea of what I need. Super easy, codes already work, just need tweaking here and there. Cybersecurity proficiency would be a positive
I need a custom Expert Advisor for MetaTrader 5 that trades AUDUSD and AUDCAD using a medium-risk strategy. It should use fixed lot size, stop-loss and take-profit, and limit open trades. The bot must be compatible with Pepperstone live accounts and optimized for H1 timeframe. No martingale or grid strategies. I want clean code, reliable execution, and visible trade logic. File format should be .ex5
Quiero contratar un programador para crear un EA (Expert Advisor) para MetaTrader 5 con las siguientes características: REQUISITOS DEL EA: 1. Operar en el instrumento XAUUSD o XAUUSDm (Exness). 2. Estrategia tipo scalping, abriendo compras y ventas continuas. 3. Lote inicial 0.01, con opción para aumentar automáticamente el lote. 4. Meta diaria: cuando el robot gane 100 USD, debe detenerse automáticamente (no abrir
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade
You should be able to explain how it works . Specification for the job will be written accordingly , ( as to how i want it with my expert advisor ) Live Chart Testing