regards mtbf40
![](https://resources.faireconomy.media/images/logos/logo-print-ff.png)
Please help code a simple pending grid system 5 replies
Please code this proven system (alien's system v2) 10 replies
38 consecutive wins, 0 losses = win? 30 replies
Code my system into an EA please! 0 replies
most common reasons for wins or losses 17 replies
DislikedI have 20 charts open. Different magic numbers. The problem is with the code. I will make some modifications and post it after I test it.Ignored
DislikedIs it possible to run the test only on the first 2 opening hours of the european market and then only on the first 2 hours of the US market?Ignored
DislikedIn any case, I will post an updated EA with the option to limit entry times to user-defined hours.Ignored
//+---------------------------------------------------------------------------------------+ //| Fisherpsar, Expert Advisor for MetaTrader 4 | //| Copyright © 2010, asasa, [email protected] | //| Original concept: rhinocomp13 on Forex Factory | //| Ref: http://www.forexfactory.com/showthread.php?t=247460 | //+---------------------------------------------------------------------------------------+ // EA info: #define EA_NAME_VERSION "Fisherpsar v1.0.2" #property copyright "Copyright © 2010, asasa, [email protected]" #property link "[email protected]" //------------------------------------------------------------------------------------------------------ // Instructions: //-------------- // - copy this file (*.mq4) to "<mt4 client dir>\experts\" // - copy the required header file (EAHelper vX.X.X.mqh) to "<mt4 client dir>\experts\include\" // - copy the required indicators to "<mt4 client dir>\experts\indicators\": // * Fisher_Yur4ik_Correct.mq4 (2,252 bytes) // note: compilation warnings are not harmful //------------------------------------------------------------------------------------------------------ // For a description of the meaning of the external parameters, refer to the comments in the source code // extern int basemagicnumber = 20100804; // base magic number for this EA, used to derive the magic numbers for the various timeframes extern int timeframe = PERIOD_H4; // timeframe on which the EA is applied (chart timeframe is not taken into account) extern double fisherreflevel = 0.25; // reference level of the Fisher indicator for order entry extern double riskperc = 1.0; // risk percentage in terms of account equity extern int targetpips = 10; // pip target for take profit extern int recoveryfactor = 2; // if we are in a drawdown, multiply the lots for this factor extern int ordertimeout = 0; // if the target is not reached in "ordertimeout" minutes, close the order immediately; 0 means do not use this option extern bool trailstop = false; // trail the stop loss using the value of the parabolic SAR extern int fisherper = 10; // periodicity of the Fisher indicator extern int fisherbars = 1000; // number of total bars for the calculation of the Fisher indicator extern double psarstep = 0.02; // increment parameter for the parabolic SAR indicator extern double psarmax = 0.2; // maximum value for the parabolic SAR indicator extern bool limutedtimerange1 = false; // limit entries in the first time range extern int timerange1start = 8; // start of the time range 1 extern int timerange1end = 10; // end of time range 1 extern bool limutedtimerange2 = false; // limit entries in the second time range extern int timerange2start = 16; // start of the time range 2 extern int timerange2end = 20; // end of time range 2 // include: #include <EAHelper v1.0.7.mqh>