Help needed with making an expert

[Deleted]  

Hello all, i want to program an expert to replace an indicator, all the expert has to do is to take an order sell when a red dot appear and take an order buy when a blue dot appear on a custom indicator called Max Moving Average. And one more thing the expert will do is to close the previous order on the next opposite signal if it is still opened. The things that can change in the expert settings is the lot size,The take profit lots, stoploss enable or disable and the stop loss lots if enabled.

I hope that you can help me. Thanks in advance, waiting for your replies.

 
[Deleted]  
qjol:

iCustom()


Excuse me? sorry i am kind of new to this. I have done only this:

//+------------------------------------------------------------------+
//|                                        Abdu_MaxMovingAverage.mq4 |
//|                      Copyright © 2010, MetaQuotes Software Corp. |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, MetaQuotes Software Corp."
#property link      ""

//---- input parameters
extern double    Lot=0.5;
extern int       TakeProfit=30;
extern bool      StopLoss=false;
extern int       StopLossValue=30;
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
 

you bothered to read the link i gave you

 
Abdull1996:


Excuse me? sorry i am kind of new to this. I have done only this:

You haven't done anything. No slaves here. Learn to code or pay someone.