![]() ![]() By default, it is toggled on and shows the DC Trend of the SPY security. ![]() Code below: Update: As requested by another member, I've updated the code here for this indicator to include an option that allows you to see the DC Trend of a different security than the security loaded on the price chart. As I like to do with most of my indicators, I've included exponential smoothing which can be toggled on or off. More green and little to no red means uptrend, while more red and little to no green means downtrend. The difference between the lower channels is plotted as a positive number, as a green histogram while the difference between the upper channels is plotted as a negative number, as a red histogram. The lengths of the two Donchian Channels are adjustable. It plots the difference between the upper and lower channels of two Donchian Channels. This is a simple indicator I've created to help determine whether a trend is up or down.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |