找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
首页论坛EAHub 外汇论坛
查看: 2|回复: 0

【Rul Hedge EA】基于两个货币对的正相关ea

[复制链接]

1万

主题

54

回帖

4871

积分

管理员

积分
4871
发表于 2026-8-8 09:27:59 | 显示全部楼层 |阅读模式
最后由 pengjhl 于 2022-11-5 08:13 编辑

这是一款基于两个货币对的正相关ea,在一个货币对上,ea只开多单;在另一个货币对上,ea只开空单。如果出现亏损,EA开始通过开仓量比原始交易小得多的交易来解决它。

货币对:GBPUSD、EURUSD

周期:M5

参数说明:

SYMBOL_1 = ” EURUSD”;

SYMBOL_2 = “GBPUSD”;

Step = 50; – minimum step between orders

ProfitClose = 1.00; – profit in the currency at which we bite off the averaging

SumProfitClose = 10.00; – profit in the currency at which we close everything

LevelAverag = 300; – distance to the clearing order in points

LotRUL = 0.01;/ / first lot of the clearing (averaging) order

K_Lot = 2.5;/ / increase coefficient of the averaging order

Max_Lot = 100.0;

StartLot = 0.05; – auto

trade lot time filter

TimeStart = 0,

TimeEnd = 24;

BarsCorrelation=300;

TimeFrames=0;

OpenDeltaPercent = 80; – percentage of the maximum Delta at which the first positions are opened

MagicPlus = 0; – addition to the calculated magic

scale = 1.2 ;- size of the information window

Font_Size = 10; – font size

StopLossDelta = false-closing positions with reverse Delta

Volume_adjustment = false – adjustment of volume

CAP = false; //close accumulated profit ( CAP) – close part of the market at the expense of accumulated profit

LossPercentCAP = 10 – the percentage at which the CAP is enabled
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|EAHub外汇论坛

GMT+8, 2026-8-28 13:37 , Processed in 0.100985 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表