OK. Thanks jstap. that will make my work more stressful and more blocks to be used. I hoped it will work like that before.
Latest posts made by Mdfaculty
-
RE: One Condition block with multiple levels to cross.posted in Questions & Answers
-
One Condition block with multiple levels to cross.posted in Questions & Answers
Will it work if I make one single condition block with rsi to cross above 50,60 level or more levels?
-
RE: How to close 75% in profits of total trades runningposted in Questions & Answers
The block works but it is not dynamic. It is fixed. If I change any setting's in the EA. I will have to do a new calculation...Thank you. I hope to get more dynamic way to do that.
-
RE: How to close 75% in profits of total trades runningposted in Questions & Answers
@Mdfaculty said in How to close 75% in profits of total trades running:
@l-andorrà yes that is what I meant
That is if there is 6 trades only then when 4 or 5 are in profit which is about 75% profit of total trades it should close all 6.
If it is 7trades only then 5 or 6 trades should be in profit which is also 75% in profit, it should close all 7 trades. So there may be 2trades in loss and 5trades as profit taken. And so on and so forth.
Therefore the number of trades open should determine how many trades should close in profit and how many should close in loss but the profit should be 75% and the loss 25% out of 100% before it closes all trades. But the closing system should be active when it reaches at least 6 trades or more but if trades open is less than 6 it should let TP OR SL close it.
I couldn't get the formula block to do it or maybe I am doing wrong.
This is the formula I used to get 75% of total trades in profit
For instance,
Maximum floating profit/loss of 6trades= -$100,
75% or 0.75 of $100=75 which is desired profit
And the loss will 25. Close all trades.Likewise if you use pips the same result.
How I used it in the formula block
If maximum floating profit/loss of 6trades=-$100
Divide the floating profit by maximum floating profit/loss
Let's say the floating profit reached+$75
75/100=0.75
Therefore whenever the formula block does this calculation and the result is 0.75, it should close all 6 open positions.The result 0.75 is the 75% of profits.
Do you understand now? -
RE: How to close 75% in profits of total trades runningposted in Questions & Answers
@l-andorrà yes that is what I meant
-
RE: How to close 75% in profits of total trades runningposted in Questions & Answers
here is a link to my project pro builders help me check https://fxdreema.com/shared/tj8VnPV3d
-
RE: How to close 75% in profits of total trades runningposted in Questions & Answers
@fx_boy that will not work the way i want. and maybe you didnt understand my question very well. out of 100% of trade running, i want to close whenever it reaches 75% in profits but it should only be executed when there are atleast 6 trades or more actively running.
i tried using formula block but whenever it reaches six trade it just close i dont know what am doing wrong. i will share the link to my project here to help me check.
-
How to close 75% in profits of total trades runningposted in Questions & Answers
Please can someone help me on how to close 75% in profits and 25% in loss of all current trades running at a time?
For instance if I have atleast 6 or more trades with 10pips distance from each trades all running in loss then this closing system should be engage when all the 6 or more trades are returning to profits, as soon as the it reaches 75% in profits, it should close all 6 or more trades.