You need to store the previous high on a variable so that the EA can compare its current value with that variable. Are you familiar with variables?
Posts made by l'andorrà
-
RE: Obv is above previous highest of its valueposted in Questions & Answers
-
RE: Count Days.posted in Questions & Answers
@Mani13 Do you mean closing a trade as soon as a specific number of days passed?
-
RE: Closing Tradeposted in Questions & Answers
@Safeer992 You can do it this way, but those numbers will change if you need to close a different one of course:

-
RE: How to use Loop to get Fractal Swingsposted in Questions & Answers
Yes. If you know how to add that code on that block, that will be definitely easier.
-
RE: DAHA ÖNCE BOT KURUP MT5TRADER DE ÇALIŞTIRAN BIR EGITMEN ARIYORUMposted in General Discussions
I'm afraid I don't speak your language. I speak English, Catalan and Spanish, if that can help.
-
RE: Multiple positions opened - bug ?posted in Questions & Answers
Can you please share the link to the project?
-
RE: no encuentro el primer bloqueposted in Questions & Answers
¿Realmente necesita el bot la linea? Si es un bot 100% automático, la línea es innecesaria porque se puede usar el valor de precio en forma de variable y eso evitará el uso de lineas de código innecesarias que luego ralentizarán los procesos de back test y optimización.
-
RE: How to use Loop to get Fractal Swingsposted in Questions & Answers
There is no specific block doing that in fxDreema. You will need a combination of blocks and variables to do it. Are you familiar with variables?
-
RE: Take Profit + few pips offsetposted in Questions & Answers
Obviously you need to adjust the value according to the chart the bot will be working on.
-
RE: Candle High - Two Vertical Linesposted in Questions & Answers
Blocks 4 and 10 need to store the property called 'Candle ID1' and 'candle ID2' respectively instead of 'price level' as per current settings. Then you will get the correct value for those variables.
-
RE: Take Profit + few pips offsetposted in Questions & Answers
@pipsondeck You can do it (for buys) by using these blocks immediately after the 'buy now' block:

-
RE: Calculate Risk for Gridsposted in Questions & Answers
@ellemitless This is one way to do it:

This example is for buys only. You'll have to replicate it for sells. You can also try jstap's solution, of course.
-
RE: Calculate Risk for Gridsposted in Questions & Answers
Not sure I fully get it. Do you mean each new open trade will be using an additional 1% risk? How many open trades are you planning to have at any moment?
-
RE: Problem Implementing Lot Size Reduction After Closing Oldest Tradeposted in Questions & Answers
@saeedkey You can try this on a completely separate structure:
-
RE: Trailing stop at running tradeposted in Questions & Answers
In that case the loss figure is variable, right? What is the condition you need?
-
RE: Yellow Dot Clarificationposted in Questions & Answers
Just false. That means any other available option other than the exact one you selected will be considered for the yellow dot line to be active.
-
RE: Trailing stop at running tradeposted in Questions & Answers
@Vishwa Why trailing stop should be at $13? What math logic is behind that value when total profit is $3 in your example?
