TradingView
djmad
Aug 22, 2022 7:54 PM

[Mad] Pivots HL-Trend 

Description

Hi There

This is a Trend-Indicator based on Pivot highs and Pivot lows from different forward-backward lenghts.
As Mohamed3nan is only looking at one timeframe, here is a mtf-version of that

How to use?
This indicator should basically work in each timeframe.
Green is Bullmode, Red is Bearmode
try to find a "IN Trend" setup or go directly in on the switch of the trends...
The riskmanagement is as always in your own hands

you can activate the field, ends up in a mess like this here :D




Release Notes

Alarms as requested

Release Notes

Standardsetting Field on -> Field off

Multibit-Implementation

Release Notes

sorting the inputs and different thickness of field

Release Notes

bad screenshot - release :-(

Release Notes

libary update

Release Notes

Added alerts and custom weighting for alert-switching.
standardsetting of this idicator is identical but you can screw around with the values now ^^
Comments
KioseffTrading
Nice update!
djmad
@KioseffTrading, thx a lot,
but im not happy with it....
i cannot do a "matrix.add_row(ID, na, give_PivotTrend(PeriodL,PeriodR))".... weird... matrix has (3,0,na) so should be 3 columns... still cannot insert a function-output which is a 3 float - array
that would be so much cleaner and i could do great stuff in the matrix
serkany88
Why do you prefer to put that much weight on multiplied lookback trends compared to quicker ones?
djmad
@serkany88, because that way the average line had more bar bounces
serkany88
@djmad, Yes but wouldn't it make it way more bouncy and kinda may not be preferred since some people may not want to value 1 hr pivots more than let's say 15 min as an example. On the other note what does the higherhigh and lowerhigh variables do in the function you created it seems like you are not using them.

Sorry for questions btw I'm just trying to understand the approach. Very good script ty.
djmad
@serkany88, i just make you some input fields ;-) so you can turn the wheels as you like
i can do a update for you , alert for color change is also in the patchlist
expect the update today
serkany88
@djmad, Oh not really necessary ty :)
djmad
@serkany88, that is just a 10 minute fix/change so never mind, may there is some truth in your words and it makes the indicator actually better than now ^^
djmad
@serkany88, done... have fun ^^
pdongzheng
Nice work,Thank you
More