How to you measure the absolute length of the wick and the body?
I know that pin bar is defined by the relative length of wick and body. But without the limitation of absolute length, sometimes a pin bar will be meaningless. For example, if we define the length ratio of wick and body is 2:1, then a pin bar with 10 pips body and 30 pips wick is perfect, but a pin bar with 1 pip body and 3 pips wick is not a meaningful pin bar, though the length ratio is same as previous pin bar.
If you change time frames or symbols, you shall see tha the avosulte length vary from time frame to time frame and from symbol to symbol. That is why relative ratios are used
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Pin bar detector (compatible with new mt4)
pinbardetector.mq4
How to you measure the absolute length of the wick and the body?
I know that pin bar is defined by the relative length of wick and body. But without the limitation of absolute length, sometimes a pin bar will be meaningless. For example, if we define the length ratio of wick and body is 2:1, then a pin bar with 10 pips body and 30 pips wick is perfect, but a pin bar with 1 pip body and 3 pips wick is not a meaningful pin bar, though the length ratio is same as previous pin bar.
If you change time frames or symbols, you shall see tha the avosulte length vary from time frame to time frame and from symbol to symbol. That is why relative ratios are used