Hi, attached is a custom indicator that I would like to use to build a simple EA. It seems that there are 6 indicator signals and I am not sure which one to use. I can see from the indicator codes the following: #property indicator_buffers 6 #property indicator_color1 RoyalBlue #property indicator_color2 Red #property indicator_color3 RoyalBlue #property indicator_color4 Red #property indicator_color5 RoyalBlue #property indicator_color6 Red
and also:
SetIndexLabel(0, "UpTrend Stop"); SetIndexLabel(1, "DownTrend Stop"); SetIndexLabel(2, "UpTrend Signal"); SetIndexLabel(3, "DownTrend Signal"); SetIndexLabel(4, "UpTrend Line"); SetIndexLabel(5, "DownTrend Line");
Do I use mode 2 = 1 to open a long position (shown as big blue dot in MT4) and mode 3 = 1 to go short (big red dot in MT4)? The EA I created using Molanis (attached) did not open any trades at all. Obviously I have not got it right. Can you please advise? Thanks.
|