Hi All,
At the end of the day, I print out the days chart and file it away. I was manually writing the day of the week on the chart, to later see if there was correlation in the DOW price action.
So to make life easier I thought I might as well print this on the chart automatically as each day starts. So on the first tick of the day, it prints the DOW to the left of the first bar.
The drawing of the DOW is actually in two parts.
1. Is the calculation of the DOW and placement into a string.
2. The actual printing of the string using a function.called "printtext"
The PrintText function has input parameters for the Day,time,position,text,size,color AND printing of the text in either a horizontal or vertical format.
The printtext function could be used for a multiple of things ie vertical printing text directly above a bar ie "Inside Bar" or whatever.
Neil.
Category MultiCharts
|
|
|