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
How can I make a sign for buy or sell , when the moving average(14) intersect with moving average(45)? in MT4.
I have this but it still deficient !! if not false .. I don't have much with MQL :)
================================================== =
#property copyright "B&S"
#property link ""
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 DodgerBlue
//---- buffers
double Buffer1[];
double Buffer2[];
int i;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
IndicatorBuffers(2);
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,218);
SetIndexBuffer(0,Buffer1);
SetIndexLabel(0,"");
SetIndexStyle(1,DRAW_ARROW );
SetIndexArrow(1,217);
SetIndexBuffer(1,Buffer2);
SetIndexLabel(1,"");
//----
return(0);
}
=======================
hope anyone can help me ..
F.M