I am having a very hard time getting this to work. I have an Indicator that displays arrows. I would like to build an EA that will take the respective trade when, and only when, an arrow appears. Example.....green arrow appears, take a buy trade. Red arrow appears, take a sell trade. I do not need money management or anything. Just a simple buy or sell. Could anyone help me with this?
brandon_cribbs
@brandon_cribbs
Forex Trader
Best posts made by brandon_cribbs
-
EA that Trades from Indicator Arrowsposted in Questions & Answers
Latest posts made by brandon_cribbs
-
RE: EA not taking tradesposted in Questions & Answers
Thank you for the input. I will make the modifications when I get time.
-
EA not taking tradesposted in Questions & Answers
I built this test EA, and for some reason it is not taking trades. I have read through the forums and watched the videos, but for the life of me cannot understand what is wrong. This is the logic: It should open a trade if the condition exists and no other trades are open. Now, lets say a BUY trade is open. If it meets the conditions for a sell trade, it should close the Buy trade and open a Sell trade. Same for the opposite. Also, I want to include the indicator arrows, but not every time because it will draw consecutive buys and sells. I want them to only draw one buy arrow. The next arrow should be a sell. I did read at this link Arrow Variable that it is possible to use a variable to only allow the arrow to draw if it is the first one, but don't understant the variable part. Link to Project
-
Add Variable to Adjust Box in Indicator Stochasticsposted in Questions & Answers
I have all parameters in the Stochastic indicator as needed, but the adjust parameter is not showing the box to add to inputs. I can see the box to check, but it is greyed out. Is there a way to include this in the inputs, as it is a very important setting that may need to be changed, preferably without going into the Meta Editor?
Update---
I feel like an idiot. I found the so very easy solution. Just needed to take a quick break to clear my head.
-
EA that Trades from Indicator Arrowsposted in Questions & Answers
I am having a very hard time getting this to work. I have an Indicator that displays arrows. I would like to build an EA that will take the respective trade when, and only when, an arrow appears. Example.....green arrow appears, take a buy trade. Red arrow appears, take a sell trade. I do not need money management or anything. Just a simple buy or sell. Could anyone help me with this?