支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

AH ScriptBuyLimit

👤 作者: Wait4Signal

4.5 分

¥0.00

📌 版本: v1.0
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

AH ScriptBuyLimit

作者Wait4Signal
版本v1.0
激活数78603
I find the lot calculation tedious so I just use this script and tell it the dollar amount to use. It then does the rest. This works for any currency.


How-To:

Creates a buy limit order at chosen MA price using the desired dollar amount instead of lots.

To use, just drop it onto a chart and set inputs as needed.

The script will then do the necessary lot calculation and create a buy limit order.


Inputs:
  • FIXED_DEAL_AMOUNT: Fixed amount to use for the trade e.g 100 to open a R100 deal
  • MA_PRICE: MA to use for target price
  • PRICE_BUFFER: Buffer to add to MA price, based on chosen ATR level

One can also set a global variable '_Symbol+_MAX_SPREAD' to set max spread limit for each traded instrument.

e.g For EURUSD the global variable would be: EURUSD_MAX_SPREAD

e.g For Nasdaq 100 the global variable would be: Nasdaq 100_MAX_SPREAD 


Code and License:

The source code for this script is released under GPL v3 and is available at https://github.com/wait4signal/autumn-harvest/blob/main/ScriptBuyLimit.mq5








安全须知

本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。

EA 配置

交易品种XAUUSD
时间框架H1 (推荐)
推荐经纪商IC Markets, IC Trading
最低存款$300 / 0.01手

📸 截图预览