Simple Advisor

MQL5 Experts

Specification

Simple Adviser

only daytrading

no position overnight



Extern variables:

max money per trade ( 5000 for example )

max daily trades per day ie. 20 trades

max loss per trade (  like 100$ )

max daily loss 1200 ( after lossing more than 1200$ no more trades for that day and close all positions and wait until tomorrow )

Fix stopLoss

Fix trailing stop


enter position

if D1 close > SMA10

if M15 close > 20

if M5 close > 20

if MACD is positive ( MACD line > signal line )


close positions when

H1 Close when

opt 1. Priceclose m15 period below sma20

opt 2. trailingstop

opt 3. Fix stop loss in %

please code it clean. because I want to make changes.

Responded

1
Developer 1
Rating
(332)
Projects
485
40%
Arbitration
82
11% / 63%
Overdue
77
16%
Free
Published: 1 code
2
Developer 2
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes

Project information

Budget
30 - 42 USD