murthymsr had suggested that we initiate a discussion of Paintbars as used in QuoteTracker. So, here goes...
Paintbars are used to embellish graphs based on user specified conditions. Uses include coloring the candles, drawing buy/sell arrows, marking candles with symbols, drawing colored bands / backgrounds or triggering alerts. The user condition could be price and/or indicator values.
A paintbar consists of one or more rules. Each rule is written as an if <condition> <action 1> else <action 2> statement. This is simple enough to pickup from QT's help file and one or two examples. A graph could have one or more paintbars both in the top price pane or bottom panes.
QT has a editor (Charts->Paintbar Editor) to help create and manage them. Paintbars are saved in paintbar.xml in QT's installation directory. So probably the easiest method of exchange is to post the portion of the XML from that file using Export/Import in the editor or cut-paste.
A word of caution: too much should not not be expected from paintbars. They have nothing near the power of, say, Amibroker's afl language . Some basic things missing, such as use of variables, may make writing the rule conditions appear awkward. The absence of a way to write comments prevents them from being self-documented. The idea is to make the best of what is available.
Paintbars are used to embellish graphs based on user specified conditions. Uses include coloring the candles, drawing buy/sell arrows, marking candles with symbols, drawing colored bands / backgrounds or triggering alerts. The user condition could be price and/or indicator values.
A paintbar consists of one or more rules. Each rule is written as an if <condition> <action 1> else <action 2> statement. This is simple enough to pickup from QT's help file and one or two examples. A graph could have one or more paintbars both in the top price pane or bottom panes.
QT has a editor (Charts->Paintbar Editor) to help create and manage them. Paintbars are saved in paintbar.xml in QT's installation directory. So probably the easiest method of exchange is to post the portion of the XML from that file using Export/Import in the editor or cut-paste.
A word of caution: too much should not not be expected from paintbars. They have nothing near the power of, say, Amibroker's afl language . Some basic things missing, such as use of variables, may make writing the rule conditions appear awkward. The absence of a way to write comments prevents them from being self-documented. The idea is to make the best of what is available.