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:
You haven't done anything. No slaves here. Learn to code or pay someone.
Excuse me? sorry i am kind of new to this. I have done only this:
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 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.