@Youngtreptrader is right. You should use candle 1 instead last one.
Posts made by felixnr
-
RE: Price vs MA 50posted in Questions & Answers
-
RE: Price vs MA 50posted in Questions & Answers
Hi @William-1.
To solve the 1st strategy, maybe you could use the block " Check Trading Condition -> Check Distance". I think it should be enough.
https://fxdreema.com/shared/qZfnG4Ipb
For the 2nd strategy you should define what would be exactly the head and shoulder. For the eye it's easy to check, but I think that is so much difficult for a machine. You have to have very clear the conditions that difference a HDH than another pattern.
Regards! -
RE: how to close position at open price of next candleposted in Questions & Answers
Hi @maniamuthan. I think that I asked something similar... Maybe the solution on my post could help you to solve your issue.
https://fxdreema.com/shared/nLUoK22Ed
Hope it helps.
-
RE: Close position when next candle close [SOLVED]posted in Questions & Answers
@jstap @l-andorrà SOLVED.
After reading a reply on another post (thank you @jerkha) I just modified the structure and now the EA makes what I expected!
Thank you all for your support.I post the final structure in case it's usefull for anyone around here:
https://fxdreema.com/shared/nLUoK22Ed -
RE: Close position when next candle close [SOLVED]posted in Questions & Answers
@l-andorrà @jstap It's what I am doing... isn't it? I checked candle 1, if true, I open order on 0. It works...
The part that produces me a headache is that I want to close this position when candle 0 close, but it closes as soon as the order is on market... -
RE: Close position when next candle close [SOLVED]posted in Questions & Answers
@jstap Than you in advance. I understand your explanation, but I don't know why am I wrong... If conditions on candle 1 are true, I'll buy on the open of candle 0, so, I want to sell when this candle close (or candle -1 opens). How would you do it?
-
RE: HOW TO EXPORT RSI DATA TO CSV FORMATposted in Questions & Answers
Hi @nawajishk. Did you tried "Output and Communications -> Write to File"? You can select RSI on Indicators menu. I don't know if it is enough for your case.
-
RE: Close position when next candle close [SOLVED]posted in Questions & Answers
Hi @l-andorrà. Thank you again for your help. I have selected "Candle Close" as parameter. Why take the current price as TP?
-
RE: Close position when next candle close [SOLVED]posted in Questions & Answers
Hi @l-andorrà, the condition to close is on the TP. I put it on the close of the next candle. Can I do that? Thanks for your response.
-
Close position when next candle close [SOLVED]posted in Questions & Answers
Hi all!
I'm trying to make my first EA with fxdreema and I have a doubt.
My EA is very simple: if a condition is true (candle size) when a candle close, I will open a position on the opening of the new candle, and I will close it when this new candle close. But when I test it in MT4, every time the condition is true, the position opens and closes at the same time and I lose the commissions... Anyone could help me? Thanks in advance.
https://fxdreema.com/shared/wyDwe6Axd