Hello Arthur, Just wanted to say I really appreciate your efforts on this series. Being someone new to coding, this is a spectacular learning resource!!
Hello master, I had a question about this coding, I want to use this code in mql 5, what should I change because the compiler gives me a warning, it doesn't give me any error, it just gives a warning, thank you for your guidance.
When running the Back Tester using a chart template with an indicator attached , lets say an SMA period 10 -- I can see the SMA as the tester runs OK -- But say I change the EA settings to use a 20 SMA -- I still see the 10 period SMA as the tester runs, is there a way round this so sets the SMA to whatwever I have set it to in the EA config ?
hi Arthur, and thanks for this useful video,but please write some function or class to have a Built-In "risk management" system on it.. for example open every trade based on 2 percent risk of account equity and use fixed Inpratio like 1:2 ,1:3,.. if you have time ,please make a video about it..Much Much Appreciate it
It's not exactly what I asked for. What I meant was we can apply Simple Moving Average to the first Indicators data. Basically RSI, TSI, CCI are one line indicators, adding moving averages to them we can change them into two line indicators. After that RSI has two lines first one RSI and second added signal line/moving average. That simple trick can be done in MT4, but I don't know how to code it. I hope that makes sense.
Hello arthur, Your tutorials are great. They helped me soo much. But in MT5 when i try to optimise the EA, it doesn't work. Can you explain how to avoid that situation? Thank you
I don't use the optimiser much in MT4 or 5 but what do you mean by doesn't work. The EA doesn't work or you don't get any optimised results? This EA or any?
Does anyone know how to change this code to only trade Tuesday - Thursday, and only trade from 9am - 2 pm server time? I am new to codes and I don't want to mess anything up on the current EA I am using. datetime LastOpenTradeTime() { datetime result = 0; for(int i = OrdersTotal()-1; i >= 0; i--) { if(!OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) continue; if(OrderType() > 1) continue; if(OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber) { result = OrderOpenTime(); break; } } return(result); } bool SelectLastHistoryTrade() { int lastOrder = -1; int total = OrdersHistoryTotal(); for(int i = total-1; i >= 0; i--) { if(!OrderSelect(i, SELECT_BY_POS, MODE_HISTORY)) continue; if(OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber) { lastOrder = i; break; } } return(lastOrder >= 0); } datetime LastOpenTime() { datetime opentime1 = 0, opentime2 = 0; if(SelectLastHistoryTrade()) opentime1 = OrderOpenTime(); opentime2 = LastOpenTradeTime(); if (opentime1 > opentime2) return opentime1; else return opentime2; }
Hello Arthur, Just wanted to say I really appreciate your efforts on this series. Being someone new to coding, this is a spectacular learning resource!!
can you please make a video of a imdicator that sends real time signalsnin the chart
It's interesting to see your approach. I always use a single line in my EAs, for example: if(Hour()>=10 {...} .
Hello master, I had a question about this coding, I want to use this code in mql 5, what should I change because the compiler gives me a warning, it doesn't give me any error, it just gives a warning, thank you for your guidance.
Thanks again Arthur. Sorry for such a dumb question, but how did you make the popup appear at 23:54 ? Is this just MT4 or MT5 as well please ?
That's just the inputs to the expert. MT4 does it as a popup, MT5 uses a tab
When running the Back Tester using a chart template with an indicator attached , lets say an SMA period 10 -- I can see the SMA as the tester runs OK -- But say I change the EA settings to use a 20 SMA -- I still see the 10 period SMA as the tester runs, is there a way round this so sets the SMA to whatwever I have set it to in the EA config ?
Only if you want to have the EA also draw an indicator, but I don't recommend that. Just pause playback and change the indicator.
Hi Arthur, just wondering if you would be able to do a tutorial on ICHIMOKU indicator with the option to select the Applied Price and the MODE? thanks
How to make 2m, 3.5m,9m,11.5minutes and so on candle charts in mt4 ?
Hi, MT4 allows for the use of input and extern to accept user inputs. Can you please tell us the difference between the two and why you use input?
hi Arthur, and thanks for this useful video,but please write some function or class to have a Built-In "risk management" system on it.. for example open every trade based on 2 percent risk of account equity and use fixed Inpratio like 1:2 ,1:3,.. if you have time ,please make a video about it..Much Much Appreciate it
Hey like your videos. I was wondering how to use the icustom function with a arrow indicator . I have downloaded your simple ea template
Great video Arthur.
Could you do a tutorial on how to add moving averages to separate window indicators, like RSI, CCI, TSi ect?
Does this have what you want? ruclips.net/video/KULmWjSm8Ns/видео.html
It's not exactly what I asked for. What I meant was we can apply Simple Moving Average to the first Indicators data. Basically RSI, TSI, CCI are one line indicators, adding moving averages to them we can change them into two line indicators.
After that RSI has two lines first one RSI and second added signal line/moving average. That simple trick can be done in MT4, but I don't know how to code it.
I hope that makes sense.
Can we expand the series EA Framework with a Multi Symbol version?
Hello arthur,
Your tutorials are great. They helped me soo much. But in MT5 when i try to optimise the EA, it doesn't work. Can you explain how to avoid that situation?
Thank you
I don't use the optimiser much in MT4 or 5 but what do you mean by doesn't work. The EA doesn't work or you don't get any optimised results? This EA or any?
Thank you for this tutorial..💥👍🏻 Can you make a simple mql4 tutorial how to detect a pattern like Head and Shoulder, Quasimodo?🙏🏻🙏🏻
Does anyone know how to change this code to only trade Tuesday - Thursday, and only trade from 9am - 2 pm server time?
I am new to codes and I don't want to mess anything up on the current EA I am using.
datetime LastOpenTradeTime()
{
datetime result = 0;
for(int i = OrdersTotal()-1; i >= 0; i--)
{
if(!OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) continue;
if(OrderType() > 1) continue;
if(OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber)
{
result = OrderOpenTime();
break;
}
}
return(result);
}
bool SelectLastHistoryTrade()
{
int lastOrder = -1;
int total = OrdersHistoryTotal();
for(int i = total-1; i >= 0; i--)
{
if(!OrderSelect(i, SELECT_BY_POS, MODE_HISTORY)) continue;
if(OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber)
{
lastOrder = i;
break;
}
}
return(lastOrder >= 0);
}
datetime LastOpenTime()
{
datetime opentime1 = 0, opentime2 = 0;
if(SelectLastHistoryTrade())
opentime1 = OrderOpenTime();
opentime2 = LastOpenTradeTime();
if (opentime1 > opentime2)
return opentime1;
else
return opentime2;
}