CLOSE POSITIONS USING INDICATOR CONDITION
-
To anyone who can offer assistance. I have been trying for a while to use an indicator to close positions but four months down the line I have made zero progress. The idea is to open two buy trades, one with a take profit and another without a take profit. The second buy trade should close once the main line of the RVI indicator crosses below the RVI signal line. The EA however does not close trades in the strategy tester or on demo accounts. Any pointers to what I am doing wrong will be highly appreciated. I have attached the project's link.
Project Link: https://fxdreema.com/shared/gN61aQimc -
@6ixpappi You do not need an if trade because there has to be a trade for it to close, in close you have a group but in buy you don't, if group in any block it has to match the group in other blocks for it to work.
-
@6ixpappi Is this the whole project or just a part of it?
-
It is the whole project
-
@l-andorrà It is the whole project
-
@jstap Thanks a lot. Removing the if trade and group number for the trades has fixed the issue. I appreciate it
-
@6ixpappi Your welcome
-
@6ixpappi what did he mean by group number of trades?
-
@mentor123 He meant removing the number selected here:
