For any EA you make ... Before allowing a new order to be placed, we need to check first if there is an already pending open order or an open trade.

Once per bar is probably not a good idea. If you use your EA on more than 1min chart ...a bar can be very long and a lot can happen in that time.
You also want to use a time filter.... (if you want to sleep well...hahahah) I trade for example DAX and I want my EAs to work only during Euro and US market times.
Best posts made by Pipperoni
-
RE: Multiple trades are created one after another?posted in Questions & Answers
-
RE: How can we define a hammer candle??????????????posted in Questions & Answers

My subtraction of high - open is rather for a shooting star than a hammer ... sorry. But the logic is the same . -
RE: Any suggestion for Renko Chart !?posted in Questions & Answers
Be careful ! Metatrader is not good in making a chart of Renko. It creates BRICKS that look like candles .... BUT THEY ARE NOT. In a Renko chart (on MT4) the values for open high low close are useless. The only value that is correct is the close value, at the instant of closing (formation) of the brick ONLY. If you make an EA that use "once per bar" it will react on the bar open. But this value is only created retrospectively in a Renko chart. If you want to invest time in Renko ... make EAs that ONLY take the brick close for action ...(good luck with that)
-
RE: How to run the same EA on two metatraders?posted in Questions & Answers
https://fxdreema.com/help/working-with/magic-start-and-groups
There will be an other reason why the EA does not trade. We can even give trades from the same EA a different MN by using the Group Number (the upper parameter you find in every block).
Latest posts made by Pipperoni
-
RE: Cluttered EA input window improvementposted in Questions & Answers
Happy to hear that L'andorra, and with this our desire entered in the chat archive. Any idea how to promote this improvement ?
-
Cluttered EA input window improvementposted in Questions & Answers
Dear Fxdreema, can you please add a comment line in the condition blocks. Because the EA inputs window looks very cluttered and it is often difficult to distinguish quickly between the different indicators.

So this would allow us to write a comment between every indicator ... like this:

Thanks for considering -
RE: generic questionposted in Questions & Answers
Test and curve fit it on 15 years of data, and than (forward) test it on 15 years of OTHER data of the same instrument. Than ... you will be 1 disappointment richer.
-
Tick value for DAX DE30posted in Questions & Answers

The value of DAX is now like 15900.00
When I set de30 = 0.01 the tick value is 100 time to big. A move of 10.00 gives a money value of 1000 in stead of 10.
Setting the Pip Size in Project Options to 0.0001 decreases also the value of the profit pips of the EA.

Please help . -
RE: Simple EA ... why not working ?posted in Questions & Answers
Ahaaa.....josecortesllobat !
Thanks for the tip !
2 Problems:- "all automated and manualy opened" Had to be chosen.
- AND: the Magic number in the EA settings has to be deleted
Thanks for your kind help josecortesllobat. You solved my problem !!!!
-
Simple EA ... why not working ?posted in Questions & Answers

This EA .... when my profit goes above 3 .... it schould close all trades ?
But it doesn't !

Here is the EA:
https://fxdreema.com/shared/aWpM1Opie -
RE: Bucket of closed tradesposted in Questions & Answers
0_1523878802085_bucket test 9.mq4

In this simple setting the block "Bucket of closed trades" will look back 6 minutes from NOW (the server time) and pass when there are LESS than 10 trades in these last 6 minutes ... correct ? So I may expect that when I start the EA in the back tester, and the bucket sees 0 trades ..(less than 10) ... it will pass. Nope !
When I run the EA in the tester it shows 0 trades. When I bypass the block it shows hundreds of trades. I tested on 2 different brokers : same result. -
RE: How can we define a hammer candle??????????????posted in Questions & Answers

My subtraction of high - open is rather for a shooting star than a hammer ... sorry. But the logic is the same . -
RE: Bucket of closed tradesposted in Questions & Answers
0_1523015068848_Bucket test7.mq4
This is the test EA ... How to use this "Bucket of closed trades" block ?????