Dears,
I am facing a problem with an idea. I used some available ea's to write an ea based on VWAP indicator that I downloaded from here with thanks.
There are entering conditions which are obvious in the code and they are as follows:
VWAP 15m > VWAM (14) > VWAP 4H ==> BUY
VWAP 15m < VWAM (14) < VWAP 4H ==> SELL
There is trilling profit and other options in the used ea templet.
The closing of orders can be by trilling stop, fixed SL, or Auto SL.
The best choice I believe is fixed SL 150 point.
However, I faced a problem with some orders that will not trigger the trilling stop and run away until hits 150 point losses.
I am thinking to use for these orders a grid theory to get out of them with at least with no loss.
I mean if for example 0.1 size buy order with down trend direction reaches 10 point loss, an other buy order will open with 0.2 size. When a correction in the trend direction takes place and the two buy contracts , 0.1 and 0.2, reach equivalent net level (no loss), they will be closed automatically.
This is my idea to get out of this problem. please tell if there is better way and help to implement what could a solution
in the ea code, there are some other conditions I disabled them. I was trying to come around this problem but I ended up with unprofitable ea in the test results.
Thanks