Registered User Joined: 9/1/2009 Posts: 7
|
I have three panes open in my chart. The top pane is a symbol which I paint using RealCode (I know..but it's only a proof of concept for coding purposes) as follows:
PlotColor = Color.Yellow
If price.close > price.Open Then
plotcolor = color.green
Else
plotcolor = color.red
End If
I also track the S&P 500 in the bottom pane. However, the code above works in the 'OPPOSITE" manner in the bottom pane. It only paints correctly when I reverse the logic which is counter intuitive.
Peter
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I cannot reproduce this. You may wish to have technical support troubleshoot the issue. Please select Help | Send Layout so technical support can take a look. Please include a description of the issue you are experiencing when sending the Layout to technical support.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|