Running on Multiple Forex pairs
-
Is it a problem to give an example.
I understand start trades loop. But it must not strat right away at the beginning of the trade.
The start trades loop has to start when the level in block 49 is hit once.Thanks,
Martin -
Once again - you should NOT use "(in loop)..." block without "Start trades loop". When you have even 1 block starting with "(in loop)" and it's woking with trade(s), then you MUST use "Start trades loop".
-
OK. Than i start with Start trades loop.
But the question remains the same.
Will you please make an example for me.
I even will pay for it.
Martin
-
Let's try with this example: http://fxdreema.com/shared/ti5FBKglb
Do you get it? -
Thank you for your example.
I made a new drawing for you to ask what i do wrong here.
Will you please take a look at it.
Thanks again.
Martin
......
Trading System.jpg -
Well, you still miss "Start trades loop" for blocks 49, 55 and 64
And I'm not sure if the connections are ok. When you have two things connected one after another, then the one which is above is executed first. But when you have parallel connections.. it depends on the block I - lowest ID is executed first. These things must be ok as well.Why don't you install TeamViewer and I will connect to you to try to make this EA somehow

-
Thank you very much.
I am looking forward to it.
I allready installed TeamViewer.
Please let me know when you are ready to do it.
I live in Holland but you already know that i think so we may have some difference in time.Regards,
Martin -
I'm in Europe too. Come to http://fxdreema.com/chat
-
Hi fxDreema,
Thanks again for you help yesterday. I make great progress !!
But when one big thing is solved there comes a few questions.
You know my system a bit now and I will start with the first question.When my EA makes a buy trade and after a while a percentage of the trade is being closed.
What will the block "(in loop) Once per trade/order" do ??
Does the EA the same thing again to the remaining trade because actually what Metatrader does is openening a new buy trade.
Or will it wait till the next NEW (sell) trade is being started.I hope you understand my question.
Regards,
Martin -
Each trade has it's own unique ticket number. "Once per trade" block has internal memory where it keeps a list of ticket numbers, and it passes only when the loaded trade is not within that list. In case of partially closed trades, there is a new trade created with new ticket number, but that block checks if the currently loaded trade is created from another one, and in this case the block does not pass. In other words, that block should pass once for every trade that is not created after partial close. Each of these blocks keeps it's own independent list of trades.
-
Thanks for your explanation. It is very clear so.
I know you are busy with your server. But when you have time will you look at my 2e question?
You know my EA will trade not on a crossover but only when the 3 conditions are true.
When i start my EA on a monday morning and we open for example 100 pips higher than the close of friday i don't want my EA to start right away.
I want the EA to wait until one or two of the conditions become false.
And when that situation has happened he is free to go for the next trade when the 3 conditions are true again.I am looking forward to this answer.
Kind regards,
Martin