alorente » Thu Dec 11, 2014 10:27 pm wrote:Renee, I have a suggestion to make. Could we have an input that allows you to show the last symbol for each pair until it is substituted by a new symbol?
Right now, the symbol only shows for the current bar. It would be nice to have the option of the last symbol remaining on the Matrix.
Thanks.
Good idea, Al!
I have made a few minor modifications to the code and introduced a few new parameters, notibly:
- UseClosedCandle (default: false)
- ShowMostRecentSignal (default: false)
- ShowBarNo (default: false)
- MaxBarLookback (default: 200)
If
UseClosedCandle is false, it will start looking back in history for a signal at bar=0 (i.e. the currently open candle. However, if
UseClosedCandle is true, it will start looking from bar=1 (i.e. the most recent
closed candle).
If
ShowMostRecentSignal is false, it will behave as before, i.e. it will only show an arrow or a wave if there was one on bar=0 (if UseClosedCandle is false), or bar=1 (if UseClosedCandle is true). However, if
ShowMostRecentSignal is true, it will go back in history (upto
MaxBarLookback) and display the most recent signal or wave.
If you set
ShowBarNo to true, you will get an annoyingly complicated display as it appends the bar number where it found the particular signal for the arrow or wave, like so:
Selection_114.png
For those who didn't know, bars (or candles) are numbered from 0 and up, where 0 represents the currently open bar, 1 represents the most recent closed bar and so on and on.
If you set alerts and/or notifications on, you will get a yell if something has changed.
I am pre-empting a question that might popup: "How come, that I got a notification that a signal changed on bar=2" -- Answer, this is because the HGI Indicator has just repainted. HGIMatrix does not dream up these signals by itself. They come from the HGI Indicator. The HGI Indicator uses the TMA for some of its calculations -- therefore, some values can change even on closed bars.
Update in post 1.
In short, have fun ... and any issues, just yell!
You do not have the required permissions to view the files attached to this post.