Greetings @l-andorrà ,
No it isnt
Greetings @l-andorrà
Yes, but kindly note that when the 2 positions, with lot size of 0.1 are closed, the next lot sizes is going to be 0.01.
Kindly note that it resets per candle. (Which means the next candle, First two opening position if conditions are met, will be 1.0, then the next two will be 0.9, and the procedure repeats itself)
Greetings @l-andorrà,
I am sorry. What I mean is that I only want every two positions opened to start with a lot size of 1, then every two positions closed, decrease the lot size by 0.1. Until when reached a lot size of 0.1, then decrease lot size to 0.01.
Greetings,
I thought that because it is an EA, because it is a robot, it should instantly know. I guess that did not work out.
Do you know any strategy that is profitable within a month. I'm willing to compensate or share profits.
Greetings,
As you will notice, my EA trades as per candle, then any open positions, it will close after a bar or two. I want to edit my EA to where the first two positions will open at lot size of 1, then the next two will be 0.9, then the next two will be 0.8, until it reaches 0.01. then it will reset per candle opening.
Below is my shared project:
https://fxdreema.com/shared/h3Gnmflbe
Greetings @l-andorrà,
Ok, how about creating an EA, where within the first miliseconds of a position, if it is a loss, then close the position. If it is a win, then keep it opened with a breakeven of whatever the profit is
For example, if a position is opened, and within the first milisecond it is experiencing a loss then close the position. But if it experiencing profit, then keep it opened, with breakeven of highest recorded profit; if the position gained 5 pips, then gained 2 pips, then gained 3 pips, then lost 1 pips, then breakeven is at 9 pips. It gained 10 pips, but the minute it goes down by just a bit, then close the position
Greetings,
Just out of curiosity, is it possible to never experience a loss. To use break even all the time. For instance, once a positions is opened, if it did not increase within the first milliseconds then just close the position at zero. and if it increased then keep the position opened.
Greetings,
I have many strategies in my mind. These strategies involve placing a lot of trades with minimal take profit. However, there will come a time where one position's loss will result in a massive decrease of current balance; it will outweigh all the other profitable position previously taken.
I will be sharing with you, one of my many strategies (inputs are adjustable).
Shared Project: https://fxdreema.com/shared/Ery4IBlVc
My objective is to create an EA that recognizes when a losing open position, and the loss currently represents 20% of all previous profitable positions taken, I would like for the EA to close the position.
The shared project above is just an example of how intense the number position will be taken over a set period of time. Just to be more accurate, after a set of position has been taken, the next position will have a stop loss that represents 20% of all previous profitable positions taken.
Also, I would like to know, how to have the initial lot size 1 for example, and as more position taken increase, as the lot size decreases. Once lot size at an all time low, then reset lot size back to the max ( in the case, 1)
Also, is it possible to add a breakeven profit. For instance, if conditions are met, and positions is opened, and profit remains 0 from the start of the opening positions, then close the positions.
Greetings @l-andorrà ,
Apologies for the previous post. I figured it out.
Kindly have a look at the image below:

It is suppose to close the position immediately on the next candle opening. But it did not do that.
Below, you can find my shared project:
https://fxdreema.com/shared/j7AF17Qxc
Your kindly earliest response is much appreciated.
Greetings @l-andorrà,
Once again, thank you for your cooperation.
Kindly notice the errors found in the image below:

Below you can find the shared project:
https://fxdreema.com/shared/DtccIOdjc
As you can see, I pretty much did everything you asked for, unless I am mistaken (which I am positive, I did a mistake).
Can you please tell me:
*How to fix the errors?
*Are the block ID's correct?
*If you could please check if I did everything right, and not miss something or type in something by mistake.
Thank you so much for your kindly response
Greetings @l-andorrà,
I am interested. To answer your question, for my personal interest, yes
Greetings @l-andorrà ,
I read it. And I still do not understand. When you open variable. What do you type in the " type", "name", "value", "description" section. I read the link you provided previously and I am still lost.
As mentioned previously, if you can literally tell me, word for word, step by step what to type in, that would be great.
As mentioned previously, I am not a programmer, and I still have no idea what to type in.
Greetings @l-andorrà,
Thank you for your response. I would like you to have a look and help me fix the following errors.

I kindly request from you to help fix these errors, but please tell me the solution in details.
Also, if you can have a look at the entire project, and have a look if I did anything wrong that would be great.
Shared Project: https://fxdreema.com/shared/IIJb4XA0d
Greetings,
Please understand that I am not expert. So, you might want to baby-step me through the procedure.
I shared my project so that you can see where I am at, and in order for you to visually assist me.
Kindly explain more, where can I find this on mt5, and how and where do I place it in my project?
The shared project is below:
https://fxdreema.com/shared/Lv7W7Crzd
Where would I place your answers in my project.
Greetings @l-andorrà,
Well essentially, the ea has a take profit, but if it did not take profit, then just close at the next candle's opening price.
I'm going to assume, yes you are correct.
Greetings,
I would like to know, how to create a system where every trade lot's increase in size but then resets.
For instance: first trade - lot 0.01
second trade - lot 0.02
third trade - lot 0.03
fourth trade - lot 0.01
fifth trade - lot 0.02
sixith trade - lot 0.03
*Notice how trade increases, then reset. This is what I am trying to accomplish.
Below, you will find the shared project:
https://fxdreema.com/shared/FPMemGwie
Your response is much appreciated.
Greetings @l-andorrà
I want you to take a look at the picture below:

As you can see in the picture above, it opened correctly the selling position; because the pair of 200 EMA's are below the 800 EMA, and price closed below the 200 Low EMA. But it should close the position when price closed above the 200 high EMA, which it did not do.
Below you will find the shared project.
https://fxdreema.com/shared/jeJlMvkW
*I did the candle ID'S as per your advice, and I adjusted the blocks based on your advice.
*You can forget about the concept of spread, It won't be in my strategy or EA
Your response is much appreciated