@roar Thanks for the reply. I'm not sure if using a "once per bar" order would work for what I was looking for. I only want to create a trade once per crossing. Right now it will close a trade with TP or SL hit and then open another trade if conditions are still there. But I don't want it to trade again until opposite crossing occurs. This could be one or many bars after initial trade. I will attach the link. I appreciate any input. (https://fxdreema.com/shared/t15Hptq8c)
Best posts made by makamilman
-
RE: Trying to set buy/sell at candle close not working rightposted in Questions & Answers
Latest posts made by makamilman
-
RE: Trying to set buy/sell at candle close not working rightposted in Questions & Answers
Doesn't appear to have worked. I've attached an image of a EURUSD chart I was testing.As you can see, it traded twice so far without waiting to cross again. This is what I'm trying to avoid. I only want one trade per crossing. Otherwise the trend stops or turns but another trade is activated.
Any other thought on this would be appreciated.
-
RE: Trying to set buy/sell at candle close not working rightposted in Questions & Answers
@roar Thank you, I will give this a try and see how it performs. I appreciate your help.
-
RE: Trying to set buy/sell at candle close not working rightposted in Questions & Answers
@roar Thanks for the reply. I'm not sure if using a "once per bar" order would work for what I was looking for. I only want to create a trade once per crossing. Right now it will close a trade with TP or SL hit and then open another trade if conditions are still there. But I don't want it to trade again until opposite crossing occurs. This could be one or many bars after initial trade. I will attach the link. I appreciate any input. (https://fxdreema.com/shared/t15Hptq8c)
-
RE: Trying to set buy/sell at candle close not working rightposted in Questions & Answers
I would be grateful if someone could look at the blocks and determine the issue.
Not sure how to attach my blocks I created. I've uploaded the EA here. If I need to do something else, please advise.
I also only want this to trade one time on a cross. It appears that when the trade hits TP or SL, it will open another trade before crossing the MA again.
-
Trying to set buy/sell at candle close not working rightposted in Questions & Answers
I set the condition for candle close to buy sell above/below 30sma at close of candle. There is another oscillator I'm using with it but is working fine with this. The EA is buying/selling when price/wick of candle crosses 30sma, not at the closing of the candle. I have it set at candle close and the MA as price close. How do I prevent this and get it to buy/sell at the close of candle only? Thanks.