No idea about Friday (at least - I do not see it in the code with Proffessor_v5_2011 version).
But you can use Proffessor_v5_2011_4digits version (for 4 digit broker) - you just need to change znak from 4 to 5 to use it with 5 digit broker, and there is Fr_Stop=true (if true - not working on Friday) but it is for Proffessor_v5_2011_4digits version only.
I did not understand the meaning of some parameters. Besides, I think - the author confused between pips and points (I do not think that trailing stop = 8 is in points, I think - it is in 4 digit pips anyway) so you can try to use it to see what is that for example sorry.
It is Proffessor_v5_2011:
manual =false; //if true - you should open first trade manually
lot=0.01;
znak=5; //if 5 - 5 digit broker
MAX_Lines = 5; //max number of pending orders in every direction
klot = 1; //lot multiplier
pluslot =0.01; // add lot (lot plus)
plusDelta =0; //coefficient of increasing the distance between the orders
//if negative by value so the distance is decreasing by this number of points
variant =2; //variant for second order
//0 - stop loss order in symmetrical lock
//1 - stop loss order in assisymmetrical lock
//2 - symmetrical using ADX
Delta1 = 800; //first delta from the price for stop order (distance between market price and first pending order)
Delta = 600; //distance between pending orders
tral =8;//trailing stop in points for first pending order
step =2;//step for trailing stop in points
Profit =80;//take profit for the orders
f =40; //flat parameters using ADX
bar = 2; //shift bar for ADX
timeframe = 1; //timeframe for ADX 0-current, 1 - M1, 2 - M5, 3 - M15, 4 - M30, 5 - H1
//6 - H4, 7 - D1, 8 - W1, 9 - MN
magic = 12345;
StartHour=0; //hour to start working for EA
EndHour=24; //end hour working for EA
pop=3; // number of attempts to closde the trade
thanks newdigital,its really helpful.
Now I try many times to apply this code into this ea,but no success.Anyone can help for this?
LOTS MANAGEMENT that I like
extern double LotPercent = 2.0 // mean 2.0%
//-- pass variable
double LotSize;
void LotsCalc() {
if(MarketInfo(Symbol(),MODE_MINLOT) == 0.1) int LotsDigit = 1;
else if(MarketInfo(Symbol(),MODE_MINLOT) == 0.01) LotsDigit = 2;
double MinLots = NormalizeDouble(MarketInfo(Symbol(),MODE_MINLOT),LotsDigit);
double MaxLots = NormalizeDouble(MarketInfo(Symbol(),MODE_MAXLOT),LotsDigit);
double AcFrMar = NormalizeDouble(AccountFreeMargin(),2);
LotSize = (AcFrMar*(LotsPercent/100))/1000;
if(LotSize > MaxLots) LotSize = MaxLots;
if(LotSize < MinLots) LotSize = MinLots;
}- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone,long time I dont post anything here.
I know most of you from Russia,can you translate the text inside this EA?
And kindly can you put Moneymanagement/Lot management to this ea?
I found this ea from this website
https://www.mql5.com/ru/code/10521
thanks