Thank you.
This is a discussion on AllAveragesCrossover within the Trading tools forums, part of the Trading Forum category; Thank you....
Thank you.
Hi Gus4x,
Please check out the updated AllAveragesCrossover_v1.3 with ability to enter FastShift and SlowShift parameters.
Attachment 2804Code:extern int TimeFrame = 0; //TimeFrame in min extern string FastMA = "--- Fast MA ---"; extern int FastPrice = 0; //Price Mode (0...10) extern int FastLength = 5; //Period of smoothing extern int FastMode = 0; //See list above extern int FastShift = 0; //Fast MA Displace extern string SlowMA = "--- Slow MA ---"; extern int SlowPrice = 0; //Price Mode (0...10) extern int SlowLength = 21; //Period of smoothing extern int SlowMode = 0; //See list above extern int SlowShift = 0; //Slow MA Displace extern string Alerts = "--- Alerts & E-Mails ---"; extern int AlertMode = 0; extern int SoundsNumber = 5; //Number of sounds after Signal extern int SoundsPause = 5; //Pause in sec between sounds extern string UpSound = "alert.wav"; extern string DnSound = "alert2.wav"; extern int EmailMode = 0; //0-on,1-off extern int EmailsNumber = 1; //0-on,1-off
Regards,
Igor
Hi Gus4x,
Please check out the fixed version of the AllAverages_v3.1_Crossover_Filled.
Attachment 2809
Regards,
Igor
AllAverages_v3.1_Crossover_Filled from this post
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Hi,
Please take a look at the AllAverages Crossover Tester which can show quickly the performance of your settings even with StopLoss and TakeProfit.
Attachment 3179Code://---- input parameters extern string _fastMA = "--- Fast MA ---"; extern int FastPrice = 0; //Price Mode (0...10) extern int FastLength = 10; //Period of smoothing extern int FastMode = 0; //See list above extern string _slowMA = "--- Slow MA ---"; extern int SlowPrice = 0; //Price Mode (0...10) extern int SlowLength = 20; //Period of smoothing extern int SlowMode = 0; //See list above extern string _sltp = "--- StopLoss & TakeProfit ---"; extern double StopLoss = 0; //StopLoss in pips extern double TakeProfit = 0; //TakeProfit in pips extern string _spread = "--- Spread ---"; extern double Spread = 0; //Spread in pips extern bool UseCurrentSpread = false; //Use Current Spread(true/false) extern string _date = "--- Start Date ---"; extern bool UseDate = true; extern datetime StartDate = D'2013.10.01';
Regards,
Igor
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Bookmarks