MajorDutch
Established member
- Messages
- 865
- Likes
- 87
OK. This is the pin bar indicator i have created this morning. Although i am a professional software developer i have not been using mql for that long so i make no guarantees or warranties relating to this.
It has a couple of parameters you can alter to your preference and has an optional sound alert.
MinPercentRange – The indicator takes the average range of the last 6 bars so we don’t get stupidly small pins etc. This is the minimum range our candidate must be in relation to this average.
BodyToRangeRatio – The size of the body as a percentage of the total range expressed as a ratio. (3.3 is 33%) just divide your percent by 10.
Body DirectionalPercent – The body must be enclosed in the top or bottom x percent of the bar. In this case 45. So for a long trade the body needs to be enclosed in the top 45% of the bar.
By changing these settings you should be able to make it more or less sensitive to the perfect pin shape.
This indicator is free for you to use or modify as you want. All i would say is can you please post any changes, settings or anything you include it in here so we can all benefit.
good work Mata Nui!!:smart: