Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

OHLC Chart Painting Inconsistency in Stockfinder Realcode Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pkuchnicki
Posted : Monday, February 15, 2010 1:10:54 PM
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
Bruce_L
Posted : Monday, February 15, 2010 1:20:52 PM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.