You need to create a variable to store that value there by using a 'Modify variable' block. Then you can use that same variable as a condition to me met later in the EA.
Posts made by l'andorrà
-
RE: I have a doubt with the logic of the conditions.posted in Questions & Answers
-
RE: please help with this , is this a bug ?posted in Bug Reports
This is not my field of expertise, but i general those are the best options, AFAIK.
-
RE: Conditional trailing stop lossposted in Questions & Answers
Ok. Let's review it step by step.
-
Blocks 63 and 66 are comparing information from 2 candles away on thir left operands with that of the current candle on the right operands. Is this intended?
-
Block 60 is looking for any trade being closed 'no matter how'. This means both TP or SL being hit. Is that as intended?
-
-
RE: Save cross price into a variableposted in Questions & Answers
Then the best option is finding a custom indicator doing exactly that. Otherwise I guess you will need some custom code block from real programmers, not me, sorry :(.
-
RE: No trade when candle body pips from 20EMA > ATR14posted in Questions & Answers
Now I understand. These blocks need to be added before your byt/sell now blocks:

-
RE: MACD EAposted in Questions & Answers
@llqwertyll said in MACD EA:
@ambrogio there is an improvement but still checking its possible to share a screenshot.
Do you mean sharing a project?
-
RE: https://www.youtube.com/watch?v=_0WbX5D3n4M help with this EA pleaseposted in Questions & Answers
Do you understand what blocks 7 to 10 and 14 to 17 are doing as they are connected now. That's clearly wrong.
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
Could you please share the project instead of exporting it? That way it's easier for everyone to take a look on it.
-
RE: Multiple Pending Orders in Sequenceposted in Questions & Answers
There can be several solutions for what you want but depending on your current project. Can you please share it to take a look on it?
-
RE: EA closing trades immediately after creating from 3rd day.posted in Questions & Answers
Maybe because some blocks are looking for groups that don't exist?
-
RE: Save a trade price in a variableposted in Questions & Answers
I answered thatsame question three threads ago ;).
-
RE: Save current trade price in a variable ?posted in Questions & Answers
I answered that same question one thread ago ;).
-
RE: Save cross price into a variableposted in Questions & Answers
That's a tricky one. You can see both MA lines on your chart, but the crossing point is just a visual artifact. I would recommend you to store the close price of candle ID 1 once the crossing is confirmed, but maybe it is not what you are looking for.
-
RE: No trade when candle body pips from 20EMA > ATR14posted in Questions & Answers
I'm a bit confused, sorry. Can you please specify the required conditions?
-
RE: Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?posted in Questions & Answers
@rusen said in Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?:
@l-andorrà said in Hi, Can anyone help me to creating 'pending order' based on TP of my last closed trade,please?:
You can try this for buys only. You will have to duplicate ot for sells.
Hi l'andorra, I want to ask you one question. In this on Trade event, if trade close with TP, buy a position is executed. I want to know how can we change TP level of this new BUY trade to TP level of previously closed order. (same amount in pips with closed orders TP) In take profit mode there is profit option but I did not understand how to use it
You need to store the price level of your previous trade into a double variable at the moment that previous trade is open. Then you can use that variable as the new TP fos the new one.
-
RE: Multiple Pending Orders in Sequenceposted in Questions & Answers
Do you mean that every open trade will create a pending order automatically? Ore that every open trade will create several pending orders at the same time?
-
RE: EA closing trades immediately after creating from 3rd day.posted in Questions & Answers
Groups 170 and 174 are limited to groups 2 and 12 whereas up to 6 different groups are defined in you project. Additionally, block 154 has no symbol specified whereas block 164 has.
-
RE: I tried to do this ea but I can't make itposted in Questions & Answers
Is ths the project you've been asking for help for days?
-
RE: Why can I have a good backtest in roboforex theft and bad in icmarket?posted in Questions & Answers
Different brokers means different tick data, different spread, different swap...
