Expert Advisor based on Price Action with Risk Management features

MQL5 Experten C++ Forex Stocks

Auftrag beendet

Ausführungszeit 3 Tage

Spezifikation

The idea for this trading system is as follows:

This is and "always in the market" type of system. Meaning that there is always an opened trade. Hence, market entries are performed whenever a new bar is created and there are no current opened trades.

The direction of the trade will depend on the previous bar direction and trades are closed whenever a bar closes in the opposite direction.

Trends, therefore, are determined by the previous bar direction and they continue until there is a new bar that closes in the opposite direction.

Trading Signals

Trading Signal:

For the 1st Trade or if the trend changes direction, the last bar direction is the signal.

If the previous bar was a green candle (closed upwards), it is a buy signal.

If it was a red candle (closed downwards), it is a sell signal. If it was an open=close, no new trade is performed.

Exits

The exits are performed if the candle changes color/direction relatively to the previous bar. Or if SL/TP are hit if they are activated- they should be optional inputs.

Lot sizing

Volume can be determined as: Fixed lots, from inputs. Or, as a risked percentage of the current balance.

How to measure risk

Lot Sizing Risk is based on the previous bar as follows:

For Buy orders: Risk = Open(current bar) - Low( previous bar)

For Sell Orders: Risk = High (previous bar) -Open (current bar)

Corner Cases:

For Buy signal: When Open (current bar) is lower than Low (previous bar), Risk = High (previous bar) - Low (previous bar)

For Sell signal: When Open (current bar) is higher than High (previous bar), Risk = High (previous bar) - Low (previous bar)

Therefore, having calculated the "risk" value, lot size shoud be calculated as:

lot = (risked% * current balance)/ Risk

The "Risked %" should be defined on the inputs if "Fixed lot" is false. Example:

Fixed Lots = False

Fixed Lot Size = 0.01

Risk = 0.01 (for 1% risk.)

Regarding SL and TP

SL, if activated from the inputs, should be set depending on the order type:

For Buy Orders: At the previous bar low - Current Spread.

For Sell Orders: At the previous bar High + Current Spread.

Corner cases:

For Buy signal: When Open (current bar) is lower than Low (previous bar), SL should be set on SL = Current Ask Price - (High (previous bar) - Low (previous bar)) - Current Spread.

For Sell signal: When Open (current bar) is higher than High (previous bar), SL = Current Bid Price + (High (previous bar) - Low (previous bar)) + Current Spread.

As For the Take Profit:

The Take Profit should be enabled or disabled from the inputs. And in case it is enabled, it should be set as a "double" multiple of the "Risk" called RR (as for Risk Reward) according to the previous detailed formula for risk.

Example: TP = true RR = 2 Which in this case, it would be 2 * Risk.

Symbol Considerations:

The Risk Management calculations should consider the Balance currency and the base and quote curriencies.

For example, if the Account currency is USD, it should calculate the risk accordingly whether the FX pair is EURUSD or USDJPY.

Also, if the Account currency is EUR, it should calculate the risk properly for the pair EURUSD or BTCEUR. Other non-forex pairs: NAS100, USA.30, NQ100, SPX500, US30 . These should be calculated in USD. For example, for BTC or EUR based account. For the rest, as a default, they should be considered as in USD.

I'm open to suggestions from the developer.

Bewerbungen

