CapitalRoyal 外汇EA

CapitalRoyal 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
CapitalRoyal 外汇EA
此内容为免费资源,请登录后查看
0积分
免费资源

如果免费资源下载的文件为TXT文档

请联系站长更新!站长微信:Lv596999  Telegram:@eapoj

“Mql5官网”板块的EA基本都有,大部分是无限制NODLL版,NODLL版本MT1420升级,大多数不可用!这些EA来源为国外花钱买过来的

有需要,请联系站长!

“EA测评”板块资源全部现有,看见不错的,可以联系站长看EA在确定是否收费

“无限制EA”板块,大部分免费,下载文件全部存在,都可以免费下载

站长硬盘EA太多,因大部分时间做交易,做风控,没太多时间更新下载地址,请谅解!

需要更新下载文件,请联系站长微信!国外朋友请联系Telegram。


MA trend following 1sd signal 

The EA appears to use a combination of moving averages and standard deviation to make trading decisions, with the option to increase lot sizes after consecutive losses, potentially aiming for a martingale-like strategy. It’s important to note that while EAs can automate trading, they come with risks, especially when using strategies like lot size increase on loss. Users should thoroughly backtest and understand the EA’s strategy and risks before using it in live trading.

  1. Inputs and Settings:

    • MaTypes : Enum for different types of Moving Averages (Simple, Exponential, Smoothed, LinearWeighted).
    • Inputs for the moving average type ( MaType ), period ( MaPeriod ), standard deviation period ( SdPeriod ), factor ( SdFactor ), initial lot size ( InitialLotSize ), and flags to enable buying/selling ( EnableBuy , EnableSell ) and lot size increase on loss ( EnableLotIncrease ).
    • A unique MAGIC_NUMBER to identify orders made by this EA.
  2. Initialization Function ( OnInit ): Simply initializes the EA.

  3. Trade History Checking ( CheckTradeHistory ): This function checks the trade history to count consecutive losses for buy and sell orders. Depending on these losses and if EnableLotIncrease is true, it adjusts the lot sizes for buying and selling.

  4. Main Trading Logic ( OnTick ):

    • Calculates the moving average ( ma ) based on the selected type ( MaType ) and standard deviation ( sd ).
    • Checks for open orders and determines if there are any existing orders for this EA.
    • If there are no open orders, it places new buy or sell orders based on the current price, moving average, and standard deviation. Buy orders are placed if the current price is above ma + sd , and sell orders are placed if below ma – sd .
    • If there is an open order, the EA checks whether it should close it based on the current price and moving average.
  5. Normalize Lot Size Function ( NormalizeLotSize ): Ensures that the lot size for any trade is within the minimum and maximum lot size limits of the trading instrument.

图片[1]-CapitalRoyal 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
图片[2]-CapitalRoyal 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
图片[3]-CapitalRoyal 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站

© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享