An expert advisor based on RSI, STO and MACD needed

MQL4 Göstergeler Uzmanlar

İş tamamlandı

Tamamlanma süresi: 4 dakika

Şartname

1.  The idea of the trading system is as follows: market entries are performed when MACD, RSI and Stochastic K main signal lines are in the same current trend direction.

MACD: use attached file MACD_coloured.mq4 (12,26,9)

Stochastic K: Stochastic main (14 period, 3 slowing)

RSI: (7)

 

2.  Trend is determined based on each indicator.

 

An indicator shows an UP TREND when:

RSI is above 50

Stochastic K is above 50

i) MACD main above signal line and difference between the two is increasing

 

An indicator shows an DOWN TREND when:

RSI is below 50

Stochastic K is below 50

ii) MACD main below signal line and difference between the two is increasing

 

MACD is not in trend when:

iii) MACD main above signal line and difference between the two is decreasing

iv) MACD main below signal line and difference between the two is decreasing

As depicted by indicator MACD_coloured.mq4 :

i)  Bright green

ii) Bright Red

iii) Dark green

iv) Dark red

 

3.  Trading Signals:

Trading signals should only be acted upon at at the start of a new bar.

 

ENTRY:

Buy signal: All three indicators show an UP TREND in the previous bar

RSI UP TREND     &&     Stochastic K% UP TREND     &&     MACD UP TREND

RSI > 50

STO > 50

MACD Entry when previous bar is bright colour - ie BUY when previous bar is bright green

Sell signal: All three indicators show a DOWN TREND in the previous bar

RSI DOWN TREND       &&       Stochastic K% DOWN TREND       &&       MACD DOWN TREND

RSI < 50

STO < 50

MACD Entry when previous bar is bright colour - ie SELL when previous bar is bright red

EXIT

OP_BUY: The previous bar - RSI is NOT in an UP trend   OR Stochastic K% is NOT in an UP trend OR MACD is NOT in an up trend

RSI < 50

STO < 50

MACD when previous bar is not bright green

 

OP_SELL: the previous bar - RSI is NOT in a DOWN trend OR Stochastic K% is NOT in a DOWN trend OR MACD is not in a DOWN trend

RSI < 50

STO < 50

MACD when previous bar is not bright red

 

4.  Positions are closed :

- on trading signal at start of new bar.  All positions closed at market.

- on Calculated TP or Trailing SL at any time

 

5.  Positions are opened:

- on trading signal at start of a new bar

BUY positions opened at one point above the high of the previous bar.

SELL positions opened at one point below the low of the previous bar.

 

One position open at any time

Size of position in points The value is set in the InpSize input parameter.

 

6. Additional filters for opening a position:

No additional filters

 

7. Additional filters for closing a position:

No additional filters

 

Protective Orders:

10.  Close by Take Profit — during position opening, a Take Profit level is set at a fixed distance from the open price, specified in points. The value is determined by Average True Range: ATR(7) x 3

 

9. Close by Trailing Stop Loss

 is used to protect profit and minimise loss. Stop Loss is set by Average True Range: ATR(7) x 1.5. for:

OP_BUY from the low of the previous bar

OP_SELL from the high of the previous bar

 

11.  Position Management

SL and TP should always be managed by the EA, never by the server.

SL and TP can occur during any OnTick()

If the price continues to move in the profit direction, Stop Loss should be trailed at the given distance from the low of the previous bar. Stop Loss cannot be moved towards the loss direction, i.e. the Stop Loss value cannot be increased for OP_SELL

 

Exit trade due to TP and SL at any time in any OnTick()

If none of the protective orders (Take Profit or Stop Loss) triggers, the position should be closed by a trading signal at the start of a new bar. No other position exit methods are available.

 

12.  Add comments to describe function of each section - be descriptive of function and reason

13.  In price window:

A.  For any position opened, add line at that bar, at both TP (Blue)  and SL (red)  levels.

B.  Add line at each bar a SL is updated at the updated SL level

C.  Add a green dot above a bar if all three indicators show an UP trend - make it yellow if the previous bar does not have all three indicators show an up trend

D.  Add a red dot below bar if all three indicators show a DOWN trend - make it pink if the previous bar does not have all three indicators show a down trend

14.  Copyright will be transferred to me

15. C++ formatting preferred

16. Multiple screenshots of EA testing with Indicators clearly visible - so decision making methodology can be assessed and compared with demonstration testing. 

 

 


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(68)
Projeler
126
40%
Arabuluculuk
18
44% / 56%
Süresi dolmuş
33
26%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(57)
Projeler
72
22%
Arabuluculuk
13
46% / 15%
Süresi dolmuş
5
7%
Serbest
3
Geliştirici 3
Derecelendirme
(15)
Projeler
17
6%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
6%
Serbest
4
Geliştirici 4
Derecelendirme
(162)
Projeler
289
35%
Arabuluculuk
18
22% / 61%
Süresi dolmuş
43
15%
Serbest
5
Geliştirici 5
Derecelendirme
(454)
Projeler
720
34%
Arabuluculuk
35
71% / 9%
Süresi dolmuş
22
3%
Serbest
6
Geliştirici 6
Derecelendirme
(14)
Projeler
14
50%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(58)
Projeler
76
33%
Arabuluculuk
9
78% / 11%
Süresi dolmuş
7
9%
Serbest
Yayınlandı: 2 kod
8
Geliştirici 8
Derecelendirme
(2672)
Projeler
3408
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
9
Geliştirici 9
Derecelendirme
(7)
Projeler
12
42%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
2
17%
Serbest
10
Geliştirici 10
Derecelendirme
(137)
Projeler
167
35%
Arabuluculuk
11
91% / 0%
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(45)
Projeler
91
13%
Arabuluculuk
34
26% / 59%
Süresi dolmuş
37
41%
Serbest
12
Geliştirici 12
Derecelendirme
(48)
Projeler
51
43%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
Benzer siparişler
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy

Proje bilgisi

Bütçe
200+ USD