| SID Name | Description | Rating |  | 798 Stream | A chart that plots lots of EMA's based upon the close price. The effect produces a "stream" of colors. Although not useful for backtesting, the chart is good when used as a visual reference for spotting trend changes. | Rating: 1 |
 | The logic for this chart: |
#A chart that plots lots of EMA's based upon the close price. The effect produces a "stream" of
#colors. Although not useful for backtesting, the chart is good when used as a visual reference
#for spotting trend changes.
#Remove the key from the chart
SetChartOption('key',0);
#Set the scale so all EMA's are plotted
PlotSetScale(EMA(Close,5),EMA(Close,45));
#Loop round all the EMA's.
foreach my $count (5..25) {
PlotColumn(EMA(Close,$count),Color(255,$count*10,16));
}
foreach my $count (26..45) {
PlotColumn(EMA(Close,$count),Color(16,$count*5,255));
}
|