- You should be able to reposition objects.
- Read this Article: https://www.mql5.com/en/articles/1503.
- See also WindowPriceMax() and WindowPriceMin().
- You should be able to reposition objects.
- Read this Article: https://www.mql5.com/en/articles/1503.
- See also WindowPriceMax() and WindowPriceMin().
Good afternoon,
I am working on a little indicator which recognizes candlestick patterns
I have done this before by painting the bars, you only have 4 colours to play with but you can have 2 or more Indicators . . . so the first could paint inside bars, outside bars, engulfing and DOJI the second double tops, double bottoms, etc, etc
Hi Raptor,
Thanks for your message. I would like to code up over 20 patters so colors would not be enough. And memorizing the legend would be hard. This is what I've got so far.
What I am doing is paiting the involved bars orange and all the other bars blue and red as normal, and adding a label.
BTW How would you code up the recognition between a hammer and a hanged man candle pattern?
Hi Raptor,
Thanks for your message. I would like to code up over 20 patters so colors would not be enough. And memorizing the legend would be hard. This is what I've got so far.
What I am doing is paiting the involved bars orange and all the other bars blue and red as normal, and adding a label.
BTW How would you code up the recognition between a hammer and a hanged man candle pattern?
I don't know the difference between a "hammer" and a "hanged man" so I wouldn't be able to code it . . . at least not without looking it up first
Once you have your Indicator how are you going to use it ? just for manual trading ?
I don't know the difference between a "hammer" and a "hanged man" so I wouldn't be able to code it . . . at least not without looking it up first
Once you have your Indicator how are you going to use it ? just for manual trading ?
While thinking about candle patterns you should also think about this . . .
I don't know the difference between a "hammer" and a "hanged man" so I wouldn't be able to code it . . . at least not without looking it up first
Once you have your Indicator how are you going to use it ? just for manual trading ?
It is for manual trading ;-) I've added Harami and Piercing so far, and the charts are already a complete mess. It is almost useless for < H1.
There is no difference between a "hammer" and a "hanging man" candle, it's the position relative to others candles that determines one either.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Good afternoon,
I am working on a little indicator which recognizes candlestick patterns and I have problems drawing the pattern name in a vertical text object. My problem is that all texts are "centered" from the object source position, and I can't align it properly on the chart. The end result is that for the most part, text labels are not readable. Is there a nice way to align the text to the left/right of the source position? If not, is there a way to move the text to the bottom or the top of the chart while keeping its angle? I believe that probably not, but it is worth asking ;)
This is the function that draws the text object and the line.
Thanks in advance!