@jstap Thank you for your ideas. I will see how I can use the pink blocks. I was also thinking bucket of trades open positions may work in conjunction with the breakeven block. My idea is to use the breakeven as a manual intervention when the trades move beyond breakeven point to prevent a loss via a spike reversal. This is for use on a 1 minute chart. Thanks again.
Posts made by Johntyr
-
RE: Breakeven multiple trades.posted in Questions & Answers
-
RE: Breakeven multiple trades.posted in Questions & Answers
@jstap The point at which the multiple trades become profitable.
-
Breakeven multiple trades.posted in Questions & Answers
Hi, I want to find the single breakeven point of more than 1 trade.
For example if I have 4 trades open I wish to find the single point at which all 4 will deliver a profit (the average of the 4).
The breakeven (each trade) block gives the breakeven point of each individual trade, not the cumulative breakeven.
Thanks for you help. -
RE: How to open a BUY LIMIT or SELL LIMIT order with 3 horizontal lines.posted in Questions & Answers
@xyon126 Sorry, I forgot to remove old button blocks.

Corrected version: https://fxdreema.com/shared/VDBCevpadSorry, I can't help with the rest as I know nothing about MQL code.
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
Thank you @XYON126 , I appreciate you helping. I don't fully understand it yet but I will study what you said and try to comprehend.
-
RE: How to open a BUY LIMIT or SELL LIMIT order with 3 horizontal lines.posted in Questions & Answers
Hi @XYON126, Sorry, I just dropped them on to show that the buttons work. Clean version attached.
https://fxdreema.com/shared/379qevLue . I have not confirmed your other blocks work.
-
RE: How to open a BUY LIMIT or SELL LIMIT order with 3 horizontal lines.posted in Questions & Answers
Hi @xyon126 , I suggest moving everything from on Tick to on Chart and use Mouse clicked on object to activate your trades. Hope this helps.
https://fxdreema.com/shared/9GlSyJbid

-
RE: Play sound on profitposted in Questions & Answers
@johann-0 yes you can make it a constant so you can change it in the inputs of your EA, or a variable so you can have your EA choose the profit level via ATR, % of risk, or trailing stop etc. Your choice.
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
Hi @l-andorrà , Thank you for getting back to me. I tried both your suggestions, true/false variables, and the crossing counter variables, and I am getting no where fast. I have attached both attempts. Obviously I am doing something critically wrong as I cannot get either to work. Can you point out the errors I am making. Once again, your help is very much appreciated.
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
@l-andorrà Thank you for getting back to me again. All crossings/uncrossings need to be considered. The most I have seen is about 3, which is tolerable.
If possible they should be filtered but first things first. If I can get the reversals happening then I can then try filtering trades later.
The main goal is to stay in the trade with the trend till it gives another reversal. As in the example above the move was correctly entered and moved 800 pips but all of that was a loss because of the pullback and false signal at the beginning.
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
@l-andorrà Thank you. Sorry, typo, they were meant to be boolean. https://fxdreema.com/shared/NOD9Dzj9e . This des not not work as is, what do I need to change?
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
Hi @l-andorrà , I have been trying to do what you suggested, not getting very far. I cannot yet get it to work. Project attached:
https://fxdreema.com/shared/JBMSxChyb
Am I heading in the right direction. Also I do not know how to make sure the actions happen within the current only. Your further help appreciated. Thanks.
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
@l-andorrà , Thank you, I did not give that approach a thought. I will set it up and let you know how it goes.
-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
@l-andorrà This example explains what I mean. The line crosses, triggers a buy trade (as in the condition block attached) and then uncrosses. Crosses are not visible in the picture because of the line repainting.
When the uncross happens, I would like to do something, either close the false trade or reverse.
I cannot find anything in FxDreema to do this. A solution or any other suggestions are welcome.

-
RE: Line cross entry EA to close trade if the lines uncrossposted in Questions & Answers
Hi @l-andorrà , thanks for getting back. The line will cross the other momentarily on the same candle, long enough to trigger a trade, and then flick back to uncrossed again.
If the price then continues in it's original direction a bad trade has occurred. I would like to close this trade immediately the line becomes uncrossed to try minimise the loss.


