Binary Option Arrows (example)
Apr 10, 2015

The Binary Option Arrows (example) indicator detects Bullish and Bearish Harami candlestick patterns to provide entry signals for binary options while visually tracking win/loss outcomes based on a configurable expiration timeframe.
Usage
The Usage section describes how the script can be used, examples should be provided in this section. This section also focuses on how main settings affect the indicator interpretation and output.
Signal Identification
The indicator automatically plots green up-arrows for Bullish Harami patterns (Call signals) and red down-arrows for Bearish Harami patterns (Put signals). These signals serve as potential entry points for binary options trades.
Outcome Tracking
The indicator evaluates the success of each signal by highlighting the chart background. A green background indicates a "win," meaning the price moved in the predicted direction after the specified expiration period. A red background indicates a "loss," where the price failed to move in the predicted direction or remained flat at the end of the expiration.
Adjusting Expiration
By modifying the "Expiry" setting, users can visualize how different trade durations affect the success rate of the Harami patterns. For example, setting the expiry to 5 will check the price status 5 bars after the signal was generated.
Details
The indicator is constructed using specific logic for Harami candlestick patterns and outcome verification:
- Bullish Harami Logic: Identified when a large bearish candle is followed by a smaller bullish candle contained within the previous candle's body, occurring after a downward trend (measured by comparing the open price five bars ago).
- Bearish Harami Logic: Identified when a large bullish candle is followed by a smaller bearish candle contained within the previous candle's body, occurring after an upward trend.
- Backtesting Logic: The script compares the closing price at the time of the signal to the closing price at the end of the
expiryInputperiod. If the price is higher for a Call or lower for a Put, it is marked as a win. - Alerts: The script includes built-in alert functionality for both Bullish and Bearish Harami setups, optimized to trigger once per bar close.
Settings
- Expiry: Defines the number of bars to wait before calculating whether a signal resulted in a win or a loss. This mimics the expiration time found in binary options trading.
FAQ
Which candlestick patterns does this indicator detect? This specific version is configured to detect Bullish and Bearish Harami patterns combined with a basic trend filter.
Can I use this indicator for different expiration times? Yes, you can adjust the "Expiry" input in the settings menu to match your preferred binary options contract duration (e.g., 1-bar, 5-bar, or 15-bar expiries).
How do I access Binary Option Arrows (example)? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

