Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I am confused and still find where the errors code in Your_Lucky script
I said that Ea will work, but the result is very different.
I hope there is a senior programmer that can show me errors code.
thanks.
Just to make sure i understand this right. The version 1a works ok and gives good results, but the 1b and 1c works ok, but give bad results or still give good results with less profit?
I´m just asking because the first version you posted contained 2 ea´s "Your_Lucky_EURGBP_v1_Alpari" and "Your_Lucky_EURGBP_v1a".
I presumed that the v1a version was for brokers with 4 decimal digits and
v1_Alpari for 5 digit brokers.
I try to use the results from dagolard optimize and I modify the default settings in the Your_Lucky Ea
Hidden SL = 28 pips
Hidden TP = 7 Pips
This is update for !_rdb_Your_Lucky_EURGBP_v1c that I have
Any question
MinLots=NormalizeDouble(MarketInfo(Symbol(),MODE_M INLOT),2);
if (LotsDigit == 2) MinLots = 0.01;
if (LotsDigit == 1) MinLots = 0.1;
if (LotsDigit == 0) MinLots = 1;
Why, MinLots=NormalizeDouble(MarketInfo(Symbol(),MODE_M INLOT),2); before next lines and why before
extern double MinLots = 0.1;
**********
extern double PointOfPair = 0.00001; //0.00001;
maybe receive from broker from
double point =MarketInfo(null,MODE_POINT);
or variable Point
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakePro fit*Point);
if use code
if (Ask - Bid > MaxSpread*PointOfPair) return (0);
for spread procection after start, ea do not open new trade if big spread, but do not close trade... ? It is plane?
__________________
RUN With The BULLS And HUNT With The BEARS - Nothing By Chance
MinLots=NormalizeDouble(MarketInfo(Symbol(),MODE_M INLOT),2);
if (LotsDigit == 2) MinLots = 0.01;
if (LotsDigit == 1) MinLots = 0.1;
if (LotsDigit == 0) MinLots = 1;
Why, MinLots=NormalizeDouble(MarketInfo(Symbol(),MODE_M INLOT),2); before next lines and why before
extern double MinLots = 0.1;
**********
extern double PointOfPair = 0.00001; //0.00001;
maybe receive from broker from
double point =MarketInfo(null,MODE_POINT);
or variable Point
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakePro fit*Point);
if use code
if (Ask - Bid > MaxSpread*PointOfPair) return (0);
for spread procection after start, ea do not open new trade if big spread, but do not close trade... ? It is plane?
Hi frantacech,
Can you change the code to make the ea work with brokers with 4 decimal digits?
If yes, please modify and post 4 digit version.
I think Drb wouldn´t mind
Can you change the code to make the ea work with brokers with 4 decimal digits?
If yes, please modify and post 4 digit version.
I think Drb wouldn´t mind
MinLots=NormalizeDouble(MarketInfo(Symbol(),MODE_M INLOT),2);
if (LotsDigit == 2) MinLots = 0.01;
if (LotsDigit == 1) MinLots = 0.1;
if (LotsDigit == 0) MinLots = 1;
Why, MinLots=NormalizeDouble(MarketInfo(Symbol(),MODE_M INLOT),2); before next lines and why before
extern double MinLots = 0.1;
**********
extern double PointOfPair = 0.00001; //0.00001;
maybe receive from broker from
double point =MarketInfo(null,MODE_POINT);
or variable Point
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakePro fit*Point);
if use code
if (Ask - Bid > MaxSpread*PointOfPair) return (0);
for spread procection after start, ea do not open new trade if big spread, but do not close trade... ? It is plane?
YES.... !!!
Thank You very much frantacech
you a very good coder, and your explanation really help me