TradingView Script for Auto Std Dev Lines
Budget: $30 – $250 USD
I'm looking for a TradingView script that automatically generates standard deviation lines based on price data. This should apply across all time frames. The lines should adjust whenever HL2 crosses -3 or +3, which could indicate a new trend.
Ideal Skills:
- Proficient in Pine Script (TradingView's scripting language)
- Strong understanding of statistical concepts, particularly standard deviation
- Experience with trading indicators and tools
Please provide examples of similar scripts you've developed in the past.
create trading view pine script with this logic
plot a standard deviation lines -3, 0, +3
use source as hl2
direction of trand is decided based on slope. it can be up or down trend
incase of downtrend if hl2 cross +3 standard deviation then consider it as trend change
incase of uptrend if hl2 cross -3 standard deviation then consider it as trend change
when trend is changing from uptrend to down trend then get high peak with max hl2 bar from uptrend and calculate standard deviation from high peak bar to min hl2 bar in current trend
when trend is changing from down to uptrend then get low bottom with min hl2 bar from down trend and calculate standard deviation from low hl2 bar to high hl2 bar in current trend
don't check for hl2 cross +3/-3 for first 3 (iput driven property) bars
Ideal Skills:
- Proficient in Pine Script (TradingView's scripting language)
- Strong understanding of statistical concepts, particularly standard deviation
- Experience with trading indicators and tools
Please provide examples of similar scripts you've developed in the past.
create trading view pine script with this logic
plot a standard deviation lines -3, 0, +3
use source as hl2
direction of trand is decided based on slope. it can be up or down trend
incase of downtrend if hl2 cross +3 standard deviation then consider it as trend change
incase of uptrend if hl2 cross -3 standard deviation then consider it as trend change
when trend is changing from uptrend to down trend then get high peak with max hl2 bar from uptrend and calculate standard deviation from high peak bar to min hl2 bar in current trend
when trend is changing from down to uptrend then get low bottom with min hl2 bar from down trend and calculate standard deviation from low hl2 bar to high hl2 bar in current trend
don't check for hl2 cross +3/-3 for first 3 (iput driven property) bars