Disliked{quote} That's not allowed. You can't count a fraction of a bar. Bar is the index of the Candle or Bar, and that can only be an integer. You can't use decimals.Ignored
Attached File(s)
I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked{quote} That's not allowed. You can't count a fraction of a bar. Bar is the index of the Candle or Bar, and that can only be an integer. You can't use decimals.Ignored
Disliked{quote} If it's on the same Renko chart, then one indicator is needed, and it's a simpler job. {file} Do not change the file nameIgnored
Disliked{quote} Good Day Sir, My apologize to intrude. May you please assist me here. I tried to make this EA however I encountered some difficulties. My intention is to make a bot which will mainly focus on 4 hour opening price for monday only, however if the price during the week revisit the opening 4 hour of monday to open orders . Only on monday. Please see example on the piece of paper and see the attached source code. Thanx you som much{file} {file} {image} {image}
Ignored
Disliked{quote} I think it is better to put our illustration on the 4hrs chart. It is easy for any coder here to understand and help.Ignored
Disliked{quote} Thank you very much @BestTraderEV . I only have the 1 renko chart. I have installed onto my chart and will run it. again, thank you, I am grateful for your code.Ignored
DislikedHello everyone, please I need an indicator that shows ChoCH and BoS in a simple way and works in all time frame on MT5 Anyone kindly share Thanks a lotIgnored
Disliked{quote} Thanx for your feedback PKOOL, what I want to acheive is that I need the orders on the opening 4 hour but be active until end of the week. When I'm using 4 hours it takes trades on every opening 4 hour during the week of which I only need it to trigger on that specific 4 hour Monday opening. I hope I'm making sense, if not please ask so that I may explain further more thanx you soo much {image} {image}Ignored
input string StartTime = "00:00";
input string EndTime = "00:05":
void OnTick()
{
datetime = t1,t2;
t1 = StringToTime(StartTime);
t2 = StringToTime(EndTime);
if(TimeDayOfWeek(TimeCurrent()) == 1 &&
TimeCurrent() >= StartTime &&
TimeCurrent() < EndTime )
{
DoYourStuff();
}
} Disliked{quote} Hello @BestTraderEV, I was unable to get it to get your upload to work but reading your comment on the data and work required I think the attached might help. It almost does the job but it has extra condition to wait for indicator to change colour. But the indicator repaints so this makes it useless. If that bit of code (the condition) was removed I think it would be the solution. Could this be possible if you can ? thank you again, PG{file}Ignored
Disliked{quote} Hello, please is anyone looking into this for me yet? Thanks in advanceIgnored
Disliked{quote} I checked and I had to add one condition for a case which I did not think about. {file} Do not change the file name!!! {image}Looks like it's working. And this indicator can not repaint, because the tick volume on a closed bar can not change. Unless the bar itself repaints, like some Renko charts do.Ignored
Disliked{quote} Then you need to tell your code wwhen to open a trade and how many trades are allowed. So, you need to check if the day is Monday, for example using: https://docs.mql4.com/dateandtime/timedayofweek input string StartTime = "00:00"; input string EndTime = "00:05": void OnTick() { datetime = t1,t2; t1 = StringToTime(StartTime); t2 = StringToTime(EndTime); if(TimeDayOfWeek(TimeCurrent()) == 1 && TimeCurrent() >= StartTime && TimeCurrent() < EndTime ) { DoYourStuff(); } } And you can also add a function which sums the number of open...Ignored
Disliked{quote} That's wonderful. I have something on my screen I can see its close but possibly a bug. This image, lots of arrows (dots) painted but see attached will help to see the error{image} there is 3 bars (using the indicator I last uploaded which displays the volume data numbers) I can see 3 bars produced 149, 71 and 68 ticks. 71 is < 50% of first bar 149. But then it produced another dot but 68 is not < 71. Is that a bug ? this is great, thank you so much. I have been trying to understand how volume data is used, is this using iVolume ?Ignored
Dislikedis there anyway to save multipel fib level in mt5 or can suggest any indicator which save multiple sets because i found in market all do automatic none of them are manual, thanksIgnored
Disliked{quote} I used your formula.... {image} So, it must be correct...Ignored
Disliked{quote} BestTraderEv my error, sorry. should be percentagediff = (tick_volume [i+1] / tick_volume [i]) * 100; possible to amend please?Ignored