You can do it via variables. As soon as a trade is open you can store those price_high and price_low values into variables and then use them on condition blocks for any new trade.
Posts made by l'andorrà
-
RE: Entry base on priceposted in Questions & Answers
-
RE: How To Get the New Candle Range + Average of ATR from the Rangeposted in Questions & Answers
Just to make it clear, when you say 'average ATR of that candle range' you mean the average value of all individual ATR values of that range, not only the average of the highest and the lowest ATR values there. Is that correct?
-
RE: Tutorial 08 - Candle Formationsposted in Tutorials by Users
I'm afraid miro1360 abandoned the foruls many years ago.

-
RE: How to get the Average Value of the Indicator for nBarsposted in Questions & Answers
@jstap Just curious. Shouldn't the 'Comment' block be connected BELOW the custom code in order to see the updated value of the variable every tick? Your current setting is showing the value of the previous tick instead.
-
RE: How to send "Push Notification"posted in Questions & Answers
@ivyzhao Yes, you can use this blocks:

-
RE: Martingale not working on 0.001 lotposted in Questions & Answers
Then I'm afraid it's the broker. I found myself into that same situation several times in the past. Some brokers do not offer the same trading conditions when backtesting and when trading. You should confirm that by testing other brokers.
-
RE: open reverse order with multiply lot size from previous tradeposted in Questions & Answers
That is what I wanted to point out. You should select thet same group on those blocks. They are not doing that now.
-
RE: open reverse order with multiply lot size from previous tradeposted in Questions & Answers
Blocks 8 and 9 are searching for different trade groups.
-
RE: How to use ZigZag indicator to measure and store swing distance (in pips)?posted in Questions & Answers
@windsor-2003 You can do it this way:

Tjis will get the points distance. If you need it in pips, simply add the necessary formula on the 'Adjust the result' box.
-
RE: Why doesn't my lot size increase according to the equity percentage?posted in Questions & Answers
This is because that option wors in an unintuitive way for reasons I don't fully understand yet. This should have been fixed long ago, but I see it ts still running. You need to select ricolously high percentage values there. Insted of 5% you should use 500% or 5000%, depending on the broker leverage. Just select values by trial and error until you get the correct figure.
-
RE: K2 Forex Bot ( Free Downlaod )posted in Tutorials by Users
Seriously? Do we still need to explain with evidence how ridiculous is using martingale on trading?
-
RE: open reverse order with multiply lot size from previous tradeposted in Questions & Answers
Could you please share a link to the project? That will make it easier to review.
-
RE: When do I set the parameters to appear in the MT4 testing test and do I have to set them for sales and purchases or just once?posted in Questions & Answers
I'm afraid I don't get what you mean exactly. Do you mean input parameters? They are set at the beginning fot he testing and will never appear on your chart unless you explicitely added a structure doing that. Is that what you mean?
-
RE: Martingale not working on 0.001 lotposted in Questions & Answers
Was the bot created with fxDreema? Did you tried it in backtest?
-
RE: Robot Eaposted in Questions & Answers
Another important factor is the number of trades per time period. A bot can be very successful for 10 years by opening no more than 2 trades per month, for example. The higher the number of trades you want, the riskier in general.
-
RE: trouble posting trades to telegramposted in Questions & Answers
Did you try connecting block 289 to block 270 without using block 285? That should work fine. If it doesn't, the reason must be somewhere else. For example, I can't see how closing a trade should be connected to Telegram in your link. That means we are not seeing the whole project.