Thank you.
Printable View
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
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
I used MA with periods 21 and 55, sl 100 and tp 80 and it looks nice for EURUSD H4.
One question - this is profit in pips or in dollars? See image :
Attachment 3183
PF is profit factor, right?