Forex Zone | Forex Forum

need code done mq4

Discussion started on EA Modifications

  • Posts: 1
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx

Quote
i would like code for a condition 
code that would close all losing BUY trades
and all losing SELL trades to be closed at the breakeven point
also it would subtract the spread value from
the breakeven SELL trade and add the spread value
to the breakeven BUY tread breakeven
it would take into account the different spread values for each currency pair
thanks

need code to do this thanks 



Linkback: https://www.forex.zone/ea-modifications/17/need-code-done-mq4/651/
#1 - January 10, 2019, 07:53:43 PM

  • need code done mq4 in EA Modifications_index
  • Posts: 3291
  • Points: 34354
  • Likes Received: 2988
  • Reputation: +168/-13
need code done mq4 in EA Modifications_xx
You posted under the EA modifications section. Where is the EA you want modified? Please attach the MQL4 version so the source code can be reviewed.
#2 - January 10, 2019, 09:28:21 PM

  • Posts: 113
  • Points: 0
  • Likes Received: 20
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx
Good logic from this EA and a little advice & criticism from me, if this EA is modified according to the rules of an indicator like it would be better, like EA with rules taken from the MACD indicator, maybe that is my suggestion, hopefully it can renew the EA for the future,
#3 - February 05, 2019, 06:00:33 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 743
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
need code done mq4 in EA Modifications_xx


is it not better to close if equity increases what percentage of capital
because if that happens there will be a commiss or swap that is still not counted
but if you use an increase in equity all counted
#4 - February 09, 2019, 02:48:53 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 468
  • Points: 0
  • Likes Received: 22
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx

is it not better to close if equity increases what percentage of capital
because if that happens there will be a commiss or swap that is still not counted
but if you use an increase in equity all counted
yes, sir, if you calculate equity, everything will go into calculation so that it can be used for all types of trading accounts
#5 - April 08, 2019, 04:20:03 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 743
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
need code done mq4 in EA Modifications_xx
yes, sir, if you calculate equity, everything will go into calculation so that it can be used for all types of trading accounts
right sir, because there are some brokers who apply no commission but there are swaps and no swaps but there are commissions
#6 - April 09, 2019, 12:01:13 AM

  • need code done mq4 in EA Modifications_Avril_Lavigne
  • Posts: 424
  • Points: 18
  • Likes Received: 39
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx
right sir, because there are some brokers who apply no commission but there are swaps and no swaps but there are commissions
or what if all modes are included and made into one package
#7 - May 16, 2019, 12:31:37 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 743
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
need code done mq4 in EA Modifications_xx
or what if all modes are included and made into one package
I think that is a good idea because with all the modes entered into one then it will get better because it is more complete
#8 - May 17, 2019, 12:36:06 AM

  • need code done mq4 in EA Modifications_Avril_Lavigne
  • Posts: 424
  • Points: 18
  • Likes Received: 39
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx
I think that is a good idea because with all the modes entered into one then it will get better because it is more complete
I think it should be like that, if everything is included in one mode it will not make any calculations miss
#9 - May 17, 2019, 02:25:31 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 743
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
need code done mq4 in EA Modifications_xx
I think it should be like that, if everything is included in one mode it will not make any calculations miss
right what you say, everything must be counted and don't miss anything
#10 - May 18, 2019, 12:25:21 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 743
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
need code done mq4 in EA Modifications_xx
right what you say, everything must be counted and don't miss anything
Quote
I think it should be like that, if everything is included in one mode it will not make any calculations miss

right what you say, everything must be counted and don't miss anything
#11 - May 19, 2019, 12:38:40 AM

  • Posts: 36
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx
right what you say, everything must be counted and don't miss anything
if complete it will be better
#12 - June 21, 2019, 08:18:22 AM

  • need code done mq4 in EA Modifications_index
  • Posts: 743
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
need code done mq4 in EA Modifications_xx
if complete it will be better
right, it must be calculated in full for better results
#13 - June 24, 2019, 11:11:24 AM

  • Posts: 44
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
need code done mq4 in EA Modifications_xx
right, it must be calculated in full for better results
I also agree that the pack must be complete
#14 - June 26, 2019, 07:35:58 AM

Members:

0 Members and 1 Guest are viewing this topic.


* Share Topic

Share via delicious Share via digg Share via facebook Share via linkedin Share via pinterest Share via reddit Share via stumble Share via tumblr Share via twitter

* Similar Topics

xx
EA Code

Started by Francoisvs on EA Modifications

41 Replies
1907 Views
Last post August 12, 2019, 06:25:31 AM
by munilipez
clip
NEED HELP TO CODE NEW INDICATOR

Started by Gutis on New Indicator Coding

2 Replies
462 Views
Last post July 05, 2019, 09:05:41 AM
by urip
xx
CODE EXISTING EA

Started by milo1969 on New EA Coding

19 Replies
858 Views
Last post July 25, 2019, 08:25:10 AM
by gawe
xx
Please help me code a basic 60-second strategy

Started by rcmenriquez on New EA Coding

2 Replies
617 Views
Last post June 28, 2018, 01:08:05 PM
by rcmenriquez