Thank you so much @roar!!
It worked such as you said.
Problem solved, and thanks for the others advice i'll keep in mind.
Best posts made by LopezDiaz2510
-
RE: Compilation Errors HELP!posted in Questions & Answers
Latest posts made by LopezDiaz2510
-
RE: Trailing with Variables doesn't workposted in Questions & Answers
Can't make it work....
Someone that can give me an example? -
RE: Trailing with Variables doesn't workposted in Questions & Answers
You mean that there is no way of set a trailing Stop with a variable? i dont understand why. Because is just another price level but saved in a variable.
I just nedd the trailing to work with the lowest price as a stop loss. -
Trailing with Variables doesn't workposted in Questions & Answers
My trailing doesn't follow the StopLoss or doesn't start, i really don't know.
Buy example:
When i Buy manually my EA looks for the lowest price in a candle period and saves that value in a variable (double) call "StopLoss_Buy" and uses that variable as StopLoss. But when i set my TrailinStop the level never moves from the first value. What am i doing wrong????

-
RE: ERROR - Constant expected (but i dont use any!!!)posted in Questions & Answers
Problem fixed!!!
I was using the Variable "High_1" as StopLoss, but i wasn't realize that this variable is "int" and used to save a candle ID. Then a change "int" for "double" and saved "Price value"Working now!
-
ERROR - Constant expected (but i dont use any!!!)posted in Questions & Answers
Hi everyone, am having a compilation error that says "Constant expected" the problem is that i dont use any constant in my project.... I use a Variable name High_1 and that is the name of th expected constant.
I've already try to create a constant with the same name, but didin't work.
I've also read in one post that this problem is a bug and can be corrected by unchecking the optimización option when a use the variable of the same name but DIDN'T WORK either...What can i do??????????????

-
RE: Two Higuest Prices in a candle period????posted in Questions & Answers
Mucho mejor en español!!!
Solo necesito el máximo de un periodo (el ID de la vela) y el valor mas próximo a éste con su ID también. Todo esto para poder si hay divergencia entre estos dos puntos y un indicador tipo OBV.
No me servirían tres puntos máximos, aunque siempre voy a poder encontrar dos puntos, el máximo original y la vela que este en precio justo por debajo de este. -
RE: Two Higuest Prices in a candle period????posted in Questions & Answers
Thaks Andorran for your reply Andorrá!!!!
I will try to explain myself, english is not my native leanguaje.- I need i to get the ID of the candle with the highest price in a candle period
- Need to get the ID of the candle with the second highest price in the same candle period
Something like what you can see in the image.

-
Two Higuest Prices in a candle period????posted in Questions & Answers
Greetings FXDreema communityl!!!
I will like to ask if there´s a way to serch for the two Highest Price in a candle period making the distinction tha the candles in wich this happens have to be bull candles. This is possible?????Here a let you with my project but isnt working yet....
https://fxdreema.com/shared/BpH3roZWb -
RE: Trades Closed immediately triangleposted in Questions & Answers
@l-andorrà
Muchas gracias por tu respuesta!!! (se que te desenvuelves bien en el español) está funcionando bien ahora.
Pero tengo otra consulta respecto al mismo proyecto:
¿Para que sirve el Cross Width, cual es su funcionalidad?
Saludos!!!!!!!