TradingView
ChartArt
٣ حزيران يونيو ٢٠١٥ ٢٠:٤٧

Market Trend Strength (MTS) (by ChartArt) 

S&P 500 index of US listed sharesFXCM

الوصف

See the current trend strength of the market. An additional filter makes trend consolidation areas visible. The color changes there each bar back and forth between green and red.

This area was interesting. Would have been a better example:



If the filter is deactivated the indicator shows the last measured price trend (green for up and down for red).




التعليقات
madhukarsubash942
No
madhukarsubash942
No
madhukarsubash942
Not
maybach47
Thanks a lot ChartArt for sharing
dieggore
Hey dude,

Hope you doing well, I was looking at your script and can't figure out what are you doing here, would you mind to explain it?

nz(GetBgColor[switch?ShowConsolidation:1], 0)

I see that if 'switch' variable is 'true' then you pass the ShowConsolidation variable '2' else a '1' . Are you accessing the previous values in GetBgColor by passing the number inside the square brackets? is GetBgColor a serie?

Thanks in advance!
ChartArt
@dieggore,

This is a serie and the key is the "nz". But I can't tell you any more the though process behind this script, because it's 2 years ago that I coded it, sorry.
المزيد