mrtools wrote:This a simple non lag ma EA my main focus on back testing was on the filter and the EA seemed to perform better when using the filter, but that's just preliminary testing. The non lag ma is the indicator used by the EA it needs to be in mt4 indicators folder.
Re: Simple Expert Advisors (EA's) for MT4
42Hi Mrtoosl / Mladen,
I would like to use EA Simple non lag ma ea in the offline graph generated by the HA smoothed offline 3.09 indicator
Is it necessary to make the adjustment so that a EA works in Offline chart?
Do you have any EA specifically made for Renko Chart?
Thank you,
Rogério
I would like to use EA Simple non lag ma ea in the offline graph generated by the HA smoothed offline 3.09 indicator
Is it necessary to make the adjustment so that a EA works in Offline chart?
Do you have any EA specifically made for Renko Chart?
Thank you,
Rogério
Re: Simple Expert Advisors (EA's) for MT4
43Rogerio, far as I'm aware of, it will work on ha offline charts, best to try it on a demo account first thoughborgesr wrote:Hi Mrtoosl / Mladen,
I would like to use EA Simple non lag ma ea in the offline graph generated by the HA smoothed offline 3.09 indicator
Is it necessary to make the adjustment so that a EA works in Offline chart?
Do you have any EA specifically made for Renko Chart?
Thank you,
Rogério
Re: Simple Expert Advisors (EA's) for MT4
44Hi borgesr
In response to your post
here is one version ,i have not tried but i think it is what you looking for,some description here and the rest users can read PDF (included)
In response to your post
here is one version ,i have not tried but i think it is what you looking for,some description here and the rest users can read PDF (included)
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Re: Simple Expert Advisors (EA's) for MT4
45Hi mntiwana,
Do you have the code for this EA?
I'm just looking at the photo.Thank you,
Rogério
Do you have the code for this EA?
I'm just looking at the photo.Thank you,
Rogério
mntiwana wrote:Hi borgesr
In response to your post
here is one version ,i have not tried but i think it is what you looking for,some description here and the rest users can read PDF (included)
Re: Simple Expert Advisors (EA's) for MT4
46But i can see there is code and pdfborgesr wrote:Hi mntiwana,
Do you have the code for this EA?
I'm just looking at the photo.Thank you,
Rogério
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Re: Simple Expert Advisors (EA's) for MT4
47Hi,
I have not found the code for partial closing on more than 1 level.
See the example below for only 1 partial close
I have not found the code for partial closing on more than 1 level.
See the example below for only 1 partial close
Code: Select all
// ----- Partial Closeextern string ptcInputs = "===== Partial Close settings: =====";
extern double PartCloseTgt = 15; // Partial Close Target in pips
extern double PartClosePct = 50; // Partial Close Position Percent
Pct1 = 0.01*PartClosePct;
Tgt1 = PartCloseTgt;void PartClose()
{
double Profit, pLots = 0;
lot_step = MarketInfo(Symbol(),MODE_LOTSTEP);
for(int cnt=0;cnt<OrdersTotal();cnt++)
{
if(!OrderSelect(cnt, SELECT_BY_POS)) continue;
if(OrderSymbol() != Symbol() || OrderMagicNumber() != ipiMagic) continue;
if(OrderType() == OP_BUY)
{
Profit = (MarketInfo(Symbol(),MODE_BID) - OrderOpenPrice())/gldPoint;
if(Profit >= Tgt1 && Tgt1 > 0)
{
pLots = MathMin(OrderLots(),MathCeil(Pct1 * OrderLots()/lot_step)*lot_step);
if(pLots >= lot_min)
{
CloseAtMarket(OrderTicket(),pLots,Aqua);
}
}
}
if (OrderType() == OP_SELL)
{
Profit = (OrderOpenPrice() - MarketInfo(Symbol(),MODE_ASK))/gldPoint;
if(Profit >= Tgt1 && Tgt1 > 0)
{
pLots = MathMin(OrderLots(),MathCeil(Pct1*OrderLots()/lot_step)*lot_step);
if(pLots >= lot_min)
{
CloseAtMarket(OrderTicket(),pLots,Pink);
}
}
}
}
}
bool CloseAtMarket(int ticket,double lot,color clr)
{
bool result = false;
double price;
int tries=0;
while(!result && tries < TriesNum)
{
RefreshRates();
price = NormalizeDouble(OrderClosePrice(),Digits);
result = OrderClose(ticket,lot,price,dRatio*Slippage,clr);
if (!result)
{
Print("Error closing order : ",ErrorDescription(GetLastError())," ticket=",ticket," lot=",lot," Price=",price);
Sleep(5000);
}
tries++;
}
return(result);
}
Re: Simple Expert Advisors (EA's) for MT4
48What i told you according to pdf,already told you i have not tried it,i don't have code (mq4),if you have code that is good so you knows better than me,if it do not help you forget it and search some thing next.
regards
regards
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Re: Simple Expert Advisors (EA's) for MT4
49You can add the 38 types of average values in these EAs. Is that possible?
Re: Simple Expert Advisors (EA's) for MT4
50Dear all!
In addition to Klesenza question, is there any simple EA to test "averages - mtf - alerts 8.4.ex4" and "stepma averages 4_4 mtf.ex4" ?
Thank you!
In addition to Klesenza question, is there any simple EA to test "averages - mtf - alerts 8.4.ex4" and "stepma averages 4_4 mtf.ex4" ?
Thank you!