Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Your EA v3 - Daily Low & High Strategy

author EAcpu | 4 reads | 0 comments |
*Your EA v3* backtest results look promising and auspicious...

The specific strategy behind this EA

  1. This strategy trades on the Daily (D1) time frame.
  2. This strategy uses two pending orders: a buy stop order and a sell stop order.
  3. At the beginning of each new day, the code checks to see if a new candle has formed. If it's a new day, the strategy resets the "orderPlaced" variable to false, allowing new orders to be placed when the conditions are met.
  4. This strategy calculates the "wickBuy" and "wickSell" values ​​based on the difference between the open and low prices (wickBuy) and the high and open prices (wickSell) of the previous day's candle.
  5. This strategy sets the buy stop price (buyStopPrice) a certain number of pips above the previous day's high as specified by the "PipsAboveHigh" parameter.
  6. This strategy sets the sell stop price (sellStopPrice) a certain number of pips below the previous day's low as specified by the "PipsBelowLow" parameter.
  7. This strategy sets the stop loss on a stop-loss buy order (stopLossBuy) a certain number of pips below the previous day's high as specified by the "StopLossPips" parameter.
  8. This strategy sets the stop loss of a sell stop order (stopLossSell) a certain number of pips above the previous day's low as 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 the 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 with the specified lot size ("LotSize"), stop loss ("UseStopLoss" and "StopLossPips") and take profit ("UseTakeProfit" and "TakeProfitPips") at the "sellStopPrice" level.
  11. The "MagicNumber" is used to identify the orders placed by this specific EA, so its orders can be distinguished from other EAs or manual trading.
  12. This strategy uses simple slippage settings ("slippage") to account for potential order execution changes.

    No live trading results yet...but I will attach the backtest results below.

    Change the default settings in the EA for better profitable trades (at least 45% more profitable when backtested):
    Profit Points - 100
    Stop Loss Points - 30
    EA current profit settings
    Attached picture (click to enlarge)
    Click to Enlarge

Name: screenshot.png
Size: 59 KB

Better trading scripts

The source code file has been uploaded successfully....
Developers are welcome to develop this EA for further updates.

I have no coding knowledge and I used ChatGPT to build this EA. Do not ask me for further updates. Only Dev can do this. The EA hits the stop loss every time when trading in real time, but I don't know why. Do not completely trust the results of the EA strategy tester, as the results will be different when trading in real time. I'm also looking for updates like you.

Please let me make $100 a month...because I'm struggling. Thank you all.

screenshot.pngscreenshot.pngscreenshot.pngscreenshot.png
screenshot.pngscreenshot.pngscreenshot.pngscreenshot.png
screenshot.pngscreenshot.pngscreenshot.pngscreenshot.png
screenshot.pngscreenshot.pngscreenshot.pngscreenshot.png
screenshot.pngscreenshot.pngscreenshot.pngscreenshot.png
screenshot.pngscreenshot.pngscreenshot.pngscreenshot.png

Attachment to original post (4)

📦 Summary of post attachments (2)

Below are all the files (2) shared in the reply.

Verification code Refresh