According to the logging:
1. The trade was opened at 2019.09.16 @12:00
2. The 'x' that you circled occurs at 2019.09.16 at @13:00
3. The trade was manually closed at 2019.09.16 @17:15
Since the EA has to wait for a candle to close, then I would have expected CC Exit to close the trade at @14:00 -- which it did not.
So -- I agree. The trade should have closed at @14:00. And I don't have an explanation. Let's keep an eye on this and if it occurs again please send screen shots of the Trade and Account History logs (with Magic Numbers) along with the chart showing the dots and 'x's. I do not need to see the AllPairs EA chart.
Just made a list of the 8 currencies and gave each one a number 11, 22, 33, 44, 55, 66, 77, 88 to use in EA.
In the EA 4 digit group ID field for EURUSD I manually type 2211, for GBPUSD I typed 3311, for EURJPY I typed 2244, etc.
The EA shows this 4 digit ID on the chart as the Magic Number.
But the trades don't show 4 digit ID in the comments.
The format remains the same today -- though there might be some minor differences when it comes to the symbol IDs.
I must be misunderstanding Post #4982 where it says,
I've been meaning to explain how the EAs use MagicNumbers. For the single-pair trading EAs the default MagicNumber is '0'. If you leave it at '0' then the EA will compose one on its own according to the rules I layout below. If you enter a number other than '0' then it will use that.
For single-pair EA on EURUSD I entered magic number 2211.
But the single-pair EA comment is showing 1111 for EURUSD and for different pairs.
But today there are 3 EAs and I needed a way to distinguish which EA opens which trades. So, now, the EAs compose the MagicNumber but you can change the GroupID portion -- the 4 digits in the middle. By default the single-tranding EA uses '1111', the dashboard '2222' and the AllPairs '3333'. The portion of the MagicNumber that precedes the GroupID is composed by the EA and is based on symbol and time frame.
So in your case: 1-2-2211-01 I can tell that you are trading EURUSD-M5-2211-01. The '1' is EURUSD, the '2' is M5, the '2211' is the GroupID, and the '01' is the strategy ID (which is not used here and will always be '01').
I am using this psi indicator...
I just noticed the indi gave a Buy signal but the EA did not add a position to the current position that is still open.
It was discussed i know, but the TMA repaints badly...
Stated to watch the LMW crossing withe the midleline and it shows there is no magick in the indi
see this pic
and see this pick
You can clearly see that the rapaints 6 bars, wich is a whole day...thats huge in my opinion...
So in other words good entries at firs can later bee seen as bad entries or even no entries...
FOR those who will say try it first and you will see
The only prosit the are my own trades. The time frame is 4h, no intervention.
@Alianzer -- this has been discussed ad nauseum. Depending whether there is a very large bar nearby then the midline can be pulled up or down -- which then causes the upper and lower bands to move as well since they are computed as fixed offsets from the midline. Indicators repaint at different degrees -- this one does not constantly repaint -- only in the vicinity of large bars. You've been a member since 2011 so you should be able to confirm this for yourself by checking the source code for the NRP Centered TMA indicator.
An indicator is computed and drawn using historical data points -- i.e. data points that are old. The EA and trading occur in real-time at the current bar -- i.e. now. When the EA executes a trade that means it did receive a signal at the current bar -- NOW. It may turn out that as more data rolls in the indicator changes its mind. Welcome to forex...
1. AUDUSD-H1 opens a BUY at 2019.09.17@9:00 and that is closed at 2019.09.17@11:00 by CC Exit
2. AUDUSD-H1 opens a BUY at 2019.09.17@13:00 and that is closed at 2019.09.17@15:57 by midline crossing
Could you double-check and make sure the indicator and EA are both using the same Entry Type -- i.e. Consecutive Candles. If the indicator is using Consecutive Candles and the EA is using HA Transitions then it will get confusing trying to match things up. Actually -- we're considering removing HA Transitions as an Entry option in the next version since it seems CC Entries are just (if not more) reliable and because BDX also uses CC Exits. It makes things simpler with minimal downside.
@simontw -- I'm hard pressed to explain what you are seeing. This latest version didn't touch Entry code -- so, that should be the same as before. And as for CC Exit it works for me in Strategy Tester (using the single-trading EA) and AllPairs (using M5 on a Demo account) and also my live account.
Also keep in mind the EA executes one bar delayed compared to the indicator since it has to wait for the current bar to close before it will detect a signal from the indicator.
And let me ask you this -- is anything working for you? Are you getting any open and close trades? Is it just sometimes it's not working?
Could you run AllPairs on a Demo account and use an M5 chart to see if you can get anything to work?
Whenever I see a discrepancy the first thing I look for are nearby large bars that could pull the midline upward / downward. Since the indicator uses historical data it may mark the chart with dots and 'x's that weren't there when the dot or 'x' was the current bar.
I shall put it on a demo as you suggest. Currently woke up to live trades so will have to let this continue while I test demo.
Yes I am getting opening of trades woke up to these:
Close trades has been weird as like shown in the picture I would get the alert and see several candles later the trade never closed. Last week everything worked perfectly.
Shall update you.
Testing it on 5 min as suggested with 5%ADR to get some fast examples.
I just got my first demo trade to hit mid line, candle closed with a midline notification, next candle opened and closed gave midline notification again and the trade did not close.
Shall update more later.
Here is AJ several candles later and there have been multiple candles getting the midline close alert but the trade stayed open.
Also other buy signals but no new buys.
Very strange. Back to the example, I gave initially, I also did not get the second AU trade. I am wondering if it could be broker related??? I am on a Pepperstone Razor Account.
I'll continue to look into this and keep you posted.
@simontw -- thanks very much for your help with this.
Let me know if you need anything else as it is working really well with CC entry on the hour, getting these exits sorted would really put my mind at ease to leave it alone for the week without looking.
Same just occurred with GU and GJ. Got the alert and new candle opened while trade remained open...I manually closed.
© Forex Factory