Take a look at this post : https://www.mql5.com/en/forum/173219/page172
Inside you have all the logic for managing 1 buy and 1 sell order (or if you wish some other number of orders) I think that for a starting one it can be useful since it is simple and I hope easy to understand how and what it does. Try it out and if you need some more explanation or help, please let me know
I'm trying to program an EA based on the Bulliz - high low indicator that you have created and have a question concerning opening trades.
The EA will work on 1h timeframe and i would like that max two trades (1 buy + 1 sell but not 2 buys or 2 sells) per hour should be open. I would like to avoid that e.g. a buy trade is opened, then closed and seconds later opened again because of the condition is met.
What is a good method to avoid reopening of trades in the same direction?
Now you are doomed to use this one (no mtf, no alerts)
if #3089 is a problem, can I get a Zerolag hull without MTF??
HA,ha,ha, Doomed. You could be right!
Its good to see you don't take up dummies seriously.
Thanks again and again and again
BB price alert
I have searched for an indicator that will show when price is above and/or below specific Bollinger Bands. The only ones that I could locate are listed below; however, they only allow 1,2,3,4 or 5 std. deviations as possibilities with sound alert only. Is it possible for a user input like 1.5 or 2.5? In other words, something other than a whole number for the deviations with a box alert besides the sound.
Any help would be most appreciated.
can an email/ sound/ popup alerts be made for this indicator? pretty rare one i found around here but seems to be good in conjunction with multiple time frame confirmations and other tools.
What I have done is a strict "anchoring" of the calculation to the starting line. That is done, among other things, in order to avoid possible error with 2 global variables that akift is using in calculation : CumPVol_J and CumVol_J. If it is not done that way, values can be wrongly "accumulated" in those 2 variables and the difference in values probably comes from that (using global variables in indicator calculation is always a bad idea and should be avoided whenever it can)
Since akift is the one that has done and is doing the development of it, I think that it is better that he continues with what he does : frankly, his coding style is very different from mine and some coding logic that he uses I can not understand (it is difficult to understand the "what did the writer want to tell" in some cases) - it is better that he makes the changes
Good morning Mladen,
No and an emphatic "no" it is, I do NOT want Akif to make the changes. The reason is that he is a "coder by default" to which he admitted in the first post of his Thread on the Midas indicator. I trust your coding implicitly and therefore asked YOUR opinion. I would rather study the indicator you built and make an informed decision based on what we see, than trying to get Akif to sort out his coding without any disrespect to him.
Thank you for your kind and sincere help. Always much appreciated.
Hazelj80, I was wondering what time. Frame do you use the SEFC084 indi on and if it re-paints on you on that time frame?
well, it's a mistake to trade off of one time frame. fractal energy is one of the five market energies. but m15/H1 or H1/H4 i like. more trades there. you always use a chart ratio of 3:1 with no higher than 4:1
this will recalculate as mladen says but not repaint. that's a error in code as he calls it. this indicator does what it's designed to do.
Here you go The problem with the built in metatrader Bollinger bands is the one that you had with those indicators and that is why it has to be avoided when non-integer deviations are needed. This one does deviations the way you asked for and alert box is added. Left the original code (commented out) so if you are interested in what is changed you can see it in the code
Updated bolli toucher posted here : https://www.mql5.com/en/forum/general
Here you go
The problem with the built in metatrader Bollinger bands is the one that you had with those indicators and that is why it has to be avoided when non-integer deviations are needed. This one does deviations the way you asked for and alert box is added. Left the original code (commented out) so if you are interested in what is changed you can see it in the code
Thank you, Mladen
It works great but in the pop up box could it show from which pair and the timeframe - that would be ideal.
Thanks again, watchdogkm