thanks bro
Posts made by Zackry
-
RE: Distance between two objectsposted in Questions & Answers
@padletut it can compare the distance with some value but cant save the distance in a variable
-
Distance between two objectsposted in Questions & Answers
how can i calculate the distance between two lines?
i am trying to place two horizontal lines on chart and then calculate the distance between the two in pips and save it in a variable -
rectangleposted in Questions & Answers
is it possible to draw a rectangle with the solid background color
i need to draw it at in the bottom corner like this:
-
RE: wait for the candle to closeposted in Questions & Answers
@fxdreema perfect, that's precisely what I am looking for thanks a lot
-
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà yup that's the only way it will work, cuz I tried it on demo and, I tried it on past data and its the only way the strategy works
-
RE: Variablesposted in Questions & Answers
@josecortesllobat is it possible to keep the loss in variable without using the stoploss?
here is what i mean let say ea open a buy trade and if that trade goes to negative the it should keep updating the variable with the most current amount of loss (in pips) , again i am not talking about the stoploos calculation or the calculation after the trade is closed , i am talking about the trade that is running currently and hasnt been closed . -
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà
The Main problem is arrow is appearing on the current candle so it gets removed if price is not favoring the arrow direction
And second problem is, I don't know how to tell the ea to wait for the current candle to close once the flag is turned true,
And third problem is I don't know how the ea will know if these flags that were turned true are for three consecutive candles or not -
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà I am trying to turn a flag true for every current candle that have or had an arrow appeared on it, let say there are 10 candles on question, and all ten candles had the arrows appeared on them but let say 5 of them lost the arrows along the way,
But still all 10 flags needs to be turned true -
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà
Of course, it doesnt matter if the current candle looses the arrow, as long as the the flag for that candle gets turned "true" -
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà does this make any sense to you?
-
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà https://fxdreema.com/shared/5Oq0mJc

As you can see there are three arrows when i run the back test but there will only be one arrow in realtime because the indicator removes the arrows sometimes
arrow appears on current candle so it removes the arrows sometime but in back test the arrows are left on the chart
So what I am trying to do is, once every candle if an arrow appears on the current candle, the ea turn a flag true and wait for that candle to close and then on new candle ea wait and see if arrow appears on this candle as well, of the arrow appears then turn the second flag true and wait for the candle to close, now the new candle appears, and if the arrow appear on this candle as well, the ea turn the 3rd flag true -
RE: Variablesposted in Questions & Answers
@josecortesllobat thanks bro
really appreciate your help -
RE: Variablesposted in Questions & Answers
@josecortesllobat thank you bro
this method is working and its holding the loss in pips in a variable
i tried to use the variable in the new trade's takeprofit but the ea is not placing any tp
Take a look:
https://fxdreema.com/shared/zdkeP492b -
RE: Variablesposted in Questions & Answers
@roar hello bro
its not working i tried a lot variations as well but still not luck -
RE: wait for the candle to closeposted in Questions & Answers
@l-andorrà well I am in a strange situation because of this current candle issue,
Here is what I am trying to do :
I have an indicator that displays arrows on current candle, but most of the times the arrow disappear as soon as the current candle closes, and what I am trying to do is whenever the arrows appears on current candle the ea should wait to see if the same thing happens to 2 out of three consecutive candles,
let's consider this scenario, we have three previous candles candle 1, candle 2, and candle 3, now indicator did appeared on the candle 3 when it was forming (before candle 3 closed) but it disappeared as soon as that candle closes, and then candle 2 also has same thing happened, and then for candle 1 either the same thing happened or indicator did not disappeared after it closed.
Now we are left with three candles (previous candles that have been closed) now on the current candle we open the trade even if indicator does not appear for current candle -
RE: Variablesposted in Questions & Answers
@roar thank you very much I am gonna try this, thanks again