Simple Advisor

MQL5 专家

指定

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.

反馈

1
开发者 1
等级
(332)
项目
485
40%
仲裁
82
11% / 63%
逾期
77
16%
空闲
发布者: 1 代码
2
开发者 2
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码

项目信息

预算
30 - 42 USD