0% found this document useful (0 votes)
4 views2 pages

Hyper Trend

The document is a Pine Script code for a trading indicator called 'HyperTrend [LuxAlgo]', designed for use in financial charting platforms. It includes various user input options for customizing signals, pullback signals, trend tracers, and risk management settings. The script allows users to visualize market trends and manage trades effectively through dynamic take profit and stop-loss features.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Hyper Trend

The document is a Pine Script code for a trading indicator called 'HyperTrend [LuxAlgo]', designed for use in financial charting platforms. It includes various user input options for customizing signals, pullback signals, trend tracers, and risk management settings. The script allows users to visualize market trends and manage trades effectively through dynamic take profit and stop-loss features.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

//@version=5

indicator("HyperTrend [LuxAlgo]", overlay=true, max_lines_count=500,


max_labels_count=500, max_boxes_count=350)

bullcolor = #16e045
bearcolor = #e1320f

gr_customalert = "CUSTOM ALERTS CREATOR"

gr_signal = "MAIN SETTINGS"


gr_Basic_Settings = "BASIC SETTINGS"
gr_PullBacksignal = "PULLBACK SIGNALS SETTINGS"
gr_Other_Settings = "CLOUD SETTINGS"
gr_TrendTracer = "TREND TRACER SETTINGS"
gr_signalfilter = "SIGNAL FILTERS"
gr_candle = "CANDLE COLORING"
gr_RiskManage = "RISK MANAGEMENT"
gr_dash = "SMART PANEL"
gr_Conso = "CONSOLIDATION ZONE"

// Get user input

showSignals = input(true, "Show Signal's", group=gr_signal)


//showSignals = true
sensitivity = [Link](3.1, "Sensitivity", 0.1, step=0.1,
group=gr_signal)
STuner = [Link](25, "Signal Tuner(1-25)", minval = 1, maxval =
25, group=gr_signal)
Presets = [Link]("All Signals", "Presets", ["All Signals",
"Strong+", "Trend Scalper"], group=gr_signal)
TextStyle = [Link]("Minimal", "Signal Style", ["Normal",
"Minimal"], group=gr_signal)

consSignalsFilter = input(false, "Trending Signal Only",


group=gr_signalfilter ,inline = "F1")
StrongSignalsOnly = input(false, "Strong Signals Only",
group=gr_signalfilter ,inline = "F1")
highVolSignals = input(false, "High Volume Signals only",
group=gr_signalfilter ,inline = "F2")
signalsTrendCloud = input(false, "Cloud Signals only",
group=gr_signalfilter ,inline = "F2")
ContrarianOnly = input(false, "Contrarian Signals Only ",
group=gr_signalfilter ,inline = "F3")

Show_PR = [Link](true, title="Show PullBack Signals", group =


gr_PullBacksignal , inline = "Features1")
MSTuner = [Link](5, "PullBack Tuner(2-30)", minval = 2, maxval = 30,
group=gr_PullBacksignal)

TrendMap = [Link](title='Heatmap Mode', defval='Trend Gradient',


options=['Trend Gradient' , 'Signal Based' ,'RSI
Gradient','Disable'],group=gr_candle,tooltip="Use to adjust the bar coloring
to indicate market sentiment")
momentumCandles = input(false, "No Momentum Candles", group=gr_candle)

LongTrendAverage = input(true, 'Trend Tracer', group = gr_TrendTracer,


tooltip='Places A EMA Which have a trend filtering capability \n \nTrend
Cloud Line (EMA), Will Be Shown On The Chart')
LTAsensitivity = [Link](250, 'Trend Tracer Length',
group=gr_TrendTracer)
showTrendCloud = input(true, "Show Trend cloud", group=gr_Other_Settings)
periodTrendCloud = [Link]("Smooth", "Trend Cloud Style", [ "Smooth" ,
"Scalping" , "Scalping+" , "Swing"], group=gr_Other_Settings)
//ScalpingPlus = input(false, "Fast trend cloud", group=gr_Other_Settings)
//fastTrendCloudLen = [Link](55, "Fast trend cloud", 2,
group=gr_Other_Settings)
fastTrendCloudLen = 55

showDashboard = input(true, "Smart Panel", group = gr_dash , inline =


"Features1")
locationDashboard = [Link]("Bottom Right", "Table Location", ["Top
Right", "Middle Right", "Bottom Right", "Top Center", "Middle Center",
"Bottom Center", "Top Left", "Middle Left", "Bottom Left"], group = gr_dash ,
tooltip="Smart Panel")
sizeDashboard = [Link]("Small", "Table Size", ["Large", "Normal",
"Small", "Tiny"], group = gr_dash , tooltip="Smart Panel")

tpLabels = input(true, "Dynamic Take Profit Lables",


group=gr_RiskManage)
ShowTpSlAreas = input(true, "Show take Profit/Stop-loss Area",
group=gr_RiskManage)

ShowTrailingSL = input(false, "Show trailing Stop-loss",


group=gr_RiskManage)

usePercSL = input(false, "SL/TRAILING", inline="1",


group=gr_RiskManage)
percTrailingSL = [Link](1, "", 0, step=0.1, inline="1",
group=gr_RiskManage)
useTP1 = input(true, "", inline="1", group=gr_RiskManage)
multTP1 = [Link](1, "TP 1", 0, inline="1",
group=gr_RiskManage)

useTP2 = input(true, "", inline="4", group=gr_RiskManage)

You might also like