Get EA to adjust itself based on price of its last trade?
-
delete.
-
After the trade is closed on profit, you want to wait for the price to jump with X pips in 5 minutes and then trade again? Maybe measuring the size of M5 candle can help?
-
delete
-
Using candles is often the easiest way to do something. But if you want to measure the price for 5 minutes after the trade was closed, then something like this: https://fxdreema.com/shared/IkCEYOdve
-
delete
-
It depends. Here is one way to do that:
https://fxdreema.com/shared/zoNMeOEcdVery similar thing, maybe better:
https://fxdreema.com/shared/z5isE0tG -
delete
-
-
It just shows where the level is. Nothing will happen if it is removed. But in other variant you can actually use such line to mark the level => you will compare the current price with it's level, not with a variable. But variables are faster, that's why I decided to use a variable.
-
Performance. While you don't have a trade. the pink block will not be executed in variant 2. It can be optimized even more (with more variables), because you don't need to recalculate this value on every tick, but it should work fine line this.
-