this video explains how to use it.
http://www.tradethemarkets.com/products/item9.cfm
coding set-up is followed.
1, in QT menu, charts --> Chart Paintbar Editor;
2, Add New rule " TTM trend", apply the following 3 rules, then save it.
if (Bar High+Bar Low)/2<(((Bar High[1]+Bar Low[1])/2) + ((Bar High[2]+Bar Low[2])/2) + ((Bar High[3]+Bar Low[3])/2) + ((Bar High[4]+Bar Low[4])/2) + ((Bar High[5]+Bar Low[5])/2) + ((Bar High[6]+Bar Low[6])/2))/6 set color to Red
if (Bar High+Bar Low)/2>(((Bar High[1]+Bar Low[1])/2) + ((Bar High[2]+Bar Low[2])/2) + ((Bar High[3]+Bar Low[3])/2) + ((Bar High[4]+Bar Low[4])/2) + ((Bar High[5]+Bar Low[5])/2) + ((Bar High[6]+Bar Low[6])/2))/6 set color to Blue
if (Bar High+Bar Low)/2=(((Bar High[1]+Bar Low[1])/2) + ((Bar High[2]+Bar Low[2])/2) + ((Bar High[3]+Bar Low[3])/2) + ((Bar High[4]+Bar Low[4])/2) + ((Bar High[5]+Bar Low[5])/2) + ((Bar High[6]+Bar Low[6])/2))/6 set color to Yellow
3, now go to any intraday chart. right click then select "Select Indicators", add the "Paintbar - Top" at upper left window, and then click on the "Edit" to the right of the indicator. select "TTM Trend","Show On" should default to "Candles", then "OK". Also, make sure that in the same menu of "Select Indicator", "Chart Type" is using OHLC. when finished, chart should look like this:
No comments:
Post a Comment