Hull Suite Strategy for TradingView
The Hull moving average is an extremely fast-moving average that eliminates lag altogether and improves smoothing at the same time. It generates a trading signal whenever the Hull MA crosses above or below its past two candle value.
Strategy Logic
Long Entry: When value of current HMA greater than HMA 2 bars back, send LE
Long Exit: Either when SL or Target is hit. If SL/TGT is not hit, and when value of current HMA lesser than HMA 2 bars back, send LX and SE
Short Entry: When value of current HMA lesser than HMA 2 bars back, send SE
Short Exit: Either when SL or Target is hit. If SL/TGT is not hit, and when value of current HMA greater than HMA 2 bars back, send SX and LE
Hull Suite Strategy Parameters for TradingView Charts
Strategy Direction: Please keep the settings at ‘all’
Source: Source to calculate Hull Moving Average
Hull variation: Take single HMA, double HMA or Triple HMA
Length: Length of look back for the type of entry
Quantity: This is used to specify the trade quantity
Custom Stop Loss in Points: Movement in chart price against the momentum which will trigger exit
Custom Target in Points: Movement in chart price against the momentum which will trigger exit
TradingView Settings
Step 1: Download the PineScript Algo
Step 2: Open desired chart in TradingView with normal candlestick. Select desired timeframe of the chart.
Go to the Pine Editor section, remove the default code, paste the downloaded code, save the file and add to chart.
Step 3: Once Strategy is applied to the chart, click on settings to optimize parameters for your own trading
Step 4: Setting Up Alert
Before setting up an alert make sure that You have selected the desired script, timeframe, strategy settings, API bridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in the message box.
Important: do not change any settings during live trading.
NOTE: The pine script works both with webhook alerts (TV Pro plan) and normal popup alerts (TV free plan).
Recent Discussion