@l-andorrà thanks, but doesn't this just look at the current open trades? I'll try it though, so thank you for replying, much appreciated.
Posts made by Matatika
-
RE: Help with "Check Profit" Pleaseposted in Questions & Answers
-
RE: Help with "Check Profit" Pleaseposted in Questions & Answers
@jstap here's a link to the project: https://fxdreema.com/shared/2zK8P2FFd
-
Help with "Check Profit" Pleaseposted in Questions & Answers
Can someone help me with me settings in the "Check Profit" block. I have it connected to a close trades block, and want all trades to close when a net daily profit of $20 is hit. The block will close trades when the value of open trades is $20, but it doesn't take into account any losing trades that have already been closed. Here are trades from today:

You can see it closed the 3 buy trades when profit was $20, but didn't recognise the 2 losing trades closed earlier in the day. These are how I've set it up:

Thank you . -
RE: Buy Pending Orderposted in Questions & Answers
@Hiten7405 Yes, I've got buy and sell conditions, but with this block, when the buy conditions are met it's setting a a buy and sell order at exactly the same time. If I go in and manually try to cancel the sell order, both the buy and sell pending orders are removed, so they are linked somehow.
Anyone have an idea why? -
Buy Pending Orderposted in Questions & Answers
Any idea why a buy pending order block would be opening short trades as well as long trades?

In live testing it's open buy and sell orders at exactly the same time:

-
Market Propertiesposted in Questions & Answers
I'm trying to create an EA where 1 of the conditions is to open when price is above/below the 60min high/low.
I've set the condition as shown for buys but it's not working as expected. Any suggestions would be appreciated please.
Thank you

-
Number of tradesposted in Questions & Answers
Hi
I've created an EA that opens only one trade at a time. Is there a way to limit the number of trades it opens to say three per day. I want to create this for testing purposes.Alternatively, if there a way to have the EA stop entering trades until the following day once a winning trade has been closed?
I can do this manually in live trading, but want to use the Strategy Tester to back test and optimise the EA.
Cheers
-
RE: Daily US500 EAposted in Questions & Answers
I've tried to create one with the basic skills I have but can't seem to get setting right. Doesn't enter properly, or close.
-
Daily US500 EAposted in Questions & Answers
I need some help building a basic EA if anyone is willing. I'd like to back test a strat on a Daily chart on US500 that opens a buy on each green (long) candle close, and continues adding positions every day the market rises. All long positions close after a red (short) candle, which also opens a sell position.
A green candle closes any sell positions and opens a new buy, and so on. Does that make sense?