|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi every one,
How can I making buy or sell sign, 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); } |
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help for making indicator plz | dxx | Indicators - Metatrader 4 | 0 | 03-15-2007 11:04 AM |
| Loss making EA...............But | takechance | Expert Advisors - Metatrader 4 | 15 | 02-27-2007 09:27 AM |
| Need help making an EA | FibzY | Expert Advisors - Metatrader 4 | 10 | 11-29-2006 12:00 AM |
| How to mask external input value with *** sign? | Greentooth | Metatrader 4 | 2 | 10-31-2006 06:33 AM |
| Can someone please help me making EA for... | babarmughal | Expert Advisors - Metatrader 4 | 1 | 09-12-2006 03:02 PM |