欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

您的 EA v3 - 每日最低价和最高价策略 (Your EA v3 - Daily Low & High Strategy)

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:rockzz
发布日期:First Post: Jul 28, 2023 2:08pm | Edited Jul 29, 2023 11:07am
*Your EA v3* backtest results looks promising and auspicious...

EXACT STRATEGY BEHIND THIS EA

  1. The strategy trades on the daily (D1) timeframe.
  2. The strategy uses two pending orders: a Buy Stop order and a Sell Stop order.
  3. At the start of each new day, the code checks if a new candle has formed. If it's a new day, the strategy resets the "orderPlaced" variable to false, allowing it to place a new order if conditions are met.
  4. The strategy calculates the "wickBuy" and "wickSell" values based on the difference between the open price and the low price (wickBuy) and the high price and the open price (wickSell) of the previous daily candle.
  5. The strategy sets the Buy Stop price (buyStopPrice) above the previous day's high by a certain number of pips specified by the "PipsAboveHigh" parameter.
  6. The strategy sets the Sell Stop price (sellStopPrice) below the previous day's low by a certain number of pips specified by the "PipsBelowLow" parameter.
  7. The strategy sets the Stop Loss for the Buy Stop order (stopLossBuy) below the previous day's high by a certain number of pips specified by the "StopLossPips" parameter.
  8. The strategy sets the Stop Loss for the Sell Stop order (stopLossSell) above the previous day's low by a certain number of pips specified by the "StopLossPips" parameter.
  9. If the condition "wickBuy > wickSell" is met, the strategy places a Buy Stop order at the "buyStopPrice" level with a specified lot size ("LotSize"), Stop Loss ("UseStopLoss" and "StopLossPips"), and Take Profit ("UseTakeProfit" and "TakeProfitPips").
  10. If the condition "wickSell > wickBuy" is met, the strategy places a Sell Stop order at the "sellStopPrice" level with a specified lot size ("LotSize"), Stop Loss ("UseStopLoss" and "StopLossPips"), and Take Profit ("UseTakeProfit" and "TakeProfitPips").
  11. The "MagicNumber" is used to identify the orders placed by this specific EA, so it can distinguish its orders from other EAs or manual trades.
  12. The strategy uses a simple slippage setting ("Slippage") to account for potential order execution variations.

    No live trade results yet....But backtest results I will attach below.

    Change the default Settings in EA for better profitable trades (Atleast 45% above Profitable while backtesting):
    Take Profit in Pips - 100
    Stop Loss in Pips - 30
    EA Currrent Profitable Settings
    Attached Image (click to enlarge)
    Click to Enlarge

Name: screenshot.png
Size: 59 KB

Scripts for better trading

Source Code file successfully uploaded....
Developers are welcome to develop this EA for further updates.

I have no coding knowledge and I used ChatGPT to built this EA. Do not ask for further updates from me. Only Dev can do that. While live trading the EA hits stop loss everytime and I don't know why. Do not fully believe the EA's startegy tester results because it will be different results while live trading. Me also looking for Updates like you.

Please make me to earn $100 per month...Becaause I am struggling a lot. Thank you everyone.

原帖附件 (5)

📦 帖子附件汇总 (25)

以下是回帖中所有共享的附件(25 个,已去重)。

🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录