Is it possible using KAMA slope's averaging methods for the VQ indicator? I was thinking that perhaps this would reduce some of the spikes that I see in the VQ indicator. I know VQ indi has a filter parameter, but I am exploring if it is possible using KAMA's calculations since KAMA in itself is a filtering average. Please advice if the VQ indicator can be tweaked in that manner. Thanks for your time Mladen or Mr Tools.
They are completely different in calculation method. Even with applied pre-smoothing you can see that VQ calculation is producing those spikes, so I am afraid that avoiding those spikes is not possible without some result smoothing (which, on the other hand, would inevitably add lag)
Is it possible using KAMA slope's averaging methods for the VQ indicator?
Sorry if i may interrupt, IMHO VQ actually is almost like a pair of normal moving averages with different parameter settings even with different filter settings, as ive seen it up close for some time before. You can have the equivalent practically for any pair of moving average crossovers. So it would be almost equivalent to using the KAMA already without the need for coding.
Thanks Wintersky, missed out your reply. I am using Supertrends for my trades, and I'm hoping to find an indicator that would cross on zero when price crosses the Supertrend lines, and so far the one that comes closest to it is VQ, except for some portions that spikes out. I am still playing around with the settings in the VQ indicator... Perhaps you or someone else would know of an indicator that does what I am looking for?
Mladen, is it possible create an indicator to color the chart background between three Supertrend ATR timeframes, of different periods with different mutipliers? For example, color the chart background between a 1D Supertrend with period 9 and multiplier set at 1, 1D Supertrend with period 9 and multiplier set at 0.5, and 4H Supertrend with period 9 and multiplier set at 1. That means I would like any areas between the 3 conditions to be colored leaving areas that are out of the 3 conditions uncolored. I'm trying to use this as a way to define a no trade zone where prices almost seem to do nothing.
I'm using the following Supertrend indicator, so the calculation needs to be following that of the attached indicator. Kindly help, thank you very much.
To clarify : you mean to color zones when all 3 super trend indicator contitions are the same and leave the color out when any of the 3 is different from the others?
Mladen, thanks for looking into this. What I would like this indicator to do is color the zones in between the 3 supertrend indicators. Anything that fits in between the 3 supertrend indicators, we color, anything zone that fits 2 supertrend indicators or less we leave the color out. Help this explanation helps.
OK. Will be done
Mladen, thank you!
1. Mladen, I made a mistake with the conditions... Any price zone that fits in between 2 or 3 supertrend parameters we color, and any price zone that is completely out of the 3 supertrend parameters we do not color. My apologies.
2. And I know it is a bit premature, but kindly help me code a tape version of the indicator with alerts and push notifications as well. Blue when price is out and above the 3 supertrend parameters, red when price is out and below the 3 supertrend parameters, and white when price is in between 2 or 3 of the supertrend parameters.
3. Plus a candle version of the indicator with the same 3 colors and with alerts and push notifications.
Thank you very much Mladen. I am indebted to you for your help.
If you have 3 indicators then you will always have 2 out of 3 that are the same state. The white line in that indicator is there simply to connect 2 different states. If you check the values at the beginning and the end of the white line you will see that there is always 2 values at all times and that means that at the begining of the white line it is the end of previous trend and at the end of the withe line it is a start of a new trend. So, super trend, as is, actually has only 2 states : trend up and trend down.
I hope that I did not explaine all this too complicated. What I wanted to tell is that at all times there will be at least 2 out of 3 with same states and thus we would never have a 3 state (color)
Can you modify the attached indicator:
1) It currently looks back 4 bars for a value, can you change this to a input from user
2) Confirm it does not repaint
3) Correct the coloring of bars, does not plot correctly, just yellow. Would like the Yellow to be an input from user
(default to 1). Yellow would then be 1,0, or -1. Green would be higher than 1, and red would be less than 1.
4) Add alerts for going from -1 to -2 or 1 to 2 (Yellow to Green or Red)
5) Add option for plotting vertical line at alerts
6) Print the Box Size and Indicator value in Larger Font size on right of chart