Strong Confirmation
-
Greetings,
I would like to use 800 EMA to catch long terms. I would like to use ADX to confirm a trend.ADX Value Trend Strength
0-25 Absent or Weak Trend
25-50 Strong Trend
50-75 Very Strong Trend
75-100 Extremely Strong TrendWhen price crosses the 800 EMA, and ADX value is at 60 then open's position. I am having a hard time creating this. Can someone help me? I do not have a project to begin with.
@line What is your opinion about this strategy.
-
@ramimoujaes I'll be glad to help you. Can you please share your current project to take a look at it?
-
@l-andorrà Greetings,
I think I have figured it out, I manipulated my strategy a bit. However, I do have a follow up question. How do we create a system when, for every time conditions are met, open 10 positions; how to create a system where it will a open X numbers of position where X is a number.
Also, how do we create a system where if multiple positions are opened, and if the total profit out of all the positions are opened exceed 20%, then close all positions.
Below, you may find the shared link:
https://fxdreema.com/shared/3aUOMOHPd@l-andorrà Your kindly earliest response is much appreciated
-
@l-andorrà Greetings,
I forgot to ask you something earlier. How can I create a system where if 80% of all open position are profitable, then close all positions.
-
@l-andorrà Greetings,
I swear I believe I have a memory of a goldfish, but I honestly forgot to ask you another question. How do we create a system where if the account increases by 2%, the increase the lot by 0.01, and if account decreases by 2%, the decrease the lot by 0.01.
So essentially I have the trading strategy, I just want to know how to:
1)Open a limited number of position when conditions are met.
2)If the majority of positions are in profit (therefore outweighing the losses or have potential to recover the loss and end up in profit), then close all position.
3)If account increases by 2% then increase the lot sizes (if initial deposit was 1000 USD, and then it increased to 1020 USD, then increase lot by 0.01. Then if the amount of 1020 increased by 2% (it became 1040.4) then increase the lot by 0.01) So it is more of a revolving method.
- If opened position are not closed after 10 bars/candles, the close the position.
Hopefully, I won't remember anything else.
If anything is not understandable, please do let me know.
Your earliest response is much appreciated.
-
@ramimoujaes Ok. that is a lot of questions at the same time!
Let's answer one by one. Which one is the most important one? -
Greetings @l-andorrà,
How about we start by answering the following question,
How do we open multiple positions if conditions are met?
-
@ramimoujaes Ok. You need to connect as many 'buy/sell now' blocks as open trades you need at the bottom of the conditions tree. Next one?

-
the next question is how do we create a system, where if all positions are opened, and if I ought to close allm positions to result in profit; like how do we check if all position ought to be closed and result in profit, I want the EA to do that, does that make sense
-
-
@l-andorrà
when the ea opens positions, if it did not take profit within the same bar the ea opened the position, then I want to close the position.Also, if we can make it adjustable, for instance, i do not want it to close position within the same bar (if it did not take profit), I want it to close position after 2 bars for example
-
If you can explain to me what is the profit amount, that would be great; Like what does the number represent. I type in one, what does that mean? Does that mean that if total positions profit 1 USD then it will close all positions?
-
@ramimoujaes The profit amount is the amount of money you want to gain before closing all trades. Please note that you acn choose pips too.
-
@l-andorrà Greetings,
I have 3 questions I would like to ask.
-
How do we create a system where, if I opened a position, and after 2 candles, the position is still opened, then I want the EA to close the position.
-
How do we create a system where, every time my balance grows, the lot sizes increase? For example, if I started with 1,000 USD, and after a while my balance increases by 2%, then increase the lot by 0.01; So, every time the current balance increases by 2%, then increase the lot sizes (the numbers must be adjustable).
-
How do we create a system when, if the equity has decreased by 10%, then close position all positions (Numbers must be adjustable).
@l-andorrà Your earliest response is much appreciated.
-
-
@ramimoujaes You can select any value fo any of those parameters by creating a Constant and then inserting it into the appropriate place. Now on you questions:
For question 1:

There you can set the time at which the trade bill be automatically closed.
For question 2:

There you can set the amount of lots required to increase every new trade as your balance moves up or down.
For question 3:

I hope this helps.
-
Greetings @l-andorrà
We have problem. The answers that you gave me, weren't too accurate, because it did not answer my questions as I thought it would, nor did it show me how to perform certain amendments. Assumingly I was not clear, I will repeat some of my questions with a but with a visual output.
Below is my first issue:

Take a look at the picture above. It took a while for the opened position to close, and I amended the expiration and the equity as you will see in the shared project below. I do not want that, I want the position to either close when a new candle is opened, or x candles after the position is opened (where x is the number of after how many candles should the opened position must be closed) or When my equity has decreased by 20%. Which bring me to the next questions.
Below is my second issue:

As you can see from the picture above, the equity has decreased more than 20%, yet the expert advisor did not close the position. I add the condition of accounts as you will see in the shared link below. Essentially when equity, has fallen under the current/updated balance by 20%, then I would like the EA to close the position.
Below, you can find the shared project:
https://fxdreema.com/shared/QLpqupq4d
I am positive I have done something wrong, and I apologize if I was not clear.
Your earliest and urgent response is much appreciated.
-
-
@ramimoujaes Your take profut is too short. I'm not dure your broker will accept it.
-
Greetings @l-andorrà,
I have a good relation with my broker. I am simply trying things out. If you can help me regarding the earlier reply (with the two pictures), that would be great.
Please, your urgent reply is much appreciated.
-
Is anybody free to answer? Because I need to proceed soon. I can not keep waiting. Please this urgent! I have been on this post for quite a while now.
