@roar alright. Thank you very much. You are right, the Candle idvar was missing at one condition!
Such a small mistake but still such a big difference. Thanks for the finding and everything!
@roar alright. Thank you very much. You are right, the Candle idvar was missing at one condition!
Such a small mistake but still such a big difference. Thanks for the finding and everything!
Use Formula: Value 1 + Value 2 and store Result in a Variable
Use Formula again, take the result variable and divide it by 2 and store the Result in another Variable
( Value 1 + Value 2 ) /2 = Average
Edit: you don't need the second Formula if you type /2 in "adjust the result" in the first formula
Hi, I want my EA to fetch the high and the low before the market opening, and then he should place Pending Orders there. It is working fine with MT5.
But the same build in MT4 isn't working, he is always placing the Pending Orders at the high and low from the day before.
Do you have any Idea how to fix this? Thanks in Advance!
Hello,
I want to use the MACD Histogram for my EA. But you can only choose between Main Line and Signal Line.
I want to check if the pillars (histogram) are rising or falling.
I now that I can do it by taking and comparing the EMA values, since the Histogram is calculated by EMAs, but this is very complex.
Long story short, can I find the Histogram Value somewhere else?
Thanks in advance
Siggi
@kestra you can do this with check profit. if check profit is successful it can change a variable to turn of trading. You need a condition before your trading block to check if trading is allowed.
I have an Idea, but it is really dirty. You could let your EA draw a Rectangle at place where the Fibo is, the Rectangle must be in the same color as the fibo. Now you cant see it anymore. This could work but you have to make every object unselectable.
@l-andorrà i think i got i, i dont need "For each" in my situation, I can just check for win/loss at certain time and thats it 
is it possible to set SL at the Current Price?
@rolexguy strange... Can you share your Project?
@savagetrades you have made this values public by checking the box behind it, right? Unfortunately you can't change the name of this value in fxdreema. But you can export the source code and change there.
I don't like this this method, because everytime you change something in your expert, you have to do the source code manipulation again.
The more clean way would be to define constants. With constants you can choose the desired name.
Click on "constants" and type in every value you want to make public.
Hint: The Type of the Variable is important.
double = numbers
string = Text (and date if the format is HH:MM)
bool = logic (true/false)
Don't change everything in one turn, do it step by step and check with every change if everything is working
Good Luck!
Use Formula: Value 1 + Value 2 and store Result in a Variable
Use Formula again, take the result variable and divide it by 2 and store the Result in another Variable
( Value 1 + Value 2 ) /2 = Average
Edit: you don't need the second Formula if you type /2 in "adjust the result" in the first formula