- HELP! Opening Orders when there is an "X" difference in pips between two EMAs
- Price Percentage Oscillator
- MACD of another indicator
//+------------------------------------------------------------------+ //| Signal Begin(Entry) | //+------------------------------------------------------------------+ if (Buy1_1 > Buy1_2) Order = SIGNAL_BUY; if (Sell1_1 < Sell1_2) Order = SIGNAL_SELL;
This is how entry is defined
Now you want to have the condition a difference between the 2 emas of "X" number of pips away.
how do you calculate the position of Buy1_1 ???
Same way you can calculate other line positions
This is how entry is defined
Now you want to have the condition a difference between the 2 emas of "X" number of pips away.
how do you calculate the position of Buy1_1 ???
Same way you can calculate other line positions
I think you have to prepare yourself making EA's without using garbage producing expert advisor building programs
learn to code if you do that you will get EA's you can use trading. This program you have now is unreliable
The links learn to code might be a first step. What you can do more....
for example The Moving Average EA that you have standard on your account.
1) Place inside this EA StopLoss and TakeProfit
2) make it work for ECN accounts
3) make it work as well for 4 as for 5 digit notation
4) place inside an automatic lotsize calculation riking x % of your account each trade
5) trailing stoploss....
If you know how to do that then you know how to read code other programs
the more you practise the faster you see how to solve errors your programs have....
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use