That's a nice modification of the code. Or, you can set style to point (see pic below).
Can you explain what signal you use or find useful? I tried strategies mainly use superTrend for entry.
Just as you said, it catches the major trend, but also a lot false entries. It could not be used in real trading at this point.
What I find useful, is once the 'Trend' is identified by superTrend. Then use an oscillator(CCI, Stochastic, %R etc) to take trades in the direction of the trend. So essentially we are buying/selling pullbacks in the direction of the trend.
As a quick exmaple, in the attachement below, I put on a 12 period CCI.
As you know it takes rigorous testing to take a strategy from an idea to production. very few things pan out. I find using wide stops and proper profit targets, help quite a bit for intraday trading.
My first post here. What a great place! I loaded the TCanasupertrend with the mod and switched the line to dots. I would like to change it to be just one row of dots in a flat line at the bottom or top of the charts so it doesnt muck up the view of price action. Anyone care to share how to add that in the EL code.
Thanks for replying, Im not sure what you are asking. I grabbed the code from an earlier post on this thread and added the modification from another post. the code plots a line changing color from red to green , above and below price action on the chart. I like the signals and in the least it is a great filter, but do not like that it obscures the view and busies up the screen.
Im not a programmer but have figured out how to paste copied text into the EL development to create the file and get it to work. Other than that Im just guessing.
What I'd do is set the indicator to a separate panel (so not 'Same as Symbol' as found in the properties of the indicator), then change the lines from 'Line' to 'Histogram', give these a fixed value (like 10), and change the width so you'll have tick Histogram bars. Lastly, use SetPlotColor() to change the color of the Histogram plot depending on what your definition of 'bulish/uptrend' versus 'bearish/downtrend' is. Then you'll have a separate panel below your chart which shows you the trend/direction, without messing up the price.
Since I can't get the indicator to work here without the function, you'll probably have to do this for yourself.
The following user says Thank You to Jura for this post: