k.kieren99:
|
|
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have made an EA. When i place a buy order, to make a profit, the ask and bid price should go up. However, i have made my EA so that when it goes the wrong way xpips, it places another buy order. if it continues to go in the wrong direction by 2xpips, it will place another buy order. If the market changes direction, the last order will only have to travel a certain distance up and when the overall profit is positive, the EA will close all orders. However, sometimes, when it placed the order on the next levels, it not exactly that levels that i specified. I will attach my code to this. Can someone please help me. I think its to do with the line where i say "if (Ask<= traderange_buy1) {". I have tried "==" but only the "< or >" signs work. My who goal is just when price hits the level specified, place new order.
Thank you
Here is the code: