Just get the value(s) of the indicator(s) into EA/indicator (using iCustom) and do what you want with it.
You
should encapsulate your iCustom calls to make your code self-documenting.
Detailed
explanation of iCustom - MQL4 programming forum
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
Hello guys, iam trying to learn coding of mql4. i just want to know how to add buy sell conditions in any simple indicator. so far i have realized that variables are in box
int start()
and variables are defined as
double box_top=0;
double box_bottom=0;
so i need to add buy sell conditions like
///////////////
this particular code works in amibroker
buy = close < box_bottom;
sell = close > box_top;
excess signals removed
Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);
/////////////////
iam pasting this indicator here