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
等级
(320)
项目
466
42%
仲裁
78
12% / 63%
逾期
75
16%
工作中
2
开发者 2
等级
(195)
项目
317
35%
仲裁
64
13% / 56%
逾期
82
26%
空闲
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(249)
项目
398
38%
仲裁
82
41% / 20%
逾期
69
17%
已载入

项目信息

预算
30 - 42 USD
VAT (19%): 5.7 - 7.98 USD
总计: 35.7 - 49.98 USD
开发人员
27 - 37.8 USD