pinescripts
pinescripts copied to clipboard
Allow users to decide whether to use the `high` price or the actual `close` for breakout indication.
Allow users to decide whether to use the `high` price or the actual `close` for breakout indication. ``` closeOrHigh = close bool useCloseForBandCrosses = true closeOrHigh := useCloseForBandCrosses ? close...
line 122: The `transp` argument will be deprecated soon. We recommend using color.new() or color.rgb() functions to specify the transparency of the plots instead. line 123: The `transp` argument will...
**Summary:** Add `alertcondition()` calls to the Peak Reversal indicator script (`Peak Reversal.pine`) to allow users to automate their trading strategies based on key events. **Tasks:** 1. **Identify key events:** -...