• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Suggestion I will make a Free EA with your Indicator

What time do you want to trade? You want to trade 0:00 to 06:00, for example?
View attachment 85057
For example, by this setting, EA will stop between 10;00 to 18;00, just stop EA and not close orders.

I'd like the EA to operate continuosly from 00:00 until it reaches the target profit (also in the next days if necessary) and, after the profit is reached and the orders closed, it starts again at the next 00:00 :ok:
 
I'd like the EA to operate continuosly from 00:00 until it reaches the target profit (also in the next days if necessary) and, after the profit is reached and the orders closed, it starts again at the next 00:00 :ok:
OK, I fixed.
upload_2019-5-15_15-6-57.png

profit target is $1 and close at 4:00 and EA re-start next day (00:00:00)

Please test with attached set file.
 

Attachments

OK, I fixed.
View attachment 85061

profit target is $1 and close at 4:00 and EA re-start next day (00:00:00)

Please test with attached set file.

Screenshot_2.jpg

Mr. Tanaka, this is what happened during the test.. the sign "Now today's profit reached..." appeared only when I stopped the test..I also verified that the EA always stops after the first few trades with my original set :eek:
 

Attachments

  • Screenshot_2.jpg
    Screenshot_2.jpg
    123.9 KB · Views: 956
Can you test with my set (EU H1 )?

I tested it with your set file at EURUSD H1 and other timeframes, that was the result..with my original set file I did't see that error..this is the snapshot :speechless:

Screenshot_3.jpg

Is there a way to simply let the EA restart at 00:00 after concluding the first row of orders? As you could see, then the EA stops trading with my set file..it would be perfect if it could start again from scratch the day after the closure..
 

Attachments

  • Screenshot_3.jpg
    Screenshot_3.jpg
    138.5 KB · Views: 954
I tested it with your set file at EURUSD H1 and other timeframes, that was the result..with my original set file I did't see that error..this is the snapshot :speechless:

View attachment 85070

Is there a way to simply let the EA restart at 00:00 after concluding the first row of orders? As you could see, then the EA stops trading with my set file..it would be perfect if it could start again from scratch the day after the closure..
Can you test this?
 

Attachments

Can you test this?

Now the OrderSend error appears very rarely in your set, but with my set the EA always stops trading after the first row of orders:

Screenshot_4.jpg

Sometimes it seems that the EA stucks also with your set file...
I guess the trick is in the parameters "Risk1" and "Risk2" which I set to 400 instead of 100, if I restore them to the original value the EA goes on trading for a while..can you check why it behaves this way?
 

Attachments

  • Screenshot_4.jpg
    Screenshot_4.jpg
    131.3 KB · Views: 949
Code:
 MainLot1  = NormalizeDouble(LotsOptimized(Risk1, Deposit1), 2);

RefillLot1 = LotsOptimized(Risk1 - CurrentRisk(CountLotsAllOrders(Magic1, TypeOrder1), Deposit1), Deposit1);

yes, order lot size is decided based on 2 parameters. Deposit and Risk, so please optimize them.
Your lot size is very big, so deposit is enough?
 
Code:
 MainLot1  = NormalizeDouble(LotsOptimized(Risk1, Deposit1), 2);

RefillLot1 = LotsOptimized(Risk1 - CurrentRisk(CountLotsAllOrders(Magic1, TypeOrder1), Deposit1), Deposit1);

yes, order lot size is decided based on 2 parameters. Deposit and Risk, so please optimize them.


I worked many hours to obtain that set, I don't think I can change those parameters without compromising the strategy..can you make the EA restart anyway?
 
Back
Top