Higher TimeFrame Supertrend
Creating a Supertrend indicator that uses Higher Timeframe Data
Last updated
Creating a Supertrend indicator that uses Higher Timeframe Data
Last updated
This guide will walk you through creating a Supertrend indicator that uses Higher Timeframe Data
Select SuperTrend as your Indicator
Set the Indicator settings for the SuperTrend
Set the "TimeFrame" to "240" for a 4 Hour Supertrend
Save the Indicator
Drag a Condition Block onto the canvas.
Connect the Supertrend Indicator Block to this Condition Block.
For "Line 1", select "Direction".
For "Condition", choose "Is".
For "Line 2", select "Bullish".
Save the settings.
Select RSI as your Indicator
Set the Indicator settings for the RSI
Save the Indicator
Drag a Second Condition Block onto the canvas.
Connect both the RSI Indicator Block and the First Condition Block to this Condition Block
For "Line 1", select RSI.
For "Condition", choose "Crosses Above".
For "Line 2", Type in 20
Save the settings.
Drag an Open Trade Block onto the canvas and connect it to the Condition Block.
Configure it to "Buy" when the condition is met (Green Dot Connection).
This will "Buy" when all the conditions are met
Click the "Compile" button to generate the code for your strategy.
This strategy will execute a buy when the 4HR Supertrend is bullish, and when the RSI crosses above 20.