Forex Zone - Forex Forum

Martingale EA needed - Buy / Sell - MT4

Discussion started on New EA Coding

  • Starter
  • Posts: 1
  • Points: 501
  • Likes Received: 0
  • Reputation: +0/-0
Hi guys,


I was hoping someone could help me create the following martingale EA.

The EA will be used mainly for gold. But possibly used on other pairs.

It will start off with a buy, when it hits TP, it will then sell, when hits TP it will then buy and so on...

I need the EA to open a new trade and increase it lots sizes when it moves enough against the trade.

When a new position is opened, I want all open trades to change to the same TP as the newest one.

I want an option to add in a SL, which stays at the same price as the first position, with every new open position.

I want to have the options to controll the following.

Set TP - Change TP Value

Set SL -Change SL Value (0  = No SL)

Lot size multiplier - How much the lot sizes increase by (1 = Doesn't increase)

Lot size - Starting lot size

Step - Distance until new lot opens when trade goes against EA

The EA should be built so there is always a trade running (Buy or Sell) unless manually stopped.

Any questions please ask.

Thanks


Linkback: https://www.forex.zone/new-ea-coding/26/martingale-ea-needed-buy-sell-mt4/3831/
#1 - July 26, 2022, 08:49:49 PM

  • Full Member
  • Posts: 244
  • Points: 363
  • Likes Received: 140
  • Reputation: +16/-1
Hi. 
I like it. I'll try to help you.
#2 - August 03, 2022, 10:02:39 PM

  • Full Member
  • Posts: 244
  • Points: 363
  • Likes Received: 140
  • Reputation: +16/-1
Hi, done.
Please check what I got.
#3 - January 12, 2023, 10:47:39 AM
Attachments:

Members:

0 Members and 1 Guest are viewing this topic.