Can't make it work....
Someone that can give me an example?
Posts made by LopezDiaz2510
-
RE: Trailing with Variables doesn't workposted in Questions & Answers
-
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!!!!!!! -
Trades Closed immediately triangleposted in Questions & Answers
Hello masters of FXdreema! Need your help with the strange behavior of my simple EA on the MT4 Charts.
The EA opens one trade at the time when two MA crosses, and closes the trade when MA crosses again.
But when i run the EA on MT4 every open trade it is closed immediately and chart draws a triangle on the same candle where the arrow of the trade is.
What does this triangle mean? What am i doing wrong? I even dont have stops or take profits on this EA.
Can someone share some light on thi issue to me please?
Thanks!!!!!!!

-
RE: Compilation Errors HELP!posted in Questions & Answers
Thank you so much @roar!!
It worked such as you said.
Problem solved, and thanks for the others advice i'll keep in mind. -
RE: Compilation Errors HELP!posted in Questions & Answers
@lopezdiaz2510 said in Compilation Errors HELP!:
w6nLHBNWc
Heres the correct project shared link: https://fxdreema.com/shared/w6nLHBNWc
-
Compilation Errors HELP!posted in Questions & Answers
Greetings FXDreema community!!!
Am trying to compile my EA but instead of compile i recive an error window that says "Compilation Errors": stop_loss - constant expected.
My EA saves in a variable the value of a candle high or low to be use as a Stop Loss on each trade.
Can anyone tell me what am i doing wrong please?
Here the link of the project: fxdreema/shared/w6nLHBNWc
PD: Excuse my english...
Thank you!!!! -
RE: Check Distance Problemposted in Questions & Answers
@l-andorrà Muchas gracias pero no necesito un segmento sino una linea vertical en la vela que cumple la condición. Ya lo solucione poniendo el modulo "check distance" para que mida los pips de manera absoluta desde la media móvil y el mercado con un modulo de condición previo para asegurarme que la media se encuentre por debajo o encima del mercado.
Muchas gracias por sus respuestas!!!!!
-
RE: Check Distance Problemposted in Questions & Answers
Ive try to put15 pips "the value as price fraction" in check distance module but still it draws both lines red and green, one on top of the other... and dont recognize when 100 SMA is below the Lowest to draw the green line and when is above the hightest to draw the red line...
Need help here please! -
RE: Check Distance Problemposted in Questions & Answers
Hola @xyon126. Muchas gracias por tu respuesta!!!
Solo necesito una linea vertical del color correspondiente que luego seguro cambiare por los módulos de Buy y Sell.
No necesito la linea que sea hasta la SMA, solo me expresé mal en el dibujo jaja mis disculpas si se interpretó así.
Lo que sucede es que cuando yo pruebo en MT4 el mismo EA que compartí no se comporta como yo espero sino que cuando la SMA esta por los 15 pips por debajo del Lowest Price me dibuja la linea verde, y también dibuja verde cuando la SMA esta 15 pips por arriba del highest Price no hace diferencia alguna.
Y si hago alguna modificación entonces me dibuja ambas lineas una encima de la otra. No respetando que dibuje linea roja cuando esta debajo del Lowest y verde cuando este encima del Highest como maximo a 15 pips.
Obviamente no se como utilizar dicho modulo y esto es crucial para mi estrategia... -
Check Distance Problemposted in Questions & Answers
Hi, to all the community of fxdreema!!!! Need help with the "Check Distance" module.
I Have read many topics on the Q And A section but still can't make it work on this simple conditions:1.- When SMA 100 AND Highest Price Candle period are <= 15pips THEN draw green vertical line
2.- Whe SMA 100 AND Lowest Price Candle Period are <= 15pips THEN draw red vertical lineThis is the project link: https://fxdreema.com/shared/vzs4ZkyAc
And here is a graphic:

-
RE: Costum Indicator doesnt seem to workposted in Questions & Answers
@l-andorrà Thanks!! I will read them all and try again.