1
Entwickler 1
Bewertung
(65)
Projekte
71
30%
Schlichtung
8
0% / 88%
Frist nicht eingehalten
5
7%
Frei
2
Entwickler 2
Bewertung
(356)
Projekte
632
26%
Schlichtung
89
73% / 13%
Frist nicht eingehalten
12
2%
Frei
3
Entwickler 3
Bewertung
(199)
Projekte
287
52%
Schlichtung
0
Frist nicht eingehalten
1
0%
Frei
4
Entwickler 4
Bewertung
(558)
Projekte
1344
59%
Schlichtung
28
82% / 0%
Frist nicht eingehalten
10
1%
Frei
5
Entwickler 5
Bewertung
(23)
Projekte
45
20%
Schlichtung
24
29% / 46%
Frist nicht eingehalten
12
27%
Frei
6
Entwickler 6
Bewertung
(58)
Projekte
76
33%
Schlichtung
9
78% / 11%
Frist nicht eingehalten
7
9%
Frei
7
Entwickler 7
Bewertung
(267)
Projekte
542
50%
Schlichtung
55
40% / 36%
Frist nicht eingehalten
225
42%
Arbeitet
8
Entwickler 8
Bewertung
(96)
Projekte
143
76%
Schlichtung
0
Frist nicht eingehalten
2
1%
Frei
9
Entwickler 9
Bewertung
(564)
Projekte
933
47%
Schlichtung
302
59% / 25%
Frist nicht eingehalten
125
13%
Beschäftigt
10
Entwickler 10
Bewertung
(11)
Projekte
21
52%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
5%
Frei
11
Entwickler 11
Bewertung
(66)
Projekte
143
34%
Schlichtung
10
10% / 60%
Frist nicht eingehalten
26
18%
Frei
12
Entwickler 12
Bewertung
(87)
Projekte
114
26%
Schlichtung
7
29% / 57%
Frist nicht eingehalten
5
4%
Frei
Ähnliche Aufträge
I’m looking to turn into code. Trading Instrument - Crude Oil Futures (CL) Chart and Timeframe - 30-second chart Entry Setup 1. Time Focus on the first 30-second candle after 11:00:00 AM New York time. (11:00:00 candle) 2. Candle Size Limit : Skip the trade if the first candle is greater than 10 points. 3. Entry Orders - Place stop orders at the high and low of the first 30-second candle after 11:00:00. - Long Entry
I want a bot that take trade from any arrow indicator with buffer value. Pls the bot even have 5 indicator filter to filter trade independent of the time frame of the bot
hello there I need a copy trade for mt4 can ANYONE help me with and let discuss on how to go about it kindly send me message to signify and let discuss mind you i need this urgently let connect to discuss and conclude
I would like the better volume indicator 1.6 in a scanner format. Scanning multiple timeframe and pairs of which can be picked. Would like it to provide all standard notifications and also if pressed to go to the a template timeframe and pair. *To be placed in a table format as the one added. To be able to add which time frame you want to see. *To advise me of the following Climax High - turn the text green High
i have a JavaScript of a code which is a indicator of trading view, i want to convert into python script and make a mql5 automated trading bot which can take automatic trade and also exit when the signals come by the indicator
I need to build EA MT4 that able to connect as copy trading between demo account to real account with partial of positions not all Example: If the demo account open position so the real account will be opened same position with ability to place different volume size based on real account equity and demo equity, and ability to choose which position should be copied, position one, two, three, four, five, six, seven
I would like an existing, older MT4 EA I had developed converted into an MT5 EA and debugged where necessary. The EA is attached and should be fairly self-explanatory. It is a breakout order entry EA with customisable parameters
I require an MT4 Expert Advisor (EA) that automatically places hedge orders when a buy or sell order is placed by me or another EA. The hedge orders will consist of a stop order (either Buy Stop or Sell Stop), with the same lot size as the original order, deployed at a predefined price distance. The EA must ensure that only one hedge order is placed for each trade. The system should monitor trades based on specific
For Chart Panel : Needs a Black Back ground at present its transparent . ✔️ Trading Panel (To be reset weekly = 1-6) 1. EA Status : (on/off) 2. Total Trades Taken : 3. Number of Profitable Trades Today : 4. Number of Loosing Trades Today : 5. Number of Profitable Trades This Week : 6. Number of Loosing Trades This Week : (To be Reset every Month = 7-9) 7. Number of Profitable Trades This Month : 8. Number of Loosing
my request is to convert a trading view indicator to mt4. I have a supertrend indicator for trading view or pine script. and all I want is to convert it for to mt4 or mql4

Projektdetails

Budget
30 - 100 USD
Für die Entwickler
27 - 90 USD
Ausführungsfristen
bis 10 Tag(e)