Ok, I did as I wanted. It's not perfect, sometimes it is missing some trades probably due to some errors but I am unable to eliminate them. If you see that there is something wrong please let me know.
Posts made by Jarek
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
Hi, I did as you have advised but there is no joy. As you can see EA opens pending order until hit SL. I haven't got a clue what filter should I use to stop other orders being opened.
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
https://fxdreema.com/shared/Ot5gr8Hrd
Thanks for that but still opens more than one pending order exactly as it was before.
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
I detached 'variables' block as I noticed it does not make a difference in this project or I am wrong and don't see it.
My problem is that I can't find the way to open only one pending order instead of a few as is it now. -
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
@l-andorrà
0_1576348157675_test.mq4Ok, I think I am halfway through. It opens another trade at the TP of the previous one but the problem is that opens more than one. Do you know how to modify to open only one?
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
Yes, you are right! There are three blocks 'on tick' tab. 'once per bar', 'condition', and ''buy now'
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
Hi, I found this.
You see I can't find block ''trade closed'' and I don't know how to '' modify variables''-how to use it and block ''pass'', why do I use it, what is it for? -
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
@l-andorrà
Hi,
No, only two blocks. ''trade closed'' and ''buy now'' -
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
@l-andorrà
Hi,thank you but I clicked on this link and there are only 2 blocks 4,5 trade closed and buy now. I tested but this is something else.
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
@l-andorrà
Hi,
Only one trade active and one pending order, exactly as you have mentioned. -
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
Hello,
I would like an order to be triggered by e.g. cross two MA or some other indicator set up (could be anything) then if the order is closed in profit e.g. 20 pips open another position exactly at TP of that last closed order with the same direction, 20 pips profit multiplied by 3.
e.g.
1st order triggered by MA X
Sell EURUSD 1.100, 0.2 lot
TP 1.08
SL 1.12
2nd - pending order open at 1.08, 0.6 lot
TP 1.06
SL 1.10Thank you!
Jarek -
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
@l-andorrà
Hello, thank you very much for replying to me. I am currently abroad and I don't have access to my laptop. I am coming back home on 8th. I will contact you straight away OK.
Best regardsJarek
-
Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
I know that this topic was already posted by ''BlueMoon'' and ''miro1360''.
I would like to set a pending order exactly at TP of my last closed trade. I tried to figure out how they have done it but I am struggling with ''variables''. I haven't got a clue what to put in variables block and where and when should I use it. I have learnt how to create EA based on indicators and some other stuff but ''variables'' are really magic for me.
Can you please help me how to do it, please?
Best regards,
Jarek


