I am looking for an indicator, that alerts when the bar OPEN is under or above
a certain price. Maybe it already exits, but I could not find it. Or maybe someone likes to make it??
Have you considered using MT4's alert functions? See here post #2 https://www.mql5.com/en/forum/general
Alternatively you may like to try my rather naff attempt at programming ...
Ok, thank you!
the build in alert is not good, for I need the open price of the bar.
Your indicator can be used for this. Thank you.
I downloaded your MTF_Nonlagma_v7.1 SW . All I see is only one doted colored line at the middle.
What am I doing wrong?
Interesting idea and easy to program. When I have the time I will modify the HMA_EA with this idea in mind.
you can overlay several indicators with different TFs and IndicatorValues in the same window.
As you can see, I've done that and I still get just one line.
It's because you use the same IndicatorValue=1.0.
Try to use different values for this input.
Igorad has programmed the ability to trade only during specified sessions within the EA code and from here I have identified that by ignoring signals generated during the Asian session the EA is much more profitable.
The real problem is that the EA does not identify the frequency of trades that cross any set levels and as as such the results can easily be distorted by a single trade reaching an extraordinary level.
By way of example, consider these trades and respective pip levels reached:-
12 x 150 = 1800
9 x 200 = 1800
4 x 300 = 1200
2 x 400 = 800
12 x -70 = -840
7 x - 85 = -595
4 x - 90 = - 360
2 x - 120 = -240
From this it can be seen that the EA regularly trades into the 150 - 200 pips range more often that the > 200 pips range and that the EA regularly trades to -70 pips but rarely over -120 pips. From here we could consider setting our profit target and stop loss levels. Igor's TesterReport_v1.1 went some way to helping identify how the EA performs but fails to show us what we need to know in order to fine tune the EA. If the EA or TesterReport could be re-programmed to show the frequency of trades trading at or above certain levels, say evey 10 pips, then we would be able to tune same for maximum profit / minimum loss.
Do you think this could be done using MQL?