I would like to plot "UP" if condition1 is true, and "DN" if condition2 is true in a single column within the scanner window. This code plots the background colors, but I can't figure out the syntax for the plot1 function. I have tried placing the plot1 function in various positions, but can only get it to plot whatever text meets condition2.
Any assistance would be appreciated.
Code: Select all
Condition1 = BR_TrendUP = 1;
Condition2 = BR_TrendDOWN = 1;
Plot1("","",black);
If Condition1 then
SetPlotBGColor( 1, yellow);
SetPlotColor(1, black);
If Condition2 then
SetPlotBGColor( 1, cyan) ;
SetPlotColor(1, black